Index: gyp/tools.gyp |
diff --git a/gyp/tools.gyp b/gyp/tools.gyp |
index 5f4830b46da21842d1b7b2161f17160bebd55ba2..17068fe28c147beca7c16076fa10e26377bc841b 100644 |
--- a/gyp/tools.gyp |
+++ b/gyp/tools.gyp |
@@ -163,6 +163,16 @@ |
'dependencies': [ |
'skia_lib.gyp:skia_lib', |
], |
+ 'xcode_settings': { |
+ 'conditions': [ |
+ [ 'skia_osx_deployment_target==""', { |
+ 'MACOSX_DEPLOYMENT_TARGET': '10.7', # -mmacos-version-min, passed in env to ld. |
+ }, { |
+ 'MACOSX_DEPLOYMENT_TARGET': '<(skia_osx_deployment_target)', |
+ }], |
+ ], |
+ 'CLANG_CXX_LIBRARY': 'libc++', |
+ }, |
}, |
{ |
'target_name': 'skpdiff', |