From f4a861dd60b9e5f89b31a5690cf01c47b11a5326 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Tue, 26 Apr 2022 00:12:27 +0000 Subject: [PATCH] tint/fuzzers: Build protobufs after remove_stale_autogen_files Add deps to remove_stale_autogen_files to make sure tint_ast_fuzzer_proto runs after remove_stale_autogen_files run. Bug: crbug.com/1314527 Change-Id: I01cb469289eae83b04c9b442f97d4eef0139ec81 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87922 Reviewed-by: Dan Sinclair Commit-Queue: Ben Clayton Kokoro: Kokoro --- src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn index 4c63bab817..1d05b2503a 100644 --- a/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn +++ b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn @@ -16,12 +16,14 @@ import("//build_overrides/build.gni") import("../../../../tint_overrides_with_defaults.gni") if (build_with_chromium) { + import("../../../../scripts/dawn_overrides_with_defaults.gni") import("//third_party/protobuf/proto_library.gni") proto_library("tint_ast_fuzzer_proto") { sources = [ "protobufs/tint_ast_fuzzer.proto" ] generate_python = false use_protobuf_full = true + deps = [ "${dawn_root}/generator:remove_stale_autogen_files" ] } source_set("tint_ast_fuzzer") {