Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame^] | 1 | GRPC_DEPS = [ |
| 2 | '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0', |
| 3 | '//lib:grpc-protobuf-1.3.0', |
| 4 | '//lib:grpc-protobuf-lite-1.3.0', |
| 5 | '//lib:grpc-stub-1.3.0', |
| 6 | '//lib:grpc-netty-1.3.0', |
| 7 | '//lib:grpc-auth-1.3.0', |
| 8 | '//lib:google-instrumentation-0.3.0', |
| 9 | '//lib:protobuf-java-3.0.2', |
| 10 | # Lazily adding all netty-related packages. |
| 11 | # Some of them might not be necessary. |
| 12 | '//lib:netty', |
| 13 | '//lib:netty-buffer', |
| 14 | '//lib:netty-codec', |
| 15 | '//lib:netty-codec-http', |
| 16 | '//lib:netty-codec-http2', |
| 17 | '//lib:netty-common', |
| 18 | '//lib:netty-handler', |
| 19 | '//lib:netty-transport', |
| 20 | '//lib:netty-transport-native-epoll', |
| 21 | '//lib:netty-resolver', |
| 22 | ] |
| 23 | |
| 24 | COMPILE_DEPS = [ |
| 25 | '//lib:CORE_DEPS', |
| 26 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 27 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
| 28 | '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto' |
| 29 | ] + GRPC_DEPS |
| 30 | |
| 31 | TEST_DEPS = [ |
| 32 | '//lib:TEST', |
| 33 | '//core/api:onos-api-tests', |
| 34 | ] |
| 35 | |
| 36 | BUNDLES = [ |
| 37 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 38 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
| 39 | '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto' |
| 40 | ] + GRPC_DEPS |
| 41 | |
| 42 | |
| 43 | osgi_jar_with_tests( |
| 44 | deps = COMPILE_DEPS, |
| 45 | test_deps = TEST_DEPS, |
| 46 | ) |