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