diff options
author | Vijay Pai <vpai@google.com> | 2017-11-10 16:28:29 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2017-11-10 16:28:45 -0800 |
commit | 4cf5f3e41eeaee39c6396b19f36f9690ad606bd1 (patch) | |
tree | 39054f259b7f9e84506e44a514ffd302a434c1cc /bazel | |
parent | 9fbd6c1c635c48a183455c4332f292c0ef49d11a (diff) |
Restructure plugin builds to avoid building more than needed
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/grpc_build_system.bzl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl index 6cfed6b0e7..25d7607e0f 100644 --- a/bazel/grpc_build_system.bzl +++ b/bazel/grpc_build_system.bzl @@ -45,10 +45,10 @@ def grpc_cc_library(name, srcs = [], public_hdrs = [], hdrs = [], alwayslink = alwayslink, ) -def grpc_proto_plugin(name, srcs = [], deps = []): +def grpc_proto_plugin(name, srcs = [], hdrs = [], deps = []): native.cc_binary( name = name, - srcs = srcs, + srcs = srcs + hdrs, deps = deps, ) |