Add proper data_deps to dawn_perf_tests.
Currently the Chromium build defines a wrapper build target
for Dawn (//chrome/test:dawn_perf_tests) that seems to exist
only to specify some extra data dependencies. By moving this
data dependencies onto the Dawn dawn_perf_tests itself, this
removes a problematic target in Chromium that would otherwise
block my planned changes for crbug.com/816629.
Bug: chromium:816629
Change-Id: I428698fe164bd1aad09c8dba14e57a4b7acebb1c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24302
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/tests/BUILD.gn b/src/tests/BUILD.gn
index a1e7741..201ff08 100644
--- a/src/tests/BUILD.gn
+++ b/src/tests/BUILD.gn
@@ -470,10 +470,11 @@
libs = []
- # When building inside Chromium, use their gtest main function because it is
- # needed to run in swarming correctly.
+ # When building inside Chromium, use their gtest main function and the
+ # other perf test scaffolding in order to run in swarming correctly.
if (build_with_chromium) {
deps += [ ":dawn_perf_tests_main" ]
+ data_deps = [ "//testing:run_perf_test" ]
} else {
sources += [ "PerfTestsMain.cpp" ]
}