Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3969)

Unified Diff: build/ios/mac_build.gypi

Issue 14577007: Gyp changes for ninja iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed bad line Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | build/landmines.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/ios/mac_build.gypi
diff --git a/build/ios/mac_build.gypi b/build/ios/mac_build.gypi
index dd5ad1d24948465fba6882cb08bce8ae47502c44..e0fdd4002aa62a30384d630437758e2bddcd2df2 100644
--- a/build/ios/mac_build.gypi
+++ b/build/ios/mac_build.gypi
@@ -39,6 +39,17 @@
# }
{
'variables': {
+ 'variables': {
+ 'conditions' : [
+ ['"<(GENERATOR)"=="ninja"', {
+ 'include_dir': '<(DEPTH)/out/<(CONFIGURATION_NAME)/gen',
+ }, {
+ 'include_dir': '<(DEPTH)/xcodebuild/DerivedSources/<(CONFIGURATION_NAME)',
+ }],
+ ],
+ },
+ 'include_dir%': '<(include_dir)',
+ },
Mark Mentovai 2013/05/02 13:19:22 This line doesn’t belong.
justincohen 2013/05/02 13:21:41 Done.
# Common ninja command line flags.
'ninja_cmd': [
# Bounce through clean_env to clean up the environment so things
@@ -67,6 +78,7 @@
'-Dios_mac_build=1',
# Pass through the Mac SDK version.
'-Dmac_sdk=<(mac_sdk)',
+ '-Dinclude_dir=<(include_dir)'
],
# Rerun gyp for each of the projects needed. This is what actually
« no previous file with comments | « build/common.gypi ('k') | build/landmines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698