• 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
GPBProtocolBuffers.h 3.08 KB