blob: 6f582e0dfa29a12b0e4e93fb63949e0c2f59b12b [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',
10 '//lib:grpc-protobuf-lite-1.3.0'
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090011]
12
13GRPC_DEPS = [
14 '//lib:GRPC_1.3',
shivani vaidya9632b5f2017-06-27 11:00:04 -070015 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090016 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
17 '//lib:protobuf-java-3.2.0',
18 '//lib:guava'
19]
20
21BUNDLES = [
22 '//incubator/protobuf/models:onos-incubator-protobuf-models',
23 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
24 ':onos-incubator-protobuf-services-nb',
25 ':onos-incubator-protobuf-services-nb-proto',
26 '//lib:protobuf-java-3.2.0',
27 '//lib:guava',
28 '//lib:grpc-core-1.3.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -070029 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090030 '//lib:grpc-protobuf-1.3.0',
31 '//lib:grpc-stub-1.3.0',
32 '//lib:grpc-netty-1.3.0',
33 '//lib:grpc-auth-1.3.0',
34 '//lib:grpc-context-1.3.0',
35 '//lib:google-truth-0.28',
36 '//core/api:onos-api',
37 '//lib:netty-transport',
38 '//lib:netty-buffer',
39 '//lib:netty-resolver',
40 '//lib:netty-common',
41 '//lib:netty-codec',
42 '//lib:netty-handler',
43 '//lib:netty-codec-http2',
44 '//lib:netty-codec-http',
45 "//lib:google-instrumentation-0.3.0",
46]
47
48grpc_jar(
49 name = 'onos-incubator-protobuf-services-nb-proto',
50 deps = GRPC_DEPS,
51 proto_paths = ["$ONOS_ROOT/incubator/protobuf/services/nb/src/main/proto",
52 "$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
53)
54
55osgi_jar_with_tests(
56 deps = COMPILE_DEPS,
57 visibility = ['PUBLIC'],
58)