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 # Because standalone V8 builds are not supported, assume this is part of a | 5 # Because standalone V8 builds are not supported, assume this is part of a |
6 # Chromium build. | 6 # Chromium build. |
7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
8 | 8 |
9 # TODO(jochen): These will need to be user-settable to support standalone V8 | 9 # TODO(jochen): These will need to be user-settable to support standalone V8 |
10 # builds. | 10 # builds. |
11 v8_deprecation_warnings = false | 11 v8_deprecation_warnings = false |
12 v8_enable_disassembler = false | 12 v8_enable_disassembler = false |
13 v8_enable_gdbjit = false | 13 v8_enable_gdbjit = false |
14 v8_enable_handle_zapping = true | 14 v8_enable_handle_zapping = true |
15 v8_enable_i18n_support = true | 15 v8_enable_i18n_support = true |
16 v8_enable_verify_heap = false | 16 v8_enable_verify_heap = false |
17 v8_interpreted_regexp = false | 17 v8_interpreted_regexp = false |
18 v8_object_print = false | 18 v8_object_print = false |
19 v8_postmortem_support = false | 19 v8_postmortem_support = false |
20 v8_use_snapshot = true | 20 # TODO(eseidel): The snapshot generated by the GN Android build crashes. |
| 21 v8_use_snapshot = !is_android |
21 v8_enable_extra_checks = is_debug | 22 v8_enable_extra_checks = is_debug |
22 v8_target_arch = cpu_arch | 23 v8_target_arch = cpu_arch |
23 v8_random_seed = "314159265" | 24 v8_random_seed = "314159265" |
24 | 25 |
25 | 26 |
26 ############################################################################### | 27 ############################################################################### |
27 # Configurations | 28 # Configurations |
28 # | 29 # |
29 config("internal_config") { | 30 config("internal_config") { |
30 visibility = [ ":*" ] # Only targets in this file can depend on this. | 31 visibility = [ ":*" ] # Only targets in this file can depend on this. |
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1459 deps = [ | 1460 deps = [ |
1460 ":v8_base", | 1461 ":v8_base", |
1461 ":v8_nosnapshot", | 1462 ":v8_nosnapshot", |
1462 ] | 1463 ] |
1463 } | 1464 } |
1464 | 1465 |
1465 direct_dependent_configs = [ ":external_config" ] | 1466 direct_dependent_configs = [ ":external_config" ] |
1466 } | 1467 } |
1467 | 1468 |
1468 } | 1469 } |
OLD | NEW |