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