blob: 90a026680b2141f013487c66f0bb2df7f968d33a [file] [log] [blame]
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08001GRPC_VER = '1.3.1'
Andrea Campanella8bcd5862017-12-11 11:34:45 +01002PROTOBUF_VER = '3.2.0'
Carmelo Cascone04d09392017-07-19 08:49:08 -04003
Carmelo Casconef7aa3f92017-07-06 23:56:50 -04004COMPILE_DEPS = [
5 '//lib:CORE_DEPS',
6 '//protocols/grpc/api:onos-protocols-grpc-api',
7 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
Carmelo Casconedda88d02017-07-19 22:42:01 -04008 '//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 Casconef7aa3f92017-07-06 23:56:50 -040013
14TEST_DEPS = [
15 '//lib:TEST',
Yi Tseng82512da2017-08-16 19:46:36 -070016 '//lib:GRPC_TEST_1.3',
Ray Milkey446f4462017-08-17 15:36:01 -070017 '//lib:minimal-json',
Yi Tseng82512da2017-08-16 19:46:36 -070018 '//lib:grpc-protobuf-lite-' + GRPC_VER,
Carmelo Casconef7aa3f92017-07-06 23:56:50 -040019]
20
Carmelo Casconef7aa3f92017-07-06 23:56:50 -040021osgi_jar_with_tests(
22 deps = COMPILE_DEPS,
23 test_deps = TEST_DEPS,
Ray Milkey446f4462017-08-17 15:36:01 -070024)