Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 2c88a973f9c738f42eb32e54e074e5c1ef13b822..0138bcf90acb001e18317369b605eff6b4855dc9 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -162,10 +162,10 @@ |
}, |
}, |
}], |
- [ 'skia_arch_width == 64', { |
+ [ 'skia_arch_type == "x86_64"', { |
'msvs_configuration_platform': 'x64', |
}], |
- [ 'skia_arch_width == 32', { |
+ [ 'skia_arch_type == "x86"', { |
'msvs_configuration_platform': 'Win32', |
}], |
[ 'skia_warnings_as_errors', { |
@@ -295,7 +295,7 @@ |
}], |
], |
}], |
- [ 'skia_arch_type == "mips"', { |
+ [ '"mips" in skia_arch_type', { |
'cflags': [ |
'-EL', |
], |
@@ -504,8 +504,8 @@ |
'conditions': [ |
[ 'skia_fast', { 'WARNING_CFLAGS': [ '<@(skia_fast_flags)' ] } ], |
[ 'skia_warnings_as_errors', { 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES' }], |
- [ 'skia_arch_width == 32', { 'ARCHS': ['i386'] }], |
- [ 'skia_arch_width == 64', { 'ARCHS': ['x86_64'] }], |
+ [ 'skia_arch_type == "x86"', { 'ARCHS': ['i386'] }], |
+ [ 'skia_arch_type == "x86_64"', { 'ARCHS': ['x86_64'] }], |
[ 'skia_osx_deployment_target==""', { |
'MACOSX_DEPLOYMENT_TARGET': '10.6', # -mmacos-version-min, passed in env to ld. |
}, { |