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/mips.gni") | 7 import("//build/config/mips.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 10 matching lines...) Expand all Loading... |
21 # Enable the snapshot feature, for fast context creation. | 21 # Enable the snapshot feature, for fast context creation. |
22 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html | 22 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html |
23 v8_use_snapshot = true | 23 v8_use_snapshot = true |
24 } | 24 } |
25 | 25 |
26 # TODO(jochen): These will need to be user-settable to support standalone V8 | 26 # TODO(jochen): These will need to be user-settable to support standalone V8 |
27 # builds. | 27 # builds. |
28 v8_deprecation_warnings = false | 28 v8_deprecation_warnings = false |
29 v8_enable_disassembler = false | 29 v8_enable_disassembler = false |
30 v8_enable_gdbjit = false | 30 v8_enable_gdbjit = false |
31 v8_enable_handle_zapping = true | 31 v8_enable_handle_zapping = is_debug |
32 v8_enable_i18n_support = true | 32 v8_enable_i18n_support = true |
33 v8_enable_verify_heap = false | 33 v8_enable_verify_heap = false |
34 v8_interpreted_regexp = false | 34 v8_interpreted_regexp = false |
35 v8_object_print = false | 35 v8_object_print = false |
36 v8_postmortem_support = false | 36 v8_postmortem_support = false |
37 v8_random_seed = "314159265" | 37 v8_random_seed = "314159265" |
38 v8_toolset_for_d8 = "host" | 38 v8_toolset_for_d8 = "host" |
39 | 39 |
40 if (is_msan) { | 40 if (is_msan) { |
41 # Running the V8-generated code on an ARM simulator is a powerful hack that | 41 # Running the V8-generated code on an ARM simulator is a powerful hack that |
(...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 ] | 1989 ] |
1990 | 1990 |
1991 configs -= [ "//build/config/compiler:chromium_code" ] | 1991 configs -= [ "//build/config/compiler:chromium_code" ] |
1992 configs += [ "//build/config/compiler:no_chromium_code" ] | 1992 configs += [ "//build/config/compiler:no_chromium_code" ] |
1993 configs += [ | 1993 configs += [ |
1994 ":internal_config", | 1994 ":internal_config", |
1995 ":features", | 1995 ":features", |
1996 ":toolchain", | 1996 ":toolchain", |
1997 ] | 1997 ] |
1998 } | 1998 } |
OLD | NEW |