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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 v8_use_mips_abi_hardfloat = true | 86 v8_use_mips_abi_hardfloat = true |
87 | 87 |
88 # List of extra files to snapshot. They will be snapshotted in order so | 88 # List of extra files to snapshot. They will be snapshotted in order so |
89 # if files export symbols used by later files, they should go first. | 89 # if files export symbols used by later files, they should go first. |
90 # | 90 # |
91 # This default is used by cctests. Projects using V8 will want to override. | 91 # This default is used by cctests. Projects using V8 will want to override. |
92 # | 92 # |
93 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the | 93 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the |
94 # build_override conversion is complete. | 94 # build_override conversion is complete. |
95 if (!defined(v8_extra_library_files)) { | 95 if (!defined(v8_extra_library_files)) { |
96 v8_extra_library_files = [ | 96 v8_extra_library_files = [ "//test/cctest/test-extra.js" ] |
97 "//test/cctest/test-extra.js" | |
98 ] | |
99 } | 97 } |
100 | 98 |
101 # Like v8_extra_library_files but for experimental features. | 99 # Like v8_extra_library_files but for experimental features. |
102 # | 100 # |
103 # This default is used by cctests. Projects using V8 will want to override. | 101 # This default is used by cctests. Projects using V8 will want to override. |
104 # | 102 # |
105 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the | 103 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the |
106 # build_override conversion is complete. | 104 # build_override conversion is complete. |
107 if (!defined(v8_experimental_extra_library_files)) { | 105 if (!defined(v8_experimental_extra_library_files)) { |
108 v8_experimental_extra_library_files = [ | 106 v8_experimental_extra_library_files = |
109 "//test/cctest/test-experimental-extra.js", | 107 [ "//test/cctest/test-experimental-extra.js" ] |
110 ] | |
111 } | 108 } |
112 | 109 |
113 if (defined(v8_enable_gdbjit_default)) { | 110 if (defined(v8_enable_gdbjit_default)) { |
114 v8_enable_gdbjit = v8_enable_gdbjit_default | 111 v8_enable_gdbjit = v8_enable_gdbjit_default |
115 } else { | 112 } else { |
116 v8_enable_gdbjit = ((v8_current_cpu == "x86" || v8_current_cpu == "x64" || | 113 v8_enable_gdbjit = ((v8_current_cpu == "x86" || v8_current_cpu == "x64" || |
117 v8_current_cpu == "x87") && (is_linux || is_mac)) || | 114 v8_current_cpu == "x87") && (is_linux || is_mac)) || |
118 (v8_current_cpu == "ppc64" && is_linux) | 115 (v8_current_cpu == "ppc64" && is_linux) |
119 } | 116 } |
120 } | 117 } |
121 | 118 |
122 # Derived defaults. | 119 # Derived defaults. |
123 if (v8_enable_verify_heap == "") { | 120 if (v8_enable_verify_heap == "") { |
124 v8_enable_verify_heap = is_debug | 121 v8_enable_verify_heap = is_debug |
125 } | 122 } |
126 if (v8_enable_object_print == "") { | 123 if (v8_enable_object_print == "") { |
127 v8_enable_object_print = is_debug | 124 v8_enable_object_print = is_debug |
128 } | 125 } |
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 "src/parsing/parse-info.h", | 1610 "src/parsing/parse-info.h", |
1614 "src/parsing/parser-base.h", | 1611 "src/parsing/parser-base.h", |
1615 "src/parsing/parser.cc", | 1612 "src/parsing/parser.cc", |
1616 "src/parsing/parser.h", | 1613 "src/parsing/parser.h", |
1617 "src/parsing/parsing.cc", | 1614 "src/parsing/parsing.cc", |
1618 "src/parsing/parsing.h", | 1615 "src/parsing/parsing.h", |
1619 "src/parsing/pattern-rewriter.cc", | 1616 "src/parsing/pattern-rewriter.cc", |
1620 "src/parsing/preparse-data-format.h", | 1617 "src/parsing/preparse-data-format.h", |
1621 "src/parsing/preparse-data.cc", | 1618 "src/parsing/preparse-data.cc", |
1622 "src/parsing/preparse-data.h", | 1619 "src/parsing/preparse-data.h", |
| 1620 "src/parsing/preparsed-scope-data.cc", |
| 1621 "src/parsing/preparsed-scope-data.h", |
1623 "src/parsing/preparser.cc", | 1622 "src/parsing/preparser.cc", |
1624 "src/parsing/preparser.h", | 1623 "src/parsing/preparser.h", |
1625 "src/parsing/rewriter.cc", | 1624 "src/parsing/rewriter.cc", |
1626 "src/parsing/rewriter.h", | 1625 "src/parsing/rewriter.h", |
1627 "src/parsing/scanner-character-streams.cc", | 1626 "src/parsing/scanner-character-streams.cc", |
1628 "src/parsing/scanner-character-streams.h", | 1627 "src/parsing/scanner-character-streams.h", |
1629 "src/parsing/scanner.cc", | 1628 "src/parsing/scanner.cc", |
1630 "src/parsing/scanner.h", | 1629 "src/parsing/scanner.h", |
1631 "src/parsing/token.cc", | 1630 "src/parsing/token.cc", |
1632 "src/parsing/token.h", | 1631 "src/parsing/token.h", |
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3086 ] | 3085 ] |
3087 | 3086 |
3088 configs = [ | 3087 configs = [ |
3089 ":external_config", | 3088 ":external_config", |
3090 ":internal_config_base", | 3089 ":internal_config_base", |
3091 ] | 3090 ] |
3092 } | 3091 } |
3093 | 3092 |
3094 v8_fuzzer("wasm_data_section_fuzzer") { | 3093 v8_fuzzer("wasm_data_section_fuzzer") { |
3095 } | 3094 } |
OLD | NEW |