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-06-17 07:42:42 +00:00
|
|
|
if (((v8_target_cpu == "x86" ||
|
2016-06-17 07:06:22 +00:00
|
|
|
v8_target_cpu == "x64" ||
|
|
|
|
v8_target_cpu=="x87") &&
|
2016-05-17 19:39:11 +00:00
|
|
|
(is_linux || is_mac)) ||
|
2016-06-17 07:06:22 +00:00
|
|
|
(v8_target_cpu == "ppc64" && is_linux)) {
|
2016-05-17 19:39:11 +00:00
|
|
|
v8_enable_gdbjit = true
|
|
|
|
}
|
|
|
|
|
|
|
|
v8_imminent_deprecation_warnings = 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" ]
|
|
|
|
v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.js" ]
|