blob: 1ce40c2fd645ef573d436ba413cc33ef534496d4 [file] [log] [blame]
Aaron Kruglikov9f95f992017-06-23 14:15:25 +09001
2COMPILE_DEPS = [
3 '//lib:CORE_DEPS',
4 ':onos-incubator-protobuf-services-nb-proto',
5 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
6 '//incubator/protobuf/models:onos-incubator-protobuf-models',
7 '//lib:protobuf-java-3.2.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -07008 '//lib:GRPC_1.3',
9 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
Aaron Kruglikovae7e3b82017-05-03 14:13:53 -070010 '//lib:grpc-protobuf-lite-1.3.0',
11 '//incubator/protobuf/api:onos-grpc-api'
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090012]
13
14GRPC_DEPS = [
15 '//lib:GRPC_1.3',
shivani vaidya9632b5f2017-06-27 11:00:04 -070016 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090017 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
18 '//lib:protobuf-java-3.2.0',
Aaron Kruglikovae7e3b82017-05-03 14:13:53 -070019 '//lib:guava',
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090020]
21
22BUNDLES = [
23 '//incubator/protobuf/models:onos-incubator-protobuf-models',
24 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
25 ':onos-incubator-protobuf-services-nb',
26 ':onos-incubator-protobuf-services-nb-proto',
27 '//lib:protobuf-java-3.2.0',
28 '//lib:guava',
29 '//lib:grpc-core-1.3.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -070030 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090031 '//lib:grpc-protobuf-1.3.0',
32 '//lib:grpc-stub-1.3.0',
33 '//lib:grpc-netty-1.3.0',
34 '//lib:grpc-auth-1.3.0',
35 '//lib:grpc-context-1.3.0',
36 '//lib:google-truth-0.28',
37 '//core/api:onos-api',
38 '//lib:netty-transport',
39 '//lib:netty-buffer',
40 '//lib:netty-resolver',
41 '//lib:netty-common',
42 '//lib:netty-codec',
43 '//lib:netty-handler',
44 '//lib:netty-codec-http2',
45 '//lib:netty-codec-http',
46 "//lib:google-instrumentation-0.3.0",
47]
48
49grpc_jar(
50 name = 'onos-incubator-protobuf-services-nb-proto',
51 deps = GRPC_DEPS,
52 proto_paths = ["$ONOS_ROOT/incubator/protobuf/services/nb/src/main/proto",
53 "$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
54)
55
56osgi_jar_with_tests(
57 deps = COMPILE_DEPS,
58 visibility = ['PUBLIC'],
59)