Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 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 | |
| 5 | import("//build/config/features.gni") |
| 6 | import("//build/config/ui.gni") |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 7 | import("//build/config/v8_target_cpu.gni") |
| 8 | import("//gni/v8.gni") |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 9 | |
| 10 | if (is_android) { |
| 11 | import("//build/config/android/config.gni") |
| 12 | } |
| 13 | |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 14 | if (((v8_target_cpu == "x86" || |
| 15 | v8_target_cpu == "x64" || |
| 16 | v8_target_cpu=="x87") && |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 17 | (is_linux || is_mac)) || |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 18 | (v8_target_cpu == "ppc64" && is_linux)) { |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 19 | v8_enable_gdbjit = true |
| 20 | } |
| 21 | |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 22 | v8_imminent_deprecation_warnings = true |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 23 | |
| 24 | # Add simple extras solely for the purpose of the cctests. |
| 25 | v8_extra_library_files = [ "//test/cctest/test-extra.js" ] |
| 26 | v8_experimental_extra_library_files = [ "//test/cctest/test-experimental-extra.js" ] |