diff options
author | Vishal Powar <vishalpowar@google.com> | 2018-11-30 14:27:52 -0800 |
---|---|---|
committer | Vishal Powar <vishalpowar@google.com> | 2018-12-11 14:59:02 -0800 |
commit | 62027b7e14624283f758a7785a0a1347eda0a147 (patch) | |
tree | 76db8a6a8a5d3a86353a268f5eb3305e1f4c0523 /grpc.gyp | |
parent | 9bd5b3778abbb2564544a69d9c99d3c87a3354eb (diff) |
Changes add a script for generating C code and build rule for protobuf
protos
All these changes need to go together to make sense
- changes to use new version of upb in bazel
- allowing includes in build target option
- script for generating c code for protos
- generated code for example build
- adding changes for non-bazel builds
- change sanity tests to ignore the generated files.
Diffstat (limited to 'grpc.gyp')
-rw-r--r-- | grpc.gyp | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -2639,6 +2639,25 @@ ], }, { + 'target_name': 'upb', + 'type': 'static_library', + 'dependencies': [ + ], + 'sources': [ + 'third_party/upb/google/protobuf/descriptor.upb.c', + 'third_party/upb/upb/decode.c', + 'third_party/upb/upb/def.c', + 'third_party/upb/upb/encode.c', + 'third_party/upb/upb/handlers.c', + 'third_party/upb/upb/msg.c', + 'third_party/upb/upb/msgfactory.c', + 'third_party/upb/upb/refcounted.c', + 'third_party/upb/upb/sink.c', + 'third_party/upb/upb/table.c', + 'third_party/upb/upb/upb.c', + ], + }, + { 'target_name': 'z', 'type': 'static_library', 'dependencies': [ |