diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-07-04 17:02:48 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2017-07-04 17:02:48 -0700 |
commit | 9cb10577fcefa3ed004e0bbdc61e6238e8137e3c (patch) | |
tree | e270ff7b0f782dadf2942f6816b071aa2a134e21 /Makefile | |
parent | 76fcdd2ee92e8f7852f96ccd49fe776236ae4e60 (diff) |
First version of a real C codegen for upb.
Also includes an implementation of the conformance tests
to display what the API usage will be like.
There is still a lot to do, and things that are broken (oneofs,
repeated fields, etc), but it's a good start.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -262,11 +262,11 @@ genfiles: tools/upbc $(E) PROTOC upb/descriptor/descriptor.proto $(Q) protoc upb/descriptor/descriptor.proto -oupb/descriptor/descriptor.pb $(E) UPBC upb/descriptor/descriptor.pb - $(Q) ./tools/upbc upb/descriptor/descriptor.pb + $(Q) ./tools/upbc --generate-upbdefs upb/descriptor/descriptor.pb $(E) PROTOC tests/json/test.proto $(Q) protoc tests/json/test.proto -otests/json/test.proto.pb $(E) UPBC tests/json/test.proto.pb - $(Q) ./tools/upbc tests/json/test.proto.pb + $(Q) ./tools/upbc --generate-upbdefs tests/json/test.proto.pb $(E) DYNASM upb/pb/compile_decoder_x64.dasc $(Q) $(LUA) third_party/dynasm/dynasm.lua -c upb/pb/compile_decoder_x64.dasc > upb/pb/compile_decoder_x64.h || (rm upb/pb/compile_decoder_x64.h ; false) |