OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 | 10 |
11 if (is_android) { | 11 if (is_android) { |
12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
13 } | 13 } |
14 | 14 |
15 import("gni/v8.gni") | 15 import("gni/v8.gni") |
16 import("gni/isolate.gni") | 16 import("gni/isolate.gni") |
17 import("snapshot_toolchain.gni") | 17 import("snapshot_toolchain.gni") |
18 | 18 |
19 declare_args() { | 19 declare_args() { |
20 # Print to stdout on Android. | 20 # Print to stdout on Android. |
21 v8_android_log_stdout = false | 21 v8_android_log_stdout = false |
22 | 22 |
23 # Sets -DVERIFY_HEAP. | 23 # Sets -DVERIFY_HEAP. |
24 v8_enable_verify_heap = false | 24 v8_enable_verify_heap = false |
25 | 25 |
| 26 # Sets -DVERIFY_PREDICTABLE |
| 27 v8_enable_verify_predictable = false |
| 28 |
26 # Enable compiler warnings when using V8_DEPRECATED apis. | 29 # Enable compiler warnings when using V8_DEPRECATED apis. |
27 v8_deprecation_warnings = false | 30 v8_deprecation_warnings = false |
28 | 31 |
29 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 32 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
30 v8_imminent_deprecation_warnings = "" | 33 v8_imminent_deprecation_warnings = "" |
31 | 34 |
32 # Embeds the given script into the snapshot. | 35 # Embeds the given script into the snapshot. |
33 v8_embed_script = "" | 36 v8_embed_script = "" |
34 | 37 |
35 # Sets -dENABLE_DISASSEMBLER. | 38 # Sets -dENABLE_DISASSEMBLER. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 } | 179 } |
177 if (v8_enable_gdbjit) { | 180 if (v8_enable_gdbjit) { |
178 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] | 181 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] |
179 } | 182 } |
180 if (v8_object_print) { | 183 if (v8_object_print) { |
181 defines += [ "OBJECT_PRINT" ] | 184 defines += [ "OBJECT_PRINT" ] |
182 } | 185 } |
183 if (v8_enable_verify_heap) { | 186 if (v8_enable_verify_heap) { |
184 defines += [ "VERIFY_HEAP" ] | 187 defines += [ "VERIFY_HEAP" ] |
185 } | 188 } |
| 189 if (v8_enable_verify_predictable) { |
| 190 defines += [ "VERIFY_PREDICTABLE" ] |
| 191 } |
186 if (v8_interpreted_regexp) { | 192 if (v8_interpreted_regexp) { |
187 defines += [ "V8_INTERPRETED_REGEXP" ] | 193 defines += [ "V8_INTERPRETED_REGEXP" ] |
188 } | 194 } |
189 if (v8_deprecation_warnings) { | 195 if (v8_deprecation_warnings) { |
190 defines += [ "V8_DEPRECATION_WARNINGS" ] | 196 defines += [ "V8_DEPRECATION_WARNINGS" ] |
191 } | 197 } |
192 if (v8_imminent_deprecation_warnings) { | 198 if (v8_imminent_deprecation_warnings) { |
193 defines += [ "V8_IMMINENT_DEPRECATION_WARNINGS" ] | 199 defines += [ "V8_IMMINENT_DEPRECATION_WARNINGS" ] |
194 } | 200 } |
195 if (v8_enable_i18n_support) { | 201 if (v8_enable_i18n_support) { |
(...skipping 2810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3006 ] | 3012 ] |
3007 | 3013 |
3008 configs = [ | 3014 configs = [ |
3009 ":external_config", | 3015 ":external_config", |
3010 ":internal_config_base", | 3016 ":internal_config_base", |
3011 ] | 3017 ] |
3012 } | 3018 } |
3013 | 3019 |
3014 v8_fuzzer("wasm_data_section_fuzzer") { | 3020 v8_fuzzer("wasm_data_section_fuzzer") { |
3015 } | 3021 } |
OLD | NEW |