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 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2062 (current_toolchain == v8_snapshot_toolchain && | 2062 (current_toolchain == v8_snapshot_toolchain && |
2063 v8_toolset_for_shell == "host") || | 2063 v8_toolset_for_shell == "host") || |
2064 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target") | 2064 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target") |
2065 | 2065 |
2066 group("gn_all") { | 2066 group("gn_all") { |
2067 testonly = true | 2067 testonly = true |
2068 | 2068 |
2069 deps = [ | 2069 deps = [ |
2070 ":d8", | 2070 ":d8", |
2071 ":v8_hello_world", | 2071 ":v8_hello_world", |
2072 ":v8_parser_shell", | |
2072 ":v8_sample_process", | 2073 ":v8_sample_process", |
2073 ":v8_simple_json_fuzzer", | 2074 ":v8_simple_json_fuzzer", |
2074 ":v8_simple_parser_fuzzer", | 2075 ":v8_simple_parser_fuzzer", |
2075 ":v8_simple_regexp_fuzzer", | 2076 ":v8_simple_regexp_fuzzer", |
2076 ":v8_simple_wasm_asmjs_fuzzer", | 2077 ":v8_simple_wasm_asmjs_fuzzer", |
2077 ":v8_simple_wasm_fuzzer", | 2078 ":v8_simple_wasm_fuzzer", |
2078 "test:gn_all", | 2079 "test:gn_all", |
2079 "tools:gn_all", | 2080 "tools:gn_all", |
2080 ] | 2081 ] |
2081 | 2082 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2199 ":v8_libplatform", | 2200 ":v8_libplatform", |
2200 "//build/config/sanitizers:deps", | 2201 "//build/config/sanitizers:deps", |
2201 "//build/win:default_exe_manifest", | 2202 "//build/win:default_exe_manifest", |
2202 ] | 2203 ] |
2203 | 2204 |
2204 if (v8_enable_i18n_support) { | 2205 if (v8_enable_i18n_support) { |
2205 deps += [ "//third_party/icu" ] | 2206 deps += [ "//third_party/icu" ] |
2206 } | 2207 } |
2207 } | 2208 } |
2208 | 2209 |
2210 v8_executable("v8_parser_shell") { | |
2211 sources = [ | |
2212 "tools/parser-shell.cc", | |
2213 "tools/shell-utils.h", | |
2214 ] | |
2215 | |
2216 configs = [ | |
2217 ":external_config", | |
Michael Achenbach
2016/06/27 09:11:57
I guess the comment on the left is wrong for most
| |
2218 ":internal_config_base", | |
2219 ] | |
2220 | |
2221 deps = [ | |
2222 ":v8", | |
2223 ":v8_libplatform", | |
2224 "//build/config/sanitizers:deps", | |
2225 "//build/win:default_exe_manifest", | |
2226 ] | |
2227 | |
2228 if (v8_enable_i18n_support) { | |
2229 deps += [ "//third_party/icu" ] | |
2230 } | |
2231 } | |
2232 | |
2209 if (want_v8_shell) { | 2233 if (want_v8_shell) { |
2210 v8_executable("v8_shell") { | 2234 v8_executable("v8_shell") { |
2211 sources = [ | 2235 sources = [ |
2212 "samples/shell.cc", | 2236 "samples/shell.cc", |
2213 ] | 2237 ] |
2214 | 2238 |
2215 configs = [ | 2239 configs = [ |
2216 # Note: don't use :internal_config here because this target will get | 2240 # Note: don't use :internal_config here because this target will get |
2217 # the :external_config applied to it by virtue of depending on :v8, and | 2241 # the :external_config applied to it by virtue of depending on :v8, and |
2218 # you can't have both applied to the same target. | 2242 # you can't have both applied to the same target. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2313 | 2337 |
2314 deps = [ | 2338 deps = [ |
2315 ":fuzzer_support", | 2339 ":fuzzer_support", |
2316 ] | 2340 ] |
2317 | 2341 |
2318 configs = [ ":internal_config" ] | 2342 configs = [ ":internal_config" ] |
2319 } | 2343 } |
2320 | 2344 |
2321 v8_fuzzer("wasm_asmjs_fuzzer") { | 2345 v8_fuzzer("wasm_asmjs_fuzzer") { |
2322 } | 2346 } |
OLD | NEW |