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

Unified Diff: build/common.gypi

Issue 14740022: Enable clang and host_os when generating ninja-ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set host_os too Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index cf259c31818fd593dc1bd2f313690a3916e71927..32a6ef3d498a1b7b5e2c33f216b4c5c505e69a37 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1510,6 +1510,14 @@
# iOS uses a whitelist to filter resources.
'-w', '<(DEPTH)/build/ios/grit_whitelist.txt'
],
+
+ # Enable clang and host builds when generating with ninja-ios.
+ 'conditions': [
+ ['"<(GENERATOR)"=="ninja"', {
+ 'clang%': 1,
+ 'host_os%': "mac",
+ }]
+ ],
}],
['enable_extensions==1', {
'grit_defines': ['-D', 'enable_extensions'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698