Yi Tseng | 0f0ad3f | 2018-10-31 15:34:30 -0700 | [diff] [blame] | 1 | load("//tools/build/bazel:osgi_java_library.bzl", "osgi_proto_jar") |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 2 | |
Yi Tseng | 0f0ad3f | 2018-10-31 15:34:30 -0700 | [diff] [blame] | 3 | PROTOS = [ |
| 4 | "@com_github_openconfig_gnmi//:gnmi_proto", |
| 5 | "@com_github_openconfig_gnmi//:gnmi_ext_proto", |
| 6 | ] |
| 7 | |
| 8 | osgi_proto_jar( |
| 9 | grpc_proto_lib = "@com_github_openconfig_gnmi//:gnmi_proto", |
| 10 | proto_libs = PROTOS, |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 11 | deps = [ |
Yi Tseng | 0f0ad3f | 2018-10-31 15:34:30 -0700 | [diff] [blame] | 12 | "@com_google_api_grpc_proto_google_common_protos//jar", |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 13 | ], |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 14 | ) |