Rebuild webgpu-cts when files are deleted Bug: chromium:1371251 Change-Id: I4837df026bb49f5f9542fb61ae37c506f86f06ae Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104621 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/third_party/gn/webgpu-cts/BUILD.gn b/third_party/gn/webgpu-cts/BUILD.gn index d8fbf3f..8cc8c4d 100644 --- a/third_party/gn/webgpu-cts/BUILD.gn +++ b/third_party/gn/webgpu-cts/BUILD.gn
@@ -57,6 +57,10 @@ "//third_party/node/node_modules/typescript/lib/tsc.js", "//third_party/node/node.py", "${dawn_root}/webgpu-cts/scripts/tsc_ignore_errors.py", + + # If the only change is that a file is deleted, we still need to + # rebuild so that listing.js gets updated. + "ts_sources.txt", ] + ts_source_inputs outputs = js_outputs