Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 1 | GRPC_VER = '1.3.1' |
Andrea Campanella | 8bcd586 | 2017-12-11 11:34:45 +0100 | [diff] [blame] | 2 | PROTOBUF_VER = '3.2.0' |
Carmelo Cascone | 04d0939 | 2017-07-19 08:49:08 -0400 | [diff] [blame] | 3 | |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 4 | COMPILE_DEPS = [ |
| 5 | '//lib:CORE_DEPS', |
| 6 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 7 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 8 | '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto', |
| 9 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 10 | '//lib:grpc-stub-' + GRPC_VER, |
Carmelo Cascone | 44448a5 | 2018-06-25 23:36:57 +0200 | [diff] [blame^] | 11 | '//lib:grpc-netty-' + GRPC_VER, |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 12 | '//lib:protobuf-java-' + PROTOBUF_VER, |
| 13 | ] |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 14 | |
| 15 | TEST_DEPS = [ |
| 16 | '//lib:TEST', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 17 | '//lib:GRPC_TEST_1.3', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 18 | '//lib:minimal-json', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 19 | '//lib:grpc-protobuf-lite-' + GRPC_VER, |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 20 | ] |
| 21 | |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 22 | osgi_jar_with_tests( |
| 23 | deps = COMPILE_DEPS, |
| 24 | test_deps = TEST_DEPS, |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 25 | ) |