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

Unified Diff: chrome/common_constants.gyp

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths Created 8 years, 1 month 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 | « chrome/common/chrome_version_info_mac.mm ('k') | chrome/test/base/chrome_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
« no previous file with comments | « chrome/common/chrome_version_info_mac.mm ('k') | chrome/test/base/chrome_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698