tint_generator_wgsl_corpus should wait for remove_stale_autogen_files

remove_stale_autogen_files will remove files in
gen/third_party/daw/src/tint/fuzzers, so build
failed flakey with no such file under this directory
if remove_stale_autogen_files run after tint_generator_wsg_corpus
action.

add deps to remove_stale_autogen_files to make sure
tint_generator_wgsl_corpus runs after remove_stale_autogen_files run.

Bug: crbug.com/1314527
Change-Id: Ic072d1c80719cd1c1cf29b1ad4463792018ebb94
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87680
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Fumitoshi Ukai 2022-04-22 10:08:52 +00:00 committed by Dawn LUCI CQ
parent 390b5a2176
commit a238e7bf9d
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# limitations under the License. # limitations under the License.
import("//build_overrides/build.gni") import("//build_overrides/build.gni")
import("../../../scripts/dawn_overrides_with_defaults.gni")
import("../../../tint_overrides_with_defaults.gni") import("../../../tint_overrides_with_defaults.gni")
# Fuzzers - Libfuzzer based fuzzing targets for Chromium # Fuzzers - Libfuzzer based fuzzing targets for Chromium
@ -32,6 +33,8 @@ if (build_with_chromium) {
rebase_path(fuzzer_corpus_wgsl_dir, root_build_dir), rebase_path(fuzzer_corpus_wgsl_dir, root_build_dir),
] ]
outputs = [ fuzzer_corpus_wgsl_stamp ] outputs = [ fuzzer_corpus_wgsl_stamp ]
deps = [ "${dawn_root}/generator:remove_stale_autogen_files" ]
} }
tint_fuzzer_common_libfuzzer_options = [ tint_fuzzer_common_libfuzzer_options = [