blob: 81a9b25ac1699f2e8fa7eac3004475fb66835a79 [file] [log] [blame]
Aaron Kruglikov9f95f992017-06-23 14:15:25 +09001
2COMPILE_DEPS = [
3 '//lib:CORE_DEPS',
4 ':onos-incubator-protobuf-models-proto',
5 '//lib:protobuf-java-3.2.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -07006 '//lib:GRPC_1.3',
7 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0'
Aaron Kruglikov9f95f992017-06-23 14:15:25 +09008]
9
10GRPC_DEPS = [
11 '//lib:GRPC_1.3',
12 '//lib:protobuf-java-3.2.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -070013 '//lib:guava',
14 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0'
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090015]
16
17BUNDLES = [
18 ':onos-incubator-protobuf-models',
19 ':onos-incubator-protobuf-models-proto',
20 '//lib:protobuf-java-3.2.0',
21]
22
23grpc_jar(
24 name = 'onos-incubator-protobuf-models-proto',
25 deps = GRPC_DEPS,
Yuta HIGUCHIa2462242017-06-29 15:13:47 -070026 # FIXME should not be manually building absolute path.
27 # Come up with glob(..) equivalent in BUCK which can handle directory.
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090028 proto_paths = ["$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
29)
30
31osgi_jar_with_tests(
32 deps = COMPILE_DEPS,
33 visibility = ['PUBLIC'],
34)