summaryrefslogtreecommitdiff
path: root/tools/amalgamate.py
AgeCommit message (Collapse)Author
2019-04-24Fixed amalgamation and CMake build.Joshua Haberman
2019-03-27Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160)Joshua Haberman
* Use port_def.inc to prevent macros from leaking to users. * Added helpful comments to port_def.inc/port_undef.inc.
2019-03-25Remove _XOPEN_SOURCE from amalgamate.pyBo Yang
2019-03-05Merge branch 'master' into defcleanupJoshua Haberman
2019-03-05Add _XOPEN_SOURCE to amalgamate.pyBo Yang
2019-02-17Fixed amalgamation to properly include stdint.h first for UPB_SIZE().Josh Haberman
2019-01-27Ported BUILD file fixes for google3 to arrayapi branch.Josh Haberman
2019-01-23Fixes for Google import.Joshua Haberman
2019-01-15Build & fix the JIT.Joshua Haberman
2018-09-09Fixed port_def/undef so that the amalgamation is self-contained.Josh Haberman
2018-09-06Fixed amalgamation.Joshua Haberman
2018-03-07Added google/protobuf/descriptor.upb.* to core.Josh Haberman
This is in preparation for making upb_def capable of parsing binary descriptors directly. We leave upb/descriptor/descriptor.upbdefs.* in place for now, because upb/descriptor/reader.* still depends on it. Also removed a bit of cruft from the codegen.
2014-12-12Amalgamated distribution (upb.c/upb.h) tool.Chris Fallin
There are a number of tweaks to get this to work: - The #include dependence graph wasn't quite complete, and I had to add a few #includes to get the tool to work. - I had to change a number of symbol names to avoid conflicts between 'static' definitions in different .c files. This could be avoided if the tool were smart enough to rename static symbols to have unique prefixes instead, but (i) this requires semantic understanding of C, and (ii) the macro-defined static functions (e.g., handlers for primitive types in several places) would probably trip this up. Verified that the resulting upb.h/upb.c compiles and doesn't have any unresolved references.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback