Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: BUILD.gn

Issue 2102483002: [gn] Add remaining executables to gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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",
2218 ":internal_config_base",
2219 ]
2220
2221 deps = [
2222 ":v8_libplatform",
2223 "//build/config/sanitizers:deps",
2224 "//build/win:default_exe_manifest",
2225 ]
2226
2227 if (is_component_build) {
2228 # v8_parser_shell can't be built against a shared library, so we
2229 # need to depend on the underlying static target in that case.
2230 deps += [ ":v8_maybe_snapshot" ]
2231 } else {
2232 deps += [ ":v8" ]
2233 }
2234
2235 if (v8_enable_i18n_support) {
2236 deps += [ "//third_party/icu" ]
2237 }
2238 }
2239
2209 if (want_v8_shell) { 2240 if (want_v8_shell) {
2210 v8_executable("v8_shell") { 2241 v8_executable("v8_shell") {
2211 sources = [ 2242 sources = [
2212 "samples/shell.cc", 2243 "samples/shell.cc",
2213 ] 2244 ]
2214 2245
2215 configs = [ 2246 configs = [
2216 # Note: don't use :internal_config here because this target will get 2247 # 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 2248 # the :external_config applied to it by virtue of depending on :v8, and
2218 # you can't have both applied to the same target. 2249 # you can't have both applied to the same target.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 2344
2314 deps = [ 2345 deps = [
2315 ":fuzzer_support", 2346 ":fuzzer_support",
2316 ] 2347 ]
2317 2348
2318 configs = [ ":internal_config" ] 2349 configs = [ ":internal_config" ]
2319 } 2350 }
2320 2351
2321 v8_fuzzer("wasm_asmjs_fuzzer") { 2352 v8_fuzzer("wasm_asmjs_fuzzer") {
2322 } 2353 }
OLDNEW
« no previous file with comments | « no previous file | test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698