Chromium Code Reviews| Index: build/toolchain.gypi |
| diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
| index badac265159210ae4e117b5a0b5383c2a5b49635..3ed8c6587fc44e3e5981eca0c917f8018ac22b0b 100644 |
| --- a/build/toolchain.gypi |
| +++ b/build/toolchain.gypi |
| @@ -268,6 +268,11 @@ |
| }], # _toolset=="target" |
| ], |
| }], # v8_target_arch=="arm" |
| + ['v8_target_arch=="a64"', { |
| + 'defines': [ |
| + 'V8_TARGET_ARCH_A64', |
| + ], |
| + }], |
| ['v8_target_arch=="ia32"', { |
| 'defines': [ |
| 'V8_TARGET_ARCH_IA32', |
| @@ -407,7 +412,8 @@ |
| }], |
| ], |
| }], |
| - ['(OS=="linux") and (v8_target_arch=="x64")', { |
| + ['(OS=="linux" or OS=="android") and \ |
| + (v8_target_arch=="x64" or v8_target_arch=="a64")', { |
| # Check whether the host compiler and target compiler support the |
| # '-m64' option and set it if so. |
| 'target_conditions': [ |
| @@ -513,7 +519,11 @@ |
| OS=="qnx"', { |
| 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| '-Wnon-virtual-dtor', '-Woverloaded-virtual', |
| - '<(wno_array_bounds)' ], |
| + '<(wno_array_bounds)', |
| + # Hide some GCC 4.8 warnings: |
|
ulan
2014/02/11 17:24:26
Remove before merge?
Rodolph Perfetta
2014/02/11 17:58:29
Yes remove.
On 2014/02/11 17:24:26, ulan wrote:
|
| + # TODO(jbramley): Only enable these on GCC 4.8. |
| + '-Wno-unused-local-typedefs', |
| + '-Wno-maybe-uninitialized' ], |
| 'conditions': [ |
| ['v8_optimized_debug==0', { |
| 'cflags!': [ |
| @@ -615,6 +625,10 @@ |
| '-fdata-sections', |
| '-ffunction-sections', |
| '<(wno_array_bounds)', |
| + # Hide some GCC 4.8 warnings: |
|
ulan
2014/02/11 17:24:26
Remove before merge?
Rodolph Perfetta
2014/02/11 17:58:29
Yes remove
On 2014/02/11 17:24:26, ulan wrote:
|
| + # TODO(jbramley): Only enable these on GCC 4.8. |
| + '-Wno-unused-local-typedefs', |
| + '-Wno-maybe-uninitialized', |
| ], |
| 'conditions': [ |
| [ 'gcc_version==44 and clang==0', { |