diff options
author | Nico Weber <thakis@chromium.org> | 2020-01-13 18:48:21 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-07-25 20:59:33 -0700 |
commit | 1940ec984a6a137ee087b811fc154f42e9b689e0 (patch) | |
tree | 91a62d4aa09272f15216075abdb14d06528c4c27 | |
parent | 065411df3e73efa49eb275523021103412326655 (diff) | |
download | zucchini-1940ec984a6a137ee087b811fc154f42e9b689e0.tar.gz |
Reformat all gn files in /components/zucchini.
`gn format` recently changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.
Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.
This CL was uploaded by git cl split.
R=wfh@chromium.org
Bug: 1041419
Change-Id: Iabb4b3262df63e346520bce93cc00ce6538f76fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997802
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730667}
NOKEYCHECK=True
GitOrigin-RevId: 5366f1719d82185483bbc3fe35725653d384e1ea
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | fuzzers/BUILD.gn | 46 |
2 files changed, 14 insertions, 36 deletions
@@ -207,9 +207,7 @@ test("zucchini_unittests") { } test("zucchini_integration_test") { - sources = [ - "integration_test.cc", - ] + sources = [ "integration_test.cc" ] deps = [ ":zucchini_lib", diff --git a/fuzzers/BUILD.gn b/fuzzers/BUILD.gn index effc22d..90c436e 100644 --- a/fuzzers/BUILD.gn +++ b/fuzzers/BUILD.gn @@ -21,9 +21,7 @@ static_library("zucchini_fuzz_utils") { # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_dex_fuzzer \ # components/zucchini/fuzzing/testdata/disassembler_dex_fuzzer/ fuzzer_test("zucchini_disassembler_dex_fuzzer") { - sources = [ - "disassembler_dex_fuzzer.cc", - ] + sources = [ "disassembler_dex_fuzzer.cc" ] deps = [ "//base", "//components/zucchini:zucchini_lib", @@ -35,9 +33,7 @@ fuzzer_test("zucchini_disassembler_dex_fuzzer") { # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_win32_fuzzer \ # components/zucchini/fuzzing/testdata/disassembler_win32_fuzzer/ fuzzer_test("zucchini_disassembler_win32_fuzzer") { - sources = [ - "disassembler_win32_fuzzer.cc", - ] + sources = [ "disassembler_win32_fuzzer.cc" ] deps = [ ":zucchini_fuzz_utils", "//base", @@ -50,9 +46,7 @@ fuzzer_test("zucchini_disassembler_win32_fuzzer") { # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_elf_fuzzer \ # components/zucchini/fuzzing/testdata/disassembler_elf_fuzzer/ fuzzer_test("zucchini_disassembler_elf_fuzzer") { - sources = [ - "disassembler_elf_fuzzer.cc", - ] + sources = [ "disassembler_elf_fuzzer.cc" ] deps = [ ":zucchini_fuzz_utils", "//base", @@ -61,9 +55,7 @@ fuzzer_test("zucchini_disassembler_elf_fuzzer") { } fuzzer_test("zucchini_patch_fuzzer") { - sources = [ - "patch_fuzzer.cc", - ] + sources = [ "patch_fuzzer.cc" ] deps = [ "//base", "//components/zucchini:zucchini_lib", @@ -72,9 +64,7 @@ fuzzer_test("zucchini_patch_fuzzer") { } proto_library("zucchini_file_pair_proto") { - sources = [ - "file_pair.proto", - ] + sources = [ "file_pair.proto" ] } # Ensure protoc is available. @@ -108,9 +98,8 @@ if (current_toolchain == host_toolchain && !is_win) { ] # Outputs: necessary for validation. - outputs = [ - "$target_gen_dir/testdata/apply_fuzzer/raw_apply_seed_proto.bin", - ] + outputs = + [ "$target_gen_dir/testdata/apply_fuzzer/raw_apply_seed_proto.bin" ] deps = [ "//components/zucchini:zucchini", "//third_party/protobuf:protoc", @@ -144,9 +133,8 @@ if (current_toolchain == host_toolchain && !is_win) { ] # Outputs: necessary for validation. - outputs = [ - "$target_gen_dir/testdata/apply_fuzzer/ztf_apply_seed_proto.bin", - ] + outputs = + [ "$target_gen_dir/testdata/apply_fuzzer/ztf_apply_seed_proto.bin" ] deps = [ "//components/zucchini:zucchini", "//third_party/protobuf:protoc", @@ -155,9 +143,7 @@ if (current_toolchain == host_toolchain && !is_win) { # Apply Fuzzer: fuzzer_test("zucchini_apply_fuzzer") { - sources = [ - "apply_fuzzer.cc", - ] + sources = [ "apply_fuzzer.cc" ] deps = [ ":zucchini_file_pair_proto", "//base", @@ -180,9 +166,7 @@ if (current_toolchain == host_toolchain && !is_win) { # <new file>: testdata/new.ztf # <out file>: testdata/raw_or_ztf_gen_fuzzer/seed.asciipb fuzzer_test("zucchini_raw_gen_fuzzer") { - sources = [ - "raw_gen_fuzzer.cc", - ] + sources = [ "raw_gen_fuzzer.cc" ] deps = [ ":zucchini_file_pair_proto", "//base", @@ -197,9 +181,7 @@ if (current_toolchain == host_toolchain && !is_win) { # <new file>: testdata/new.ztf # <out file>: testdata/raw_or_ztf_gen_fuzzer/seed.asciipb fuzzer_test("zucchini_ztf_gen_fuzzer") { - sources = [ - "ztf_gen_fuzzer.cc", - ] + sources = [ "ztf_gen_fuzzer.cc" ] deps = [ ":zucchini_file_pair_proto", "//base", @@ -216,9 +198,7 @@ if (current_toolchain == host_toolchain && !is_win) { # <imposed>: 17+420=388+347,452+420=27+347 # This is a mapping of regions old_offset+old_size=new_offset+new_size,... fuzzer_test("zucchini_imposed_ensemble_matcher_fuzzer") { - sources = [ - "imposed_ensemble_matcher_fuzzer.cc", - ] + sources = [ "imposed_ensemble_matcher_fuzzer.cc" ] deps = [ ":zucchini_file_pair_proto", "//base", |