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, |
| 11 | '//lib:protobuf-java-' + PROTOBUF_VER, |
| 12 | ] |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 13 | |
| 14 | TEST_DEPS = [ |
| 15 | '//lib:TEST', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 16 | '//lib:GRPC_TEST_1.3', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 17 | '//lib:minimal-json', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 18 | '//lib:grpc-protobuf-lite-' + GRPC_VER, |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 19 | ] |
| 20 | |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 21 | osgi_jar_with_tests( |
| 22 | deps = COMPILE_DEPS, |
| 23 | test_deps = TEST_DEPS, |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 24 | ) |