Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 44ff1d250a8c18ef54fcd970439544c0f3a64ab0..33c26af2112d4dc6b6a6579637f2fb10578b495f 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -188,7 +188,7 @@ |
], |
}, |
}], |
- ['OS == "mac"', { |
+ ['OS == "mac" or (OS == "ios" and _toolset == "host")', { |
'link_settings': { |
'libraries': [ |
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
@@ -204,7 +204,7 @@ |
'../third_party/mach_override/mach_override.gyp:mach_override', |
], |
}], |
- ['OS == "ios"', { |
+ ['OS == "ios" and _toolset != "host"', { |
'link_settings': { |
'libraries': [ |
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
@@ -673,7 +673,7 @@ |
'debug/stack_trace_unittest.cc', |
], |
}], |
- ['OS == "ios"', { |
+ ['OS == "ios" and _toolset != "host"', { |
'sources/': [ |
# Only test the iOS-meaningful portion of process_utils. |
['exclude', '^process_util_unittest'], |
@@ -787,7 +787,7 @@ |
}], |
], # conditions |
'target_conditions': [ |
- ['OS == "ios"', { |
+ ['OS == "ios" and _toolset != "host"', { |
'sources/': [ |
# Pull in specific Mac files for iOS (which have been filtered out |
# by file name rules). |