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'], |
}], |