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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 v8_enable_i18n_support = true | 45 v8_enable_i18n_support = true |
46 | 46 |
47 # Enable slow dchecks. | 47 # Enable slow dchecks. |
48 v8_enable_slow_dchecks = false | 48 v8_enable_slow_dchecks = false |
49 | 49 |
50 # Interpreted regexp engine exists as platform-independent alternative | 50 # Interpreted regexp engine exists as platform-independent alternative |
51 # based where the regular expression is compiled to a bytecode. | 51 # based where the regular expression is compiled to a bytecode. |
52 v8_interpreted_regexp = false | 52 v8_interpreted_regexp = false |
53 | 53 |
54 # Sets -dOBJECT_PRINT. | 54 # Sets -dOBJECT_PRINT. |
55 v8_object_print = false | 55 v8_object_print = "" |
56 | 56 |
57 # With post mortem support enabled, metadata is embedded into libv8 that | 57 # With post mortem support enabled, metadata is embedded into libv8 that |
58 # describes various parameters of the VM for use by debuggers. See | 58 # describes various parameters of the VM for use by debuggers. See |
59 # tools/gen-postmortem-metadata.py for details. | 59 # tools/gen-postmortem-metadata.py for details. |
60 v8_postmortem_support = false | 60 v8_postmortem_support = false |
61 | 61 |
62 # Similar to vfp but on MIPS. | 62 # Similar to vfp but on MIPS. |
63 v8_can_use_fpu_instructions = true | 63 v8_can_use_fpu_instructions = true |
64 | 64 |
65 # Similar to the ARM hard float ABI but on MIPS. | 65 # Similar to the ARM hard float ABI but on MIPS. |
(...skipping 10 matching lines...) Expand all Loading... | |
76 } | 76 } |
77 } | 77 } |
78 if (v8_enable_gdbjit == "") { | 78 if (v8_enable_gdbjit == "") { |
79 if (defined(v8_enable_gdbjit_default)) { | 79 if (defined(v8_enable_gdbjit_default)) { |
80 v8_enable_gdbjit = v8_enable_gdbjit_default | 80 v8_enable_gdbjit = v8_enable_gdbjit_default |
81 } else { | 81 } else { |
82 v8_enable_gdbjit = false | 82 v8_enable_gdbjit = false |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 # Derived defaults. | |
87 if (v8_object_print == "") { | |
88 v8_object_print = is_debug && !v8_optimized_debug | |
Yang
2016/07/26 09:01:20
also set v8_enable_disassembler please
| |
89 } | |
90 | |
86 v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc" | 91 v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc" |
87 v8_random_seed = "314159265" | 92 v8_random_seed = "314159265" |
88 v8_toolset_for_shell = "host" | 93 v8_toolset_for_shell = "host" |
89 | 94 |
90 ############################################################################### | 95 ############################################################################### |
91 # Configurations | 96 # Configurations |
92 # | 97 # |
93 config("internal_config") { | 98 config("internal_config") { |
94 visibility = [ ":*" ] # Only targets in this file can depend on this. | 99 visibility = [ ":*" ] # Only targets in this file can depend on this. |
95 | 100 |
(...skipping 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2511 | 2516 |
2512 deps = [ | 2517 deps = [ |
2513 ":fuzzer_support", | 2518 ":fuzzer_support", |
2514 ] | 2519 ] |
2515 | 2520 |
2516 configs = [ ":internal_config" ] | 2521 configs = [ ":internal_config" ] |
2517 } | 2522 } |
2518 | 2523 |
2519 v8_fuzzer("wasm_asmjs_fuzzer") { | 2524 v8_fuzzer("wasm_asmjs_fuzzer") { |
2520 } | 2525 } |
OLD | NEW |