aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar vishalpowar <vishalpowar@google.com>2018-12-11 16:43:08 -0800
committerGravatar GitHub <noreply@github.com>2018-12-11 16:43:08 -0800
commit311ee1eda13a340f1f33638920965f9f753b9d26 (patch)
treed7fe5960bf8ea6fa698bb25f08a54901d3b75a03 /BUILD
parente829a8111801f5d9269d346c7188e3bd2e0a52a7 (diff)
parent62027b7e14624283f758a7785a0a1347eda0a147 (diff)
Merge pull request #17364 from vishalpowar/generate_build
Changes add a script for generating C code and build rule for protobuf
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 5550e583a8..034e47d1a9 100644
--- a/BUILD
+++ b/BUILD
@@ -2274,4 +2274,29 @@ grpc_cc_library(
],
)
+# TODO: Get this into build.yaml once we start using it.
+grpc_cc_library(
+ name = "google_protobuf",
+ srcs = [
+ "src/core/ext/upb-generated/google/protobuf/any.upb.c",
+ "src/core/ext/upb-generated/google/protobuf/descriptor.upb.c",
+ "src/core/ext/upb-generated/google/protobuf/duration.upb.c",
+ "src/core/ext/upb-generated/google/protobuf/struct.upb.c",
+ "src/core/ext/upb-generated/google/protobuf/timestamp.upb.c",
+ "src/core/ext/upb-generated/google/protobuf/wrappers.upb.c",
+ ],
+ hdrs = [
+ "src/core/ext/upb-generated/google/protobuf/any.upb.h",
+ "src/core/ext/upb-generated/google/protobuf/descriptor.upb.h",
+ "src/core/ext/upb-generated/google/protobuf/duration.upb.h",
+ "src/core/ext/upb-generated/google/protobuf/struct.upb.h",
+ "src/core/ext/upb-generated/google/protobuf/timestamp.upb.h",
+ "src/core/ext/upb-generated/google/protobuf/wrappers.upb.h",
+ ],
+ language = "c++",
+ external_deps = [
+ "upb_lib",
+ ],
+)
+
grpc_generate_one_off_targets()