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

Side by Side Diff: BUILD.gn

Issue 2632493002: [build] Have one build target for all v8 fuzzers. (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | 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 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || 2483 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") ||
2484 (current_toolchain == v8_snapshot_toolchain && 2484 (current_toolchain == v8_snapshot_toolchain &&
2485 v8_toolset_for_shell == "host") || 2485 v8_toolset_for_shell == "host") ||
2486 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target") 2486 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target")
2487 2487
2488 group("gn_all") { 2488 group("gn_all") {
2489 testonly = true 2489 testonly = true
2490 2490
2491 deps = [ 2491 deps = [
2492 ":d8", 2492 ":d8",
2493 ":v8_fuzzers",
2493 ":v8_hello_world", 2494 ":v8_hello_world",
2494 ":v8_parser_shell", 2495 ":v8_parser_shell",
2495 ":v8_sample_process", 2496 ":v8_sample_process",
2496 ":v8_simple_json_fuzzer",
2497 ":v8_simple_parser_fuzzer",
2498 ":v8_simple_regexp_fuzzer",
2499 ":v8_simple_wasm_asmjs_fuzzer",
2500 ":v8_simple_wasm_fuzzer",
2501 "test:gn_all", 2497 "test:gn_all",
2502 "tools:gn_all", 2498 "tools:gn_all",
2503 ] 2499 ]
2504 2500
2505 if (want_v8_shell) { 2501 if (want_v8_shell) {
2506 deps += [ ":v8_shell" ] 2502 deps += [ ":v8_shell" ]
2507 } 2503 }
2508 2504
2509 if (v8_test_isolation_mode != "noop") { 2505 if (v8_test_isolation_mode != "noop") {
2510 deps += [ ":d8_run" ] 2506 deps += [ ":d8_run" ]
2511 } 2507 }
2512 } 2508 }
2513 2509
2510 group("v8_fuzzers") {
2511 testonly = true
2512 deps = [
2513 ":v8_simple_json_fuzzer",
2514 ":v8_simple_parser_fuzzer",
2515 ":v8_simple_regexp_fuzzer",
2516 ":v8_simple_wasm_asmjs_fuzzer",
2517 ":v8_simple_wasm_call_fuzzer",
2518 ":v8_simple_wasm_code_fuzzer",
2519 ":v8_simple_wasm_data_section_fuzzer",
2520 ":v8_simple_wasm_function_sigs_section_fuzzer",
2521 ":v8_simple_wasm_fuzzer",
2522 ":v8_simple_wasm_globals_section_fuzzer",
2523 ":v8_simple_wasm_imports_section_fuzzer",
2524 ":v8_simple_wasm_memory_section_fuzzer",
2525 ":v8_simple_wasm_names_section_fuzzer",
2526 ":v8_simple_wasm_types_section_fuzzer",
2527 ]
2528 }
2529
2514 if (is_component_build) { 2530 if (is_component_build) {
2515 v8_component("v8") { 2531 v8_component("v8") {
2516 sources = [ 2532 sources = [
2517 "src/v8dll-main.cc", 2533 "src/v8dll-main.cc",
2518 ] 2534 ]
2519 2535
2520 deps = [ 2536 deps = [
2521 ":v8_dump_build_config", 2537 ":v8_dump_build_config",
2522 ] 2538 ]
2523 2539
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
3012 ] 3028 ]
3013 3029
3014 configs = [ 3030 configs = [
3015 ":external_config", 3031 ":external_config",
3016 ":internal_config_base", 3032 ":internal_config_base",
3017 ] 3033 ]
3018 } 3034 }
3019 3035
3020 v8_fuzzer("wasm_data_section_fuzzer") { 3036 v8_fuzzer("wasm_data_section_fuzzer") {
3021 } 3037 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698