Index: chrome/common_constants.gyp |
diff --git a/chrome/common_constants.gyp b/chrome/common_constants.gyp |
index e5f6d619a413615f1f1e73636568a7781e4a9452..4e3915818ad2afcd834e1cc9d5e188c70374a0d9 100644 |
--- a/chrome/common_constants.gyp |
+++ b/chrome/common_constants.gyp |
@@ -65,6 +65,15 @@ |
'../base/base.gyp:base', |
'../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
], |
+ 'target_conditions': [ |
+ ['OS=="ios"', { |
+ # iOS needs chrome_paths_mac, which is excluded by filename rules; |
+ # re-add it in target_conditionals so it's after that exclusion. |
+ 'sources/': [ |
+ ['include', '^common/chrome_paths_mac\\.mm$'], |
+ ], |
+ }], |
+ ], |
'conditions': [ |
['toolkit_uses_gtk == 1', { |
'dependencies': ['../build/linux/system.gyp:gtk'], |