| 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") | |
| 9 | 8 |
| 10 if (is_android) { | 9 if (is_android) { |
| 11 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| 12 } | 11 } |
| 13 | 12 |
| 14 if (((v8_current_cpu == "x86" || | 13 if (((v8_current_cpu == "x86" || |
| 15 v8_current_cpu == "x64" || | 14 v8_current_cpu == "x64" || |
| 16 v8_current_cpu=="x87") && | 15 v8_current_cpu=="x87") && |
| 17 (is_linux || is_mac)) || | 16 (is_linux || is_mac)) || |
| 18 (v8_current_cpu == "ppc64" && is_linux)) { | 17 (v8_current_cpu == "ppc64" && is_linux)) { |
| 19 v8_enable_gdbjit_default = true | 18 v8_enable_gdbjit_default = true |
| 20 } | 19 } |
| 21 | 20 |
| 22 v8_imminent_deprecation_warnings_default = true | 21 v8_imminent_deprecation_warnings_default = true |
| 23 | 22 |
| 23 v8_standalone_build = true |
| 24 |
| 24 # Add simple extras solely for the purpose of the cctests. | 25 # Add simple extras solely for the purpose of the cctests. |
| 25 v8_extra_library_files = [ "//test/cctest/test-extra.js" ] | 26 v8_extra_library_files = [ "//test/cctest/test-extra.js" ] |
| 26 v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.j
s" ] | 27 v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.j
s" ] |
| OLD | NEW |