[libfuzzer] Add seed_corpus_deps
Zucchini has a use case for libfuzzer where the seed corpus can be generated at compile time. The reason for this is that as the Zucchini patch format changes the seeds need to change to reflect the new format. To do this at compile time a gn action that executes a python script needs to be executed before the seed_corpus action occurs in the fuzzer_test template. Adding the seed generation action to fuzzer_test deps is insufficient since the seed_corpus action can executed before seed exists. The solution to this is to add deps to the seed_corpus action that perform the dependent action prior to the seed_corpus archive generation. Change-Id: Icd90e308102d9c5b5923aa93a466bd3f39387702 Reviewed-on: https://chromium-review.googlesource.com/1044116Reviewed-by:Max Moroz <mmoroz@chromium.org> Reviewed-by:
Samuel Huang <huangs@chromium.org> Commit-Queue: Calder Kitagawa <ckitagawa@google.com> Cr-Commit-Position: refs/heads/master@{#556460}
Showing
Please register or sign in to comment