Add remaining GN targets for the Linux gpu tests.
This patch adds support for the telemetry-based
gpu tests to the GN build, adds a stubbed out
target for angle_end2end_tests (full support
depends on angle GN fixes), and adds a dummy
'chromium_swarm_tests' build target.
With these fixes, it should be possible to flip the
linux_chromium_rel_ng bot to GN and still have
everything run.
[email protected], [email protected]
BUG=519778
Review URL: https://codereview.chromium.org/1311913004
Cr-Commit-Position: refs/heads/master@{#346067}
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index 7d1f4c5..cf99377 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -312,3 +312,32 @@
"//third_party/angle:translator_static",
]
}
+
+#
+# TODO(GYP): Delete this after we've converted everything to GN.
+# The _run targets exist only for compatibility w/ GYP.
+group("angle_end2end_tests_run") {
+ testonly = true
+ deps = [
+ ":angle_end2end_tests",
+ ]
+}
+
+test("angle_end2end_tests") {
+ sources = [
+ # TODO(crbug.com/519778): Use this instead when angle actually works.
+ # For now, this creates an empty stub binary that will at least
+ # run properly on the bots.
+ # "angle_end2end_tests_main.cc",
+ "//base/test/run_all_unittests.cc",
+ ]
+
+ deps = [
+ "//base/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+
+ # TODO(crbug.com/519778): This needs to be implemented.
+ # "//third_party/angle:end_to_end_tests",
+ ]
+}