Index: tools/gyp/v8.gyp |
=================================================================== |
--- tools/gyp/v8.gyp (revision 4656) |
+++ tools/gyp/v8.gyp (working copy) |
@@ -39,21 +39,30 @@ |
'ENABLE_VMSTATE_TRACKING', |
], |
'conditions': [ |
- ['v8_target_arch=="arm"', { |
- 'defines': [ |
- 'V8_TARGET_ARCH_ARM', |
+ ['OS!="mac"', { |
+ # TODO(mark): The OS!="mac" conditional is temporary. It can be |
+ # removed once the Mac Chromium build stops setting target_arch to |
+ # ia32 and instead sets it to mac. Other checks in this file for |
+ # OS=="mac" can be removed at that time as well. This can be cleaned |
+ # up once http://crbug.com/44205 is fixed. |
+ 'conditions': [ |
+ ['v8_target_arch=="arm"', { |
+ 'defines': [ |
+ 'V8_TARGET_ARCH_ARM', |
+ ], |
+ }], |
+ ['v8_target_arch=="ia32"', { |
+ 'defines': [ |
+ 'V8_TARGET_ARCH_IA32', |
+ ], |
+ }], |
+ ['v8_target_arch=="x64"', { |
+ 'defines': [ |
+ 'V8_TARGET_ARCH_X64', |
+ ], |
+ }], |
], |
}], |
- ['v8_target_arch=="ia32"', { |
- 'defines': [ |
- 'V8_TARGET_ARCH_IA32', |
- ], |
- }], |
- ['v8_target_arch=="x64"', { |
- 'defines': [ |
- 'V8_TARGET_ARCH_X64', |
- ], |
- }], |
], |
'configurations': { |
'Debug': { |
@@ -477,7 +486,7 @@ |
}] |
] |
}], |
- ['v8_target_arch=="ia32"', { |
+ ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { |
'include_dirs+': [ |
'../../src/ia32', |
], |
@@ -513,7 +522,7 @@ |
'../../src/ia32/virtual-frame-ia32.h', |
], |
}], |
- ['v8_target_arch=="x64"', { |
+ ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { |
'include_dirs+': [ |
'../../src/x64', |
], |