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

Side by Side Diff: build_overrides/v8.gni

Issue 2007843002: [gn] Make v8_target_arch a GN declare_arg() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review 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 | « BUILD.gn ('k') | 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 2015 The V8 project authors. All rights reserved. 1 # Copyright 2015 The V8 project 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//gni/v8.gni")
7 8
8 if (is_android) { 9 if (is_android) {
9 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
10 } 11 }
11 12
12 declare_args() {
13 # V8 generates code for this architecture.
14 v8_target_arch = target_cpu
15 }
16
17 if (((v8_target_arch == "ia32" || 13 if (((v8_target_arch == "ia32" ||
18 v8_target_arch == "x64" || 14 v8_target_arch == "x64" ||
19 v8_target_arch=="x87") && 15 v8_target_arch=="x87") &&
20 (is_linux || is_mac)) || 16 (is_linux || is_mac)) ||
21 (v8_target_arch == "ppc64" && is_linux)) { 17 (v8_target_arch == "ppc64" && is_linux)) {
22 v8_enable_gdbjit = true 18 v8_enable_gdbjit = true
23 } 19 }
24 20
25 icu_use_data_file = false 21 icu_use_data_file = false
26 v8_imminent_deprecation_warnings = true 22 v8_imminent_deprecation_warnings = true
27 v8_optimized_debug = false 23 v8_optimized_debug = false
28 v8_extra_library_files = [] 24 v8_extra_library_files = []
29 v8_experimental_extra_library_files = [] 25 v8_experimental_extra_library_files = []
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | gni/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698