| 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 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 # Sets -DVERIFY_HEAP. | 23 # Sets -DVERIFY_HEAP. |
| 24 v8_enable_verify_heap = "" | 24 v8_enable_verify_heap = "" |
| 25 | 25 |
| 26 # Sets -DVERIFY_PREDICTABLE | 26 # Sets -DVERIFY_PREDICTABLE |
| 27 v8_enable_verify_predictable = false | 27 v8_enable_verify_predictable = false |
| 28 | 28 |
| 29 # Enable compiler warnings when using V8_DEPRECATED apis. | 29 # Enable compiler warnings when using V8_DEPRECATED apis. |
| 30 v8_deprecation_warnings = false | 30 v8_deprecation_warnings = false |
| 31 | 31 |
| 32 # Allow the embedder to add a custom suffix to the version string. | |
| 33 v8_embedder_string = "" | |
| 34 | |
| 35 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 32 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
| 36 v8_imminent_deprecation_warnings = "" | 33 v8_imminent_deprecation_warnings = "" |
| 37 | 34 |
| 38 # Embeds the given script into the snapshot. | 35 # Embeds the given script into the snapshot. |
| 39 v8_embed_script = "" | 36 v8_embed_script = "" |
| 40 | 37 |
| 41 # Sets -dENABLE_DISASSEMBLER. | 38 # Sets -dENABLE_DISASSEMBLER. |
| 42 v8_enable_disassembler = "" | 39 v8_enable_disassembler = "" |
| 43 | 40 |
| 44 # Sets -dENABLE_GDB_JIT_INTERFACE. | 41 # Sets -dENABLE_GDB_JIT_INTERFACE. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 if (v8_use_external_startup_data) { | 182 if (v8_use_external_startup_data) { |
| 186 defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ] | 183 defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ] |
| 187 } | 184 } |
| 188 } | 185 } |
| 189 | 186 |
| 190 config("features") { | 187 config("features") { |
| 191 visibility = [ ":*" ] # Only targets in this file can depend on this. | 188 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 192 | 189 |
| 193 defines = [] | 190 defines = [] |
| 194 | 191 |
| 195 if (v8_embedder_string != "") { | |
| 196 defines += [ "V8_EMBEDDER_STRING=\"$v8_embedder_string\"" ] | |
| 197 } | |
| 198 | |
| 199 if (v8_enable_disassembler) { | 192 if (v8_enable_disassembler) { |
| 200 defines += [ "ENABLE_DISASSEMBLER" ] | 193 defines += [ "ENABLE_DISASSEMBLER" ] |
| 201 } | 194 } |
| 202 if (v8_enable_gdbjit) { | 195 if (v8_enable_gdbjit) { |
| 203 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] | 196 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] |
| 204 } | 197 } |
| 205 if (v8_enable_object_print) { | 198 if (v8_enable_object_print) { |
| 206 defines += [ "OBJECT_PRINT" ] | 199 defines += [ "OBJECT_PRINT" ] |
| 207 } | 200 } |
| 208 if (v8_enable_verify_heap) { | 201 if (v8_enable_verify_heap) { |
| (...skipping 2860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3069 ] | 3062 ] |
| 3070 | 3063 |
| 3071 configs = [ | 3064 configs = [ |
| 3072 ":external_config", | 3065 ":external_config", |
| 3073 ":internal_config_base", | 3066 ":internal_config_base", |
| 3074 ] | 3067 ] |
| 3075 } | 3068 } |
| 3076 | 3069 |
| 3077 v8_fuzzer("wasm_data_section_fuzzer") { | 3070 v8_fuzzer("wasm_data_section_fuzzer") { |
| 3078 } | 3071 } |
| OLD | NEW |