diff options
author | tzik <tzik@chromium.org> | 2018-07-05 05:18:11 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-07-25 20:08:37 -0700 |
commit | 7bf8174deb72fca6600d70771f8dbf8e60e3e780 (patch) | |
tree | 86e1bb87afec34b3596bf5d71be05c1bf6a4bcf2 /fuzzers/BUILD.gn | |
parent | 40a74cc5a9ef13950080571497f8b0e3b36d6599 (diff) | |
download | zucchini-7bf8174deb72fca6600d70771f8dbf8e60e3e780.tar.gz |
Avoid modifying non-out directory files on zucchini fuzzer
generate_fuzzer_data.py writes a patch file to its test_data directory
that is in the source tree rather than out directory.
This moves the write target to gen/ in the out directory.
Change-Id: Ic02743ded5823385c1eb6817704311e115c00832
Reviewed-on: https://chromium-review.googlesource.com/1097043
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: Samuel Huang <huangs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572708}
NOKEYCHECK=True
GitOrigin-RevId: 0a16ceb9ccea6192911777ab53b8cabf3e992406
Diffstat (limited to 'fuzzers/BUILD.gn')
-rw-r--r-- | fuzzers/BUILD.gn | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fuzzers/BUILD.gn b/fuzzers/BUILD.gn index 12964f3..e2720fc 100644 --- a/fuzzers/BUILD.gn +++ b/fuzzers/BUILD.gn @@ -61,7 +61,11 @@ if (current_toolchain == host_toolchain && !is_win) { "--raw", "old_eventlog_provider.dll", # <old_file> "new_eventlog_provider.dll", # <new_file> - "eventlog_provider.patch", # <patch_file> (temporary) + + # <patch_file> (temporary) + rebase_path( + "$target_gen_dir/testdata/apply_fuzzer/eventlog_provider.patch", + root_build_dir), # <output_file> rebase_path( @@ -94,7 +98,10 @@ if (current_toolchain == host_toolchain && !is_win) { args = [ "old.ztf", # <old_file> "new.ztf", # <new_file> - "ztf.patch", # <patch_file> (temporary) + + # <patch_file> (temporary) + rebase_path("$target_gen_dir/testdata/apply_fuzzer/ztf.patch", + root_build_dir), # <output_file> rebase_path( |