Fix gRPC buck util not to pickup random .proto files

- should address issue reported in
  https://gerrit.onosproject.org/15958

Change-Id: Id02b950e3a732c89b1c9f71499a6a23b18ad7123
This commit is contained in:
Yuta HIGUCHI 2017-11-15 14:20:13 -08:00 committed by Ray Milkey
parent 8320088c69
commit b1aec663f9
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ def grpc_jar(
proto_paths = [],
srcs = [],
src_string = '', # Useful to build proto files external to the ONOS sources, using BUCK's environment variables.
proto_match_patterns = [ "**/proto/**/*.proto" ],
proto_match_patterns = [ "src/main/proto/**/*.proto" ],
protoc_version = DEFAULT_PROTOC_VERSION,
plugin_version = DEFAULT_GRPC_PLUGIN_VERSION,
include_std_lib = False,

View File

@ -52,4 +52,4 @@ grpc_jar(
project_config(
src_target = ':onos-protocols-p4runtime-proto'
)
)