},
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
- 'MACOSX_DEPLOYMENT_TARGET': '10.6', # -mmacos-version-min, passed in environment to ld.
+ 'conditions': [
+ [ 'skia_osx_deployment_target==""', {
+ 'MACOSX_DEPLOYMENT_TARGET': '10.6', # -mmacos-version-min, passed in environment to ld.
+ }, {
+ 'MACOSX_DEPLOYMENT_TARGET': '<(skia_osx_deployment_target)',
+ }],
+ ],
# trying to get this to work, but it needs clang I think...
# 'WARNING_CFLAGS': '-Wexit-time-destructors',
'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
'skia_chrome_utils%': 1,
'skia_directwrite%': 0,
'skia_gpu%': 1,
- 'skia_osx_sdkroot%': '',
+ 'skia_osx_deployment_target%': '',
'skia_profile_enabled%': 0,
'skia_win_debuggers_path%': '',
'skia_shared_lib%': 0,
'skia_directwrite%': '<(skia_directwrite)',
'skia_gpu%': '<(skia_gpu)',
'skia_win_exceptions%': 0,
- 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)',
+ 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)',
'skia_profile_enabled%': '<(skia_profile_enabled)',
'skia_shared_lib%': '<(skia_shared_lib)',
'skia_opencl%': '<(skia_opencl)',