Index: pylib/gyp/xcode_emulation.py |
diff --git a/pylib/gyp/xcode_emulation.py b/pylib/gyp/xcode_emulation.py |
index 47f9d520e10e0206be9cc7d32df2eedc61db57ea..c002b112c54ceef58bd4c5053930aa59bafd37d7 100644 |
--- a/pylib/gyp/xcode_emulation.py |
+++ b/pylib/gyp/xcode_emulation.py |
@@ -1479,6 +1479,8 @@ def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration, |
sdk_root = xcode_settings._SdkRoot(configuration) |
if not sdk_root: |
sdk_root = xcode_settings._XcodeSdkPath('') |
+ if sdk_root is None: |
+ sdk_root = '' |
env['SDKROOT'] = sdk_root |
Nico
2015/06/29 16:25:19
Is it useful to set SDKROOT to an empty string? Sh
sdefresne
2015/06/29 16:48:59
IIUC this CL is to get Xcode emulation working whe
|
if not additional_settings: |