2016-05-02 15:08:37 +00:00
|
|
|
# Copyright 2015 The V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import("//build/config/features.gni")
|
|
|
|
import("//build/config/ui.gni")
|
2016-06-17 07:06:22 +00:00
|
|
|
import("//build/config/v8_target_cpu.gni")
|
2016-05-24 08:54:42 +00:00
|
|
|
import("//gni/v8.gni")
|
2016-05-02 15:08:37 +00:00
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
}
|
|
|
|
|
2016-09-06 23:26:08 +00:00
|
|
|
if (((v8_current_cpu == "x86" || v8_current_cpu == "x64" ||
|
|
|
|
v8_current_cpu == "x87") && (is_linux || is_mac)) ||
|
2016-07-15 22:32:55 +00:00
|
|
|
(v8_current_cpu == "ppc64" && is_linux)) {
|
2016-07-18 14:51:38 +00:00
|
|
|
v8_enable_gdbjit_default = true
|
2016-05-17 19:39:11 +00:00
|
|
|
}
|
|
|
|
|
2016-07-15 14:40:51 +00:00
|
|
|
v8_imminent_deprecation_warnings_default = true
|
2016-06-07 08:56:11 +00:00
|
|
|
|
|
|
|
# Add simple extras solely for the purpose of the cctests.
|
|
|
|
v8_extra_library_files = [ "//test/cctest/test-extra.js" ]
|
2016-09-06 23:26:08 +00:00
|
|
|
v8_experimental_extra_library_files =
|
|
|
|
[ "//test/cctest/test-experimental-extra.js" ]
|
|
|
|
|
|
|
|
declare_args() {
|
|
|
|
# Enable inspector. See include/v8-inspector.h.
|
|
|
|
v8_enable_inspector = false
|
|
|
|
}
|
|
|
|
|
|
|
|
v8_enable_inspector_override = v8_enable_inspector
|