Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: BUILD.gn

Issue 2006213002: [gn] Fix setting v8_target_arch default (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gni/v8.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/mips.gni") 7 import("//build/config/mips.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 # Similar to vfp but on MIPS. 62 # Similar to vfp but on MIPS.
63 v8_can_use_fpu_instructions = true 63 v8_can_use_fpu_instructions = true
64 64
65 # Similar to the ARM hard float ABI but on MIPS. 65 # Similar to the ARM hard float ABI but on MIPS.
66 v8_use_mips_abi_hardfloat = true 66 v8_use_mips_abi_hardfloat = true
67 } 67 }
68 68
69 v8_random_seed = "314159265" 69 v8_random_seed = "314159265"
70 v8_toolset_for_shell = "host" 70 v8_toolset_for_shell = "host"
71 71
72 if (v8_target_arch == "") {
73 if (is_msan) {
74 # Running the V8-generated code on an ARM simulator is a powerful hack that
75 # allows the tool to see the memory accesses from JITted code. Without this
76 # flag, JS code causes false positive reports from MSan.
77 v8_target_arch = "arm64"
78 } else {
79 v8_target_arch = target_cpu
80 }
81 }
82
83 if (v8_use_snapshot && v8_use_external_startup_data) { 72 if (v8_use_snapshot && v8_use_external_startup_data) {
84 snapshot_target = ":v8_external_snapshot" 73 snapshot_target = ":v8_external_snapshot"
85 } else if (v8_use_snapshot) { 74 } else if (v8_use_snapshot) {
86 snapshot_target = ":v8_snapshot" 75 snapshot_target = ":v8_snapshot"
87 } else { 76 } else {
88 assert(!v8_use_external_startup_data) 77 assert(!v8_use_external_startup_data)
89 snapshot_target = ":v8_nosnapshot" 78 snapshot_target = ":v8_nosnapshot"
90 } 79 }
91 80
92 ############################################################################### 81 ###############################################################################
(...skipping 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after
2190 sources = [ 2179 sources = [
2191 "test/fuzzer/wasm-asmjs.cc", 2180 "test/fuzzer/wasm-asmjs.cc",
2192 ] 2181 ]
2193 2182
2194 deps = [ 2183 deps = [
2195 ":fuzzer_support", 2184 ":fuzzer_support",
2196 ] 2185 ]
2197 2186
2198 configs = [ ":internal_config" ] 2187 configs = [ ":internal_config" ]
2199 } 2188 }
OLDNEW
« no previous file with comments | « no previous file | gni/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698