Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: ui/gl/BUILD.gn

Issue 2509033006: Reland: Run gl_unittests with Ozone X11. (Closed)
Patch Set: Remove from all target. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/mb/mb.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index 69262b487beae6ba61cf145e783b4455e2846df5..5050c8915560eea009e18c328392f4dac7dc0be8 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -404,6 +404,27 @@ test("gl_unittests") {
]
}
+# Non-Ozone trybots end up trying to build this when building "all" and failing
+# when X11 isn't there.
+if (ozone_platform_x11) {
+ group("gl_unittests_ozonex") {
+ testonly = true
+ data_deps = [
+ ":gl_unittests",
+ "//tools/xdisplaycheck",
+ ]
+ }
+
+ # TODO(GYP_GONE): Delete this after we've converted everything to GN.
+ # The _run targets exist only for compatibility w/ GYP.
+ group("gl_unittests_ozonex_run") {
+ testonly = true
+ deps = [
+ ":gl_unittests_ozonex",
+ ]
+ }
+}
+
if (is_android) {
generate_jar_jni("surface_jni_headers") {
jni_package = "ui/gl"
« no previous file with comments | « tools/mb/mb.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698