OLD | NEW |
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 = [] |
OLD | NEW |