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") | |
6 import("//build/config/ui.gni") | |
7 import("//build/config/v8_target_cpu.gni") | 5 import("//build/config/v8_target_cpu.gni") |
8 import("//gni/v8.gni") | |
9 | |
10 if (is_android) { | |
11 import("//build/config/android/config.gni") | |
12 } | |
13 | 6 |
14 if (((v8_current_cpu == "x86" || v8_current_cpu == "x64" || | 7 if (((v8_current_cpu == "x86" || v8_current_cpu == "x64" || |
15 v8_current_cpu == "x87") && (is_linux || is_mac)) || | 8 v8_current_cpu == "x87") && (is_linux || is_mac)) || |
16 (v8_current_cpu == "ppc64" && is_linux)) { | 9 (v8_current_cpu == "ppc64" && is_linux)) { |
17 v8_enable_gdbjit_default = true | 10 v8_enable_gdbjit_default = true |
18 } | 11 } |
19 | 12 |
20 v8_imminent_deprecation_warnings_default = true | 13 v8_imminent_deprecation_warnings_default = true |
21 | 14 |
22 # Add simple extras solely for the purpose of the cctests. | 15 # Add simple extras solely for the purpose of the cctests. |
23 v8_extra_library_files = [ "//test/cctest/test-extra.js" ] | 16 v8_extra_library_files = [ "//test/cctest/test-extra.js" ] |
24 v8_experimental_extra_library_files = | 17 v8_experimental_extra_library_files = |
25 [ "//test/cctest/test-experimental-extra.js" ] | 18 [ "//test/cctest/test-experimental-extra.js" ] |
26 | 19 |
27 declare_args() { | 20 v8_enable_inspector_override = true |
28 # Enable inspector. See include/v8-inspector.h. | |
29 v8_enable_inspector = true | |
30 } | |
31 | |
32 v8_enable_inspector_override = v8_enable_inspector | |
OLD | NEW |