• Thomas Van Lenten's avatar
    Better support for using the proto library from a framework. · 7da023b8
    Thomas Van Lenten authored
    - Add generator constant for the default framework name.
    - Add generator api for making the CPP symbol from the name.
    - Add generator api to see if it is a bundled proto file.
    - Output a CPP conditional and two imports for the core library headers.
    - Add helper for generating the #import for file headers to deal with the
      framework imports.
    - Add a reference from the unittests to a WKT to use that to inspect how
      imports generate.
    - Update the podspec to define the CPP symbol and require pods 1.0 (or later).
    
    Fixes https://github.com/google/protobuf/issues/1457
    7da023b8
Name
Last commit
Last update
..
cpp Loading commit data...
csharp Loading commit data...
java Loading commit data...
javanano Loading commit data...
js Loading commit data...
objectivec Loading commit data...
python Loading commit data...
ruby Loading commit data...
code_generator.cc Loading commit data...
code_generator.h Loading commit data...
command_line_interface.cc Loading commit data...
command_line_interface.h Loading commit data...
command_line_interface_unittest.cc Loading commit data...
importer.cc Loading commit data...
importer.h Loading commit data...
importer_unittest.cc Loading commit data...
main.cc Loading commit data...
mock_code_generator.cc Loading commit data...
mock_code_generator.h Loading commit data...
package_info.h Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
parser_unittest.cc Loading commit data...
plugin.cc Loading commit data...
plugin.h Loading commit data...
plugin.pb.cc Loading commit data...
plugin.pb.h Loading commit data...
plugin.proto Loading commit data...
subprocess.cc Loading commit data...
subprocess.h Loading commit data...
test_plugin.cc Loading commit data...
zip_output_unittest.sh Loading commit data...
zip_writer.cc Loading commit data...
zip_writer.h Loading commit data...