• Paul Yang's avatar
    Aggregate Metadata Files (#7155) (#7194) · 537c5aa9
    Paul Yang authored
    Instead of calling initOnce of dependencies, initialize metadata of dependencies in the same file.
    
    Needs to pass aggregate_metadata option to protoc to trigger, e.g.:
    --php_out=aggregate_metadata=foo#bar:generated_dir
    For each input file, transitive dependencies (including itself), whose package name has the prefix of foo or bar, will be aggregated, in which their metadata string will be aggregated in the same internalAddGeneratedFile call. For other dependencies, initOnce is called as before.
    
    This feature is EXPERIMENTAL. DO NOT USE!!!
    537c5aa9
Name
Last commit
Last update
..
google/protobuf Loading commit data...
solaris Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
libprotobuf-lite.map Loading commit data...
libprotobuf.map Loading commit data...
libprotoc.map Loading commit data...