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