summaryrefslogtreecommitdiff
path: root/deps/v8/build_overrides/v8.gni
blob: fc4a70e579b78debb972cf49cb68353f0040c254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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")
import("//build/config/v8_target_cpu.gni")
import("//gni/v8.gni")

if (is_android) {
  import("//build/config/android/config.gni")
}

if (((v8_current_cpu == "x86" ||
      v8_current_cpu == "x64" ||
      v8_current_cpu=="x87") &&
     (is_linux || is_mac)) ||
    (v8_current_cpu == "ppc64" && is_linux)) {
  v8_enable_gdbjit_default = true
}

v8_imminent_deprecation_warnings_default = true

# Add simple extras solely for the purpose of the cctests.
v8_extra_library_files = [ "//test/cctest/test-extra.js" ]
v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.js" ]