blob: 04f71b02c4b08287b4215271006fc1c150cd0fe7 [file] [log] [blame]
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08001GRPC_VER = '1.3.1'
Aaron Kruglikov9f95f992017-06-23 14:15:25 +09002
3COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
5 ':onos-incubator-protobuf-models-proto',
6 '//lib:protobuf-java-3.2.0',
shivani vaidya9632b5f2017-06-27 11:00:04 -07007 '//lib:GRPC_1.3',
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08008 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER
Aaron Kruglikov9f95f992017-06-23 14:15:25 +09009]
10
11GRPC_DEPS = [
12 '//lib:GRPC_1.3',
13 '//lib:protobuf-java-3.2.0',
Carmelo Cascone72893b72018-08-09 00:59:06 -070014 '//lib:com_google_guava_guava',
Carmelo Casconeb1936bd2017-12-12 14:42:27 -080015 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090016]
17
18BUNDLES = [
19 ':onos-incubator-protobuf-models',
20 ':onos-incubator-protobuf-models-proto',
21 '//lib:protobuf-java-3.2.0',
22]
23
24grpc_jar(
25 name = 'onos-incubator-protobuf-models-proto',
26 deps = GRPC_DEPS,
Yuta HIGUCHIa2462242017-06-29 15:13:47 -070027 # FIXME should not be manually building absolute path.
28 # Come up with glob(..) equivalent in BUCK which can handle directory.
Aaron Kruglikov9f95f992017-06-23 14:15:25 +090029 proto_paths = ["$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
30)
31
32osgi_jar_with_tests(
33 deps = COMPILE_DEPS,
34 visibility = ['PUBLIC'],
35)