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 = "" | |
jochen (gone - plz use gerrit)
2017/05/23 11:19:49
that should be a number, no?
mattloring
2017/05/23 16:54:42
Done.
| |
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) { | |
213 defines += [ "V8_PROMISE_INTERNAL_FIELD_COUNT" ] | |
jochen (gone - plz use gerrit)
2017/05/23 11:19:49
and that should be V8_PROMISE_INTERNAL_FIELD_COUNT
mattloring
2017/05/23 16:54:43
Done.
| |
214 } | |
209 if (v8_enable_future) { | 215 if (v8_enable_future) { |
210 defines += [ "V8_ENABLE_FUTURE" ] | 216 defines += [ "V8_ENABLE_FUTURE" ] |
211 } | 217 } |
212 if (v8_disable_turbo) { | 218 if (v8_disable_turbo) { |
213 defines += [ "V8_DISABLE_TURBO" ] | 219 defines += [ "V8_DISABLE_TURBO" ] |
214 } | 220 } |
215 if (v8_enable_gdbjit) { | 221 if (v8_enable_gdbjit) { |
216 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] | 222 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] |
217 } | 223 } |
218 if (v8_enable_vtunejit) { | 224 if (v8_enable_vtunejit) { |
(...skipping 3049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3268 ] | 3274 ] |
3269 | 3275 |
3270 configs = [ | 3276 configs = [ |
3271 ":external_config", | 3277 ":external_config", |
3272 ":internal_config_base", | 3278 ":internal_config_base", |
3273 ] | 3279 ] |
3274 } | 3280 } |
3275 | 3281 |
3276 v8_fuzzer("wasm_compile_fuzzer") { | 3282 v8_fuzzer("wasm_compile_fuzzer") { |
3277 } | 3283 } |
OLD | NEW |