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