| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 config("toolchain") { | 194 config("toolchain") { |
| 195 visibility = [ ":*" ] # Only targets in this file can depend on this. | 195 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 196 | 196 |
| 197 defines = [] | 197 defines = [] |
| 198 cflags = [] | 198 cflags = [] |
| 199 ldflags = [] | 199 ldflags = [] |
| 200 | 200 |
| 201 if (v8_current_cpu == "arm") { | 201 if (v8_current_cpu == "arm") { |
| 202 defines += [ "V8_TARGET_ARCH_ARM" ] | 202 defines += [ "V8_TARGET_ARCH_ARM" ] |
| 203 if (arm_version == 7) { | 203 if (arm_version >= 7) { |
| 204 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] | 204 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] |
| 205 } | 205 } |
| 206 if (arm_fpu == "vfpv3-d16") { | 206 if (arm_fpu == "vfpv3-d16") { |
| 207 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] | 207 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] |
| 208 } else if (arm_fpu == "vfpv3") { | 208 } else if (arm_fpu == "vfpv3") { |
| 209 defines += [ | 209 defines += [ |
| 210 "CAN_USE_VFP3_INSTRUCTIONS", | 210 "CAN_USE_VFP3_INSTRUCTIONS", |
| 211 "CAN_USE_VFP32DREGS", | 211 "CAN_USE_VFP32DREGS", |
| 212 ] | 212 ] |
| 213 } else if (arm_fpu == "neon") { | 213 } else if (arm_fpu == "neon") { |
| (...skipping 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2594 | 2594 |
| 2595 deps = [ | 2595 deps = [ |
| 2596 ":fuzzer_support", | 2596 ":fuzzer_support", |
| 2597 ] | 2597 ] |
| 2598 | 2598 |
| 2599 configs = [ ":internal_config" ] | 2599 configs = [ ":internal_config" ] |
| 2600 } | 2600 } |
| 2601 | 2601 |
| 2602 v8_fuzzer("wasm_code_fuzzer") { | 2602 v8_fuzzer("wasm_code_fuzzer") { |
| 2603 } | 2603 } |
| OLD | NEW |