From 369e5c8cceb0d589fbb21f90a0bca2f27f0980c4 Mon Sep 17 00:00:00 2001 From: vogelheim Date: Fri, 13 Jan 2017 01:09:26 -0800 Subject: [PATCH] [build] Have one build target for all v8 fuzzers. R=machenbach@chromium.org, ahaas@chromium.org BUG= Review-Url: https://codereview.chromium.org/2632493002 Cr-Commit-Position: refs/heads/master@{#42310} --- BUILD.gn | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 58bdb6b653..7b765f040a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -2504,14 +2504,10 @@ group("gn_all") { deps = [ ":d8", + ":v8_fuzzers", ":v8_hello_world", ":v8_parser_shell", ":v8_sample_process", - ":v8_simple_json_fuzzer", - ":v8_simple_parser_fuzzer", - ":v8_simple_regexp_fuzzer", - ":v8_simple_wasm_asmjs_fuzzer", - ":v8_simple_wasm_fuzzer", "test:gn_all", "tools:gn_all", ] @@ -2525,6 +2521,26 @@ group("gn_all") { } } +group("v8_fuzzers") { + testonly = true + deps = [ + ":v8_simple_json_fuzzer", + ":v8_simple_parser_fuzzer", + ":v8_simple_regexp_fuzzer", + ":v8_simple_wasm_asmjs_fuzzer", + ":v8_simple_wasm_call_fuzzer", + ":v8_simple_wasm_code_fuzzer", + ":v8_simple_wasm_data_section_fuzzer", + ":v8_simple_wasm_function_sigs_section_fuzzer", + ":v8_simple_wasm_fuzzer", + ":v8_simple_wasm_globals_section_fuzzer", + ":v8_simple_wasm_imports_section_fuzzer", + ":v8_simple_wasm_memory_section_fuzzer", + ":v8_simple_wasm_names_section_fuzzer", + ":v8_simple_wasm_types_section_fuzzer", + ] +} + if (is_component_build) { v8_component("v8") { sources = [