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

Unified Diff: build/common.gypi

Issue 11026024: Add grit_whitelist for iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review: Fix nits. Created 8 years, 2 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 | build/ios/PRESUBMIT.py » ('j') | 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 a6ba88088eb46ac456e34f5f21dd31980aad32b4..f1d4d175c2847b8d42356b66cd5cdb8e231fb9bc 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1240,6 +1240,14 @@
['OS=="mac"', {
'grit_defines': ['-D', 'scale_factors=2x'],
}],
+ ['OS == "ios"', {
+ 'grit_defines': [
+ # define for iOS specific resources.
+ '-D', 'ios',
+ # iOS uses a whitelist to filter resources.
+ '-w', '<(DEPTH)/build/ios/grit_whitelist.txt'
+ ],
+ }],
['enable_extensions==1', {
'grit_defines': ['-D', 'enable_extensions'],
}],
« no previous file with comments | « no previous file | build/ios/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698