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

Side by Side Diff: BUILD.gn

Issue 2045703007: V8. ASM-2-WASM. New type system. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | src/typing-asm.h » ('j') | src/typing-asm.h » ('J')
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/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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 ] 620 ]
621 } 621 }
622 } 622 }
623 623
624 ############################################################################### 624 ###############################################################################
625 # Source Sets (aka static libraries) 625 # Source Sets (aka static libraries)
626 # 626 #
627 627
628 source_set("v8_maybe_snapshot") { 628 source_set("v8_maybe_snapshot") {
629 if (v8_use_snapshot && v8_use_external_startup_data) { 629 if (v8_use_snapshot && v8_use_external_startup_data) {
630 public_deps = [ ":v8_external_snapshot" ] 630 public_deps = [
631 ":v8_external_snapshot",
632 ]
631 } else if (v8_use_snapshot) { 633 } else if (v8_use_snapshot) {
632 public_deps = [ ":v8_snapshot" ] 634 public_deps = [
635 ":v8_snapshot",
636 ]
633 } else { 637 } else {
634 assert(!v8_use_external_startup_data) 638 assert(!v8_use_external_startup_data)
635 public_deps = [ ":v8_nosnapshot" ] 639 public_deps = [
640 ":v8_nosnapshot",
641 ]
636 } 642 }
637 } 643 }
638 644
639 v8_source_set("v8_nosnapshot") { 645 v8_source_set("v8_nosnapshot") {
640 visibility = [ ":*" ] # Only targets in this file can depend on this. 646 visibility = [ ":*" ] # Only targets in this file can depend on this.
641 647
642 deps = [ 648 deps = [
643 ":js2c", 649 ":js2c",
644 ":js2c_experimental", 650 ":js2c_experimental",
645 ":js2c_experimental_extras", 651 ":js2c_experimental_extras",
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 "src/utils.h", 1475 "src/utils.h",
1470 "src/v8.cc", 1476 "src/v8.cc",
1471 "src/v8.h", 1477 "src/v8.h",
1472 "src/v8memory.h", 1478 "src/v8memory.h",
1473 "src/v8threads.cc", 1479 "src/v8threads.cc",
1474 "src/v8threads.h", 1480 "src/v8threads.h",
1475 "src/version.cc", 1481 "src/version.cc",
1476 "src/version.h", 1482 "src/version.h",
1477 "src/vm-state-inl.h", 1483 "src/vm-state-inl.h",
1478 "src/vm-state.h", 1484 "src/vm-state.h",
1485 "src/wasm/asm-types.cc",
1486 "src/wasm/asm-types.h",
1479 "src/wasm/asm-wasm-builder.cc", 1487 "src/wasm/asm-wasm-builder.cc",
1480 "src/wasm/asm-wasm-builder.h", 1488 "src/wasm/asm-wasm-builder.h",
1481 "src/wasm/ast-decoder.cc", 1489 "src/wasm/ast-decoder.cc",
1482 "src/wasm/ast-decoder.h", 1490 "src/wasm/ast-decoder.h",
1483 "src/wasm/decoder.h", 1491 "src/wasm/decoder.h",
1484 "src/wasm/encoder.cc", 1492 "src/wasm/encoder.cc",
1485 "src/wasm/encoder.h", 1493 "src/wasm/encoder.h",
1486 "src/wasm/leb-helper.h", 1494 "src/wasm/leb-helper.h",
1487 "src/wasm/module-decoder.cc", 1495 "src/wasm/module-decoder.cc",
1488 "src/wasm/module-decoder.h", 1496 "src/wasm/module-decoder.h",
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
2043 "//build/config/sanitizers:deps", 2051 "//build/config/sanitizers:deps",
2044 "//build/win:default_exe_manifest", 2052 "//build/win:default_exe_manifest",
2045 ] 2053 ]
2046 } 2054 }
2047 } 2055 }
2048 2056
2049 ############################################################################### 2057 ###############################################################################
2050 # Public targets 2058 # Public targets
2051 # 2059 #
2052 2060
2053 want_v8_shell = ( 2061 want_v8_shell =
2054 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || 2062 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") ||
2055 (current_toolchain == v8_snapshot_toolchain && 2063 (current_toolchain == v8_snapshot_toolchain &&
2056 v8_toolset_for_shell == "host") || 2064 v8_toolset_for_shell == "host") ||
2057 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")) 2065 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")
2058 2066
2059 group("gn_all") { 2067 group("gn_all") {
2060 testonly = true 2068 testonly = true
2061 2069
2062 deps = [ 2070 deps = [
2063 ":d8", 2071 ":d8",
2064 ":v8_simple_json_fuzzer", 2072 ":v8_simple_json_fuzzer",
2065 ":v8_simple_parser_fuzzer", 2073 ":v8_simple_parser_fuzzer",
2066 ":v8_simple_regexp_fuzzer", 2074 ":v8_simple_regexp_fuzzer",
2075 ":v8_simple_wasm_asmjs_fuzzer",
2067 ":v8_simple_wasm_fuzzer", 2076 ":v8_simple_wasm_fuzzer",
2068 ":v8_simple_wasm_asmjs_fuzzer",
2069 "test:gn_all", 2077 "test:gn_all",
2070 "tools:gn_all", 2078 "tools:gn_all",
2071 ] 2079 ]
2072 2080
2073 if (want_v8_shell) { 2081 if (want_v8_shell) {
2074 deps += [ 2082 deps += [ ":v8_shell" ]
2075 ":v8_shell",
2076 ]
2077 } 2083 }
2078 2084
2079 if (v8_test_isolation_mode != "noop") { 2085 if (v8_test_isolation_mode != "noop") {
2080 deps += [ 2086 deps += [ ":d8_run" ]
2081 ":d8_run",
2082 ]
2083 } 2087 }
2084 } 2088 }
2085 2089
2086 if (is_component_build) { 2090 if (is_component_build) {
2087 component("v8") { 2091 component("v8") {
2088 sources = [ 2092 sources = [
2089 "src/v8dll-main.cc", 2093 "src/v8dll-main.cc",
2090 ] 2094 ]
2091 2095
2092 public_deps = [ 2096 public_deps = [
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 "test/fuzzer/json.cc", 2216 "test/fuzzer/json.cc",
2213 ] 2217 ]
2214 2218
2215 deps = [ 2219 deps = [
2216 ":fuzzer_support", 2220 ":fuzzer_support",
2217 ] 2221 ]
2218 2222
2219 configs = [ ":internal_config" ] 2223 configs = [ ":internal_config" ]
2220 } 2224 }
2221 2225
2222 v8_fuzzer("json_fuzzer") {} 2226 v8_fuzzer("json_fuzzer") {
2227 }
2223 2228
2224 v8_source_set("parser_fuzzer") { 2229 v8_source_set("parser_fuzzer") {
2225 sources = [ 2230 sources = [
2226 "test/fuzzer/parser.cc", 2231 "test/fuzzer/parser.cc",
2227 ] 2232 ]
2228 2233
2229 deps = [ 2234 deps = [
2230 ":fuzzer_support", 2235 ":fuzzer_support",
2231 ] 2236 ]
2232 2237
2233 configs = [ ":internal_config" ] 2238 configs = [ ":internal_config" ]
2234 } 2239 }
2235 2240
2236 v8_fuzzer("parser_fuzzer") {} 2241 v8_fuzzer("parser_fuzzer") {
2242 }
2237 2243
2238 v8_source_set("regexp_fuzzer") { 2244 v8_source_set("regexp_fuzzer") {
2239 sources = [ 2245 sources = [
2240 "test/fuzzer/regexp.cc", 2246 "test/fuzzer/regexp.cc",
2241 ] 2247 ]
2242 2248
2243 deps = [ 2249 deps = [
2244 ":fuzzer_support", 2250 ":fuzzer_support",
2245 ] 2251 ]
2246 2252
2247 configs = [ ":internal_config" ] 2253 configs = [ ":internal_config" ]
2248 } 2254 }
2249 2255
2250 v8_fuzzer("regexp_fuzzer") {} 2256 v8_fuzzer("regexp_fuzzer") {
2257 }
2251 2258
2252 v8_source_set("wasm_fuzzer") { 2259 v8_source_set("wasm_fuzzer") {
2253 sources = [ 2260 sources = [
2254 "test/fuzzer/wasm.cc", 2261 "test/fuzzer/wasm.cc",
2255 ] 2262 ]
2256 2263
2257 deps = [ 2264 deps = [
2258 ":fuzzer_support", 2265 ":fuzzer_support",
2259 ] 2266 ]
2260 2267
2261 configs = [ ":internal_config" ] 2268 configs = [ ":internal_config" ]
2262 } 2269 }
2263 2270
2264 v8_fuzzer("wasm_fuzzer") {} 2271 v8_fuzzer("wasm_fuzzer") {
2272 }
2265 2273
2266 v8_source_set("wasm_asmjs_fuzzer") { 2274 v8_source_set("wasm_asmjs_fuzzer") {
2267 sources = [ 2275 sources = [
2268 "test/fuzzer/wasm-asmjs.cc", 2276 "test/fuzzer/wasm-asmjs.cc",
2269 ] 2277 ]
2270 2278
2271 deps = [ 2279 deps = [
2272 ":fuzzer_support", 2280 ":fuzzer_support",
2273 ] 2281 ]
2274 2282
2275 configs = [ ":internal_config" ] 2283 configs = [ ":internal_config" ]
2276 } 2284 }
2277 2285
2278 v8_fuzzer("wasm_asmjs_fuzzer") {} 2286 v8_fuzzer("wasm_asmjs_fuzzer") {
2287 }
OLDNEW
« no previous file with comments | « no previous file | src/typing-asm.h » ('j') | src/typing-asm.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698