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