OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 ] | 254 ] |
255 } else { | 255 } else { |
256 defines += [ "__mips_soft_float=1" ] | 256 defines += [ "__mips_soft_float=1" ] |
257 } | 257 } |
258 if (mips_arch_variant == "r6") { | 258 if (mips_arch_variant == "r6") { |
259 defines += [ "_MIPS_ARCH_MIPS64R6" ] | 259 defines += [ "_MIPS_ARCH_MIPS64R6" ] |
260 } else if (mips_arch_variant == "r2") { | 260 } else if (mips_arch_variant == "r2") { |
261 defines += [ "_MIPS_ARCH_MIPS64R2" ] | 261 defines += [ "_MIPS_ARCH_MIPS64R2" ] |
262 } | 262 } |
263 } | 263 } |
264 if (v8_target_arch == "s390") { | 264 if (v8_target_arch == "s390" || v8_target_arch == "s390x") { |
265 defines += [ "V8_TARGET_ARCH_S390" ] | 265 defines += [ "V8_TARGET_ARCH_S390" ] |
266 } | 266 if (v8_target_arch == "s390x") { |
267 if (v8_target_arch == "s390x") { | 267 defines += [ "V8_TARGET_ARCH_S390X" ] |
268 defines += [ | 268 } |
269 "V8_TARGET_ARCH_S390", | 269 if (host_cpu == "x64" || host_cpu == "x86") { |
270 "V8_TARGET_ARCH_S390X", | 270 defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ] |
271 ] | 271 } |
272 } | 272 } |
273 if (v8_target_arch == "x86") { | 273 if (v8_target_arch == "x86") { |
274 defines += [ "V8_TARGET_ARCH_IA32" ] | 274 defines += [ "V8_TARGET_ARCH_IA32" ] |
275 } | 275 } |
276 if (v8_target_arch == "x64") { | 276 if (v8_target_arch == "x64") { |
277 defines += [ "V8_TARGET_ARCH_X64" ] | 277 defines += [ "V8_TARGET_ARCH_X64" ] |
278 } | 278 } |
279 | 279 |
280 if (is_win) { | 280 if (is_win) { |
281 defines += [ "WIN32" ] | 281 defines += [ "WIN32" ] |
(...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2293 | 2293 |
2294 deps = [ | 2294 deps = [ |
2295 ":fuzzer_support", | 2295 ":fuzzer_support", |
2296 ] | 2296 ] |
2297 | 2297 |
2298 configs = [ ":internal_config" ] | 2298 configs = [ ":internal_config" ] |
2299 } | 2299 } |
2300 | 2300 |
2301 v8_fuzzer("wasm_asmjs_fuzzer") { | 2301 v8_fuzzer("wasm_asmjs_fuzzer") { |
2302 } | 2302 } |
OLD | NEW |