blob: 4d9c7898ceae23e9d81394c1e2af1f572a40c859 [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',
8 '//lib:GRPC_1.3'
9]
10
11GRPC_DEPS = [
12 '//lib:GRPC_1.3',
13 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
14 '//lib:protobuf-java-3.2.0',
15 '//lib:guava'
16]
17
18BUNDLES = [
19 '//incubator/protobuf/models:onos-incubator-protobuf-models',
20 '//incubator/protobuf/models:onos-incubator-protobuf-models-proto',
21 ':onos-incubator-protobuf-services-nb',
22 ':onos-incubator-protobuf-services-nb-proto',
23 '//lib:protobuf-java-3.2.0',
24 '//lib:guava',
25 '//lib:grpc-core-1.3.0',
26 '//lib:grpc-protobuf-1.3.0',
27 '//lib:grpc-stub-1.3.0',
28 '//lib:grpc-netty-1.3.0',
29 '//lib:grpc-auth-1.3.0',
30 '//lib:grpc-context-1.3.0',
31 '//lib:google-truth-0.28',
32 '//core/api:onos-api',
33 '//lib:netty-transport',
34 '//lib:netty-buffer',
35 '//lib:netty-resolver',
36 '//lib:netty-common',
37 '//lib:netty-codec',
38 '//lib:netty-handler',
39 '//lib:netty-codec-http2',
40 '//lib:netty-codec-http',
41 "//lib:google-instrumentation-0.3.0",
42]
43
44grpc_jar(
45 name = 'onos-incubator-protobuf-services-nb-proto',
46 deps = GRPC_DEPS,
47 proto_paths = ["$ONOS_ROOT/incubator/protobuf/services/nb/src/main/proto",
48 "$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
49)
50
51osgi_jar_with_tests(
52 deps = COMPILE_DEPS,
53 visibility = ['PUBLIC'],
54)