blob: cc62acb7e9c09fe2bf6e1ab64f0babbd6f748a79 [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,
Carmelo Cascone44448a52018-06-25 23:36:57 +020011 '//lib:grpc-netty-' + GRPC_VER,
Carmelo Casconedda88d02017-07-19 22:42:01 -040012 '//lib:protobuf-java-' + PROTOBUF_VER,
13]
Carmelo Casconef7aa3f92017-07-06 23:56:50 -040014
15TEST_DEPS = [
16 '//lib:TEST',
Yi Tseng82512da2017-08-16 19:46:36 -070017 '//lib:GRPC_TEST_1.3',
Ray Milkey446f4462017-08-17 15:36:01 -070018 '//lib:minimal-json',
Yi Tseng82512da2017-08-16 19:46:36 -070019 '//lib:grpc-protobuf-lite-' + GRPC_VER,
Carmelo Casconef7aa3f92017-07-06 23:56:50 -040020]
21
Carmelo Casconef7aa3f92017-07-06 23:56:50 -040022osgi_jar_with_tests(
23 deps = COMPILE_DEPS,
24 test_deps = TEST_DEPS,
Ray Milkey446f4462017-08-17 15:36:01 -070025)