Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame^] | 1 | GRPC_VER = '1.3.1' |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 2 | |
| 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
| 5 | ':onos-incubator-protobuf-models-proto', |
| 6 | '//lib:protobuf-java-3.2.0', |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 7 | '//lib:GRPC_1.3', |
Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame^] | 8 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 9 | ] |
| 10 | |
| 11 | GRPC_DEPS = [ |
| 12 | '//lib:GRPC_1.3', |
| 13 | '//lib:protobuf-java-3.2.0', |
shivani vaidya | 9632b5f | 2017-06-27 11:00:04 -0700 | [diff] [blame] | 14 | '//lib:guava', |
Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame^] | 15 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 16 | ] |
| 17 | |
| 18 | BUNDLES = [ |
| 19 | ':onos-incubator-protobuf-models', |
| 20 | ':onos-incubator-protobuf-models-proto', |
| 21 | '//lib:protobuf-java-3.2.0', |
| 22 | ] |
| 23 | |
| 24 | grpc_jar( |
| 25 | name = 'onos-incubator-protobuf-models-proto', |
| 26 | deps = GRPC_DEPS, |
Yuta HIGUCHI | a246224 | 2017-06-29 15:13:47 -0700 | [diff] [blame] | 27 | # FIXME should not be manually building absolute path. |
| 28 | # Come up with glob(..) equivalent in BUCK which can handle directory. |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 29 | proto_paths = ["$ONOS_ROOT/incubator/protobuf/models/src/main/proto"] |
| 30 | ) |
| 31 | |
| 32 | osgi_jar_with_tests( |
| 33 | deps = COMPILE_DEPS, |
| 34 | visibility = ['PUBLIC'], |
| 35 | ) |