Description[GN] Add support for generating Xcode projects.
tools/gn/xcode_object.{cc,h}
Implements a class hierarchy mimicking the structure of an Xcode
pbxproj file with methods to dump them as text file.
tools/gn/xcode_writer.{cc,h}
Implements generation of Xcode project structure from GN settings
and for dumping the output to pbxproj and xcworkspacedata files.
tools/gn/*
Add product_type field to create_bundle target. This is used when
generating the Xcode project file to use the correct product type
in Xcode.
Fix a minor DCHECK failure in create_bundle_target_generator.cc.
build/config/compiler/BUILD.gn
Remove -fdebug-prefix-map from the clang command-line as it does
not work with Xcode (and is unnecessary as the path given to the
compiler are relative already).
With this flag, Xcode cannot find the source file when debbugging
the application, without it breakpoint and displaying code work.
BUG=597975
Committed: https://crrev.com/6ee04b5ce48981fd997b94c58240602df1a329d6
Cr-Commit-Position: refs/heads/master@{#391377}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Remove dependency on //tools/gn(${host_toolchain}) on iOS #Patch Set 3 : Remove dependency on //tools/gn(${host_toolchain}) on iOS #Patch Set 4 : Add documentation for new flags to "gn gen" #
Total comments: 17
Patch Set 5 : Address first round of comments #Patch Set 6 : Fix compilation under Windows #Patch Set 7 : Remove duplicates in sources.xcodeproj #
Total comments: 2
Patch Set 8 : Improve comment about "assert(product_type != "")" #
Dependent Patchsets: Messages
Total messages: 22 (12 generated)
|