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', |
Carmelo Cascone | e5b2872 | 2018-06-22 17:28:28 +0200 | [diff] [blame^] | 6 | '//lib:KRYO', |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 7 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 8 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 9 | '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto', |
| 10 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 11 | '//lib:grpc-stub-' + GRPC_VER, |
Carmelo Cascone | 44448a5 | 2018-06-25 23:36:57 +0200 | [diff] [blame] | 12 | '//lib:grpc-netty-' + GRPC_VER, |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 13 | '//lib:protobuf-java-' + PROTOBUF_VER, |
Carmelo Cascone | e5b2872 | 2018-06-22 17:28:28 +0200 | [diff] [blame^] | 14 | '//core/store/serializers:onos-core-serializers', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 15 | ] |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 16 | |
| 17 | TEST_DEPS = [ |
| 18 | '//lib:TEST', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 19 | '//lib:GRPC_TEST_1.3', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 20 | '//lib:minimal-json', |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 21 | '//lib:grpc-protobuf-lite-' + GRPC_VER, |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 22 | ] |
| 23 | |
Carmelo Cascone | f7aa3f9 | 2017-07-06 23:56:50 -0400 | [diff] [blame] | 24 | osgi_jar_with_tests( |
| 25 | deps = COMPILE_DEPS, |
| 26 | test_deps = TEST_DEPS, |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 27 | ) |