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") |
| 7 | |
| 8 | if (is_android) { |
| 9 | import("//build/config/android/config.gni") |
| 10 | } |
| 11 | |
| 12 | declare_args() { |
| 13 | # V8 generates code for this architecture. |
| 14 | v8_target_arch = target_cpu |
| 15 | } |
| 16 | |
| 17 | if (((v8_target_arch == "ia32" || |
| 18 | v8_target_arch == "x64" || |
| 19 | v8_target_arch=="x87") && |
| 20 | (is_linux || is_mac)) || |
| 21 | (v8_target_arch == "ppc64" && is_linux)) { |
| 22 | v8_enable_gdbjit = true |
| 23 | } |
| 24 | |
| 25 | icu_use_data_file_flag = false |
| 26 | v8_imminent_deprecation_warnings = true |
| 27 | v8_optimized_debug = false |
| 28 | v8_extra_library_files = [] |
| 29 | v8_experimental_extra_library_files = [] |