blob: 5dcd67257a8e40443db653b45cea8e2394efdbe3 [file] [log] [blame]
Ben Murdochc5610432016-08-08 18:44:38 +01001# 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")
Ben Murdoch61f157c2016-09-16 13:49:30 +01007import("//build/config/v8_target_cpu.gni")
8import("//gni/v8.gni")
Ben Murdochc5610432016-08-08 18:44:38 +01009
10if (is_android) {
11 import("//build/config/android/config.gni")
12}
13
Ben Murdoch61f157c2016-09-16 13:49:30 +010014if (((v8_target_cpu == "x86" ||
15 v8_target_cpu == "x64" ||
16 v8_target_cpu=="x87") &&
Ben Murdochc5610432016-08-08 18:44:38 +010017 (is_linux || is_mac)) ||
Ben Murdoch61f157c2016-09-16 13:49:30 +010018 (v8_target_cpu == "ppc64" && is_linux)) {
Ben Murdochc5610432016-08-08 18:44:38 +010019 v8_enable_gdbjit = true
20}
21
Ben Murdochc5610432016-08-08 18:44:38 +010022v8_imminent_deprecation_warnings = true
Ben Murdoch61f157c2016-09-16 13:49:30 +010023
24# Add simple extras solely for the purpose of the cctests.
25v8_extra_library_files = [ "//test/cctest/test-extra.js" ]
26v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.js" ]