| 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/host_byteorder.gni") | 8 import("//build/config/host_byteorder.gni") |
| 9 import("//build/config/mips.gni") | 9 import("//build/config/mips.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 39 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
| 40 v8_imminent_deprecation_warnings = false | 40 v8_imminent_deprecation_warnings = false |
| 41 | 41 |
| 42 # Embeds the given script into the snapshot. | 42 # Embeds the given script into the snapshot. |
| 43 v8_embed_script = "" | 43 v8_embed_script = "" |
| 44 | 44 |
| 45 # Sets -dENABLE_DISASSEMBLER. | 45 # Sets -dENABLE_DISASSEMBLER. |
| 46 v8_enable_disassembler = "" | 46 v8_enable_disassembler = "" |
| 47 | 47 |
| 48 # Sets the number of internal fields on promise objects. |
| 49 v8_promise_internal_field_count = 0 |
| 50 |
| 48 # Sets -dENABLE_GDB_JIT_INTERFACE. | 51 # Sets -dENABLE_GDB_JIT_INTERFACE. |
| 49 v8_enable_gdbjit = "" | 52 v8_enable_gdbjit = "" |
| 50 | 53 |
| 51 # Sets -dENABLE_VTUNE_JIT_INTERFACE. | 54 # Sets -dENABLE_VTUNE_JIT_INTERFACE. |
| 52 v8_enable_vtunejit = false | 55 v8_enable_vtunejit = false |
| 53 | 56 |
| 54 # Sets -dENABLE_HANDLE_ZAPPING. | 57 # Sets -dENABLE_HANDLE_ZAPPING. |
| 55 v8_enable_handle_zapping = true | 58 v8_enable_handle_zapping = true |
| 56 | 59 |
| 57 # Enable slow dchecks. | 60 # Enable slow dchecks. |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 } | 202 } |
| 200 | 203 |
| 201 config("features") { | 204 config("features") { |
| 202 visibility = [ ":*" ] # Only targets in this file can depend on this. | 205 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 203 | 206 |
| 204 defines = [] | 207 defines = [] |
| 205 | 208 |
| 206 if (v8_enable_disassembler) { | 209 if (v8_enable_disassembler) { |
| 207 defines += [ "ENABLE_DISASSEMBLER" ] | 210 defines += [ "ENABLE_DISASSEMBLER" ] |
| 208 } | 211 } |
| 212 if (v8_promise_internal_field_count != 0) { |
| 213 defines += |
| 214 [ "V8_PROMISE_INTERNAL_FIELD_COUNT=${v8_promise_internal_field_count}" ] |
| 215 } |
| 209 if (v8_enable_future) { | 216 if (v8_enable_future) { |
| 210 defines += [ "V8_ENABLE_FUTURE" ] | 217 defines += [ "V8_ENABLE_FUTURE" ] |
| 211 } | 218 } |
| 212 if (v8_disable_turbo) { | 219 if (v8_disable_turbo) { |
| 213 defines += [ "V8_DISABLE_TURBO" ] | 220 defines += [ "V8_DISABLE_TURBO" ] |
| 214 } | 221 } |
| 215 if (v8_enable_gdbjit) { | 222 if (v8_enable_gdbjit) { |
| 216 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] | 223 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] |
| 217 } | 224 } |
| 218 if (v8_enable_vtunejit) { | 225 if (v8_enable_vtunejit) { |
| (...skipping 3049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3268 ] | 3275 ] |
| 3269 | 3276 |
| 3270 configs = [ | 3277 configs = [ |
| 3271 ":external_config", | 3278 ":external_config", |
| 3272 ":internal_config_base", | 3279 ":internal_config_base", |
| 3273 ] | 3280 ] |
| 3274 } | 3281 } |
| 3275 | 3282 |
| 3276 v8_fuzzer("wasm_compile_fuzzer") { | 3283 v8_fuzzer("wasm_compile_fuzzer") { |
| 3277 } | 3284 } |
| OLD | NEW |