Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 1 | |
| 2 | COMPILE_DEPS = [ |
| 3 | '//lib:CORE_DEPS', |
| 4 | ':onos-incubator-protobuf-services-nb-proto', |
| 5 | '//incubator/protobuf/models:onos-incubator-protobuf-models-proto', |
| 6 | '//incubator/protobuf/models:onos-incubator-protobuf-models', |
| 7 | '//lib:protobuf-java-3.2.0', |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 8 | '//lib:GRPC_1.3', |
| 9 | '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0', |
| 10 | '//lib:grpc-protobuf-lite-1.3.0' |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | GRPC_DEPS = [ |
| 14 | '//lib:GRPC_1.3', |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 15 | '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0', |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 16 | '//incubator/protobuf/models:onos-incubator-protobuf-models-proto', |
| 17 | '//lib:protobuf-java-3.2.0', |
| 18 | '//lib:guava' |
| 19 | ] |
| 20 | |
| 21 | BUNDLES = [ |
| 22 | '//incubator/protobuf/models:onos-incubator-protobuf-models', |
| 23 | '//incubator/protobuf/models:onos-incubator-protobuf-models-proto', |
| 24 | ':onos-incubator-protobuf-services-nb', |
| 25 | ':onos-incubator-protobuf-services-nb-proto', |
| 26 | '//lib:protobuf-java-3.2.0', |
| 27 | '//lib:guava', |
| 28 | '//lib:grpc-core-1.3.0', |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 29 | '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0', |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 30 | '//lib:grpc-protobuf-1.3.0', |
| 31 | '//lib:grpc-stub-1.3.0', |
| 32 | '//lib:grpc-netty-1.3.0', |
| 33 | '//lib:grpc-auth-1.3.0', |
| 34 | '//lib:grpc-context-1.3.0', |
| 35 | '//lib:google-truth-0.28', |
| 36 | '//core/api:onos-api', |
| 37 | '//lib:netty-transport', |
| 38 | '//lib:netty-buffer', |
| 39 | '//lib:netty-resolver', |
| 40 | '//lib:netty-common', |
| 41 | '//lib:netty-codec', |
| 42 | '//lib:netty-handler', |
| 43 | '//lib:netty-codec-http2', |
| 44 | '//lib:netty-codec-http', |
| 45 | "//lib:google-instrumentation-0.3.0", |
| 46 | ] |
| 47 | |
| 48 | grpc_jar( |
| 49 | name = 'onos-incubator-protobuf-services-nb-proto', |
| 50 | deps = GRPC_DEPS, |
| 51 | proto_paths = ["$ONOS_ROOT/incubator/protobuf/services/nb/src/main/proto", |
| 52 | "$ONOS_ROOT/incubator/protobuf/models/src/main/proto"] |
| 53 | ) |
| 54 | |
| 55 | osgi_jar_with_tests( |
| 56 | deps = COMPILE_DEPS, |
| 57 | visibility = ['PUBLIC'], |
| 58 | ) |