Index: ui/ozone/ozone.gni |
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni |
index 867813c50af2a6abb70b274ad903a74f19e9ef3e..4e6bd9122c38098386d53661ec1aa314d7834873 100644 |
--- a/ui/ozone/ozone.gni |
+++ b/ui/ozone/ozone.gni |
@@ -17,15 +17,21 @@ declare_args() { |
ozone_platform_egltest = false |
ozone_platform_gbm = false |
ozone_platform_test = false |
+ ozone_platform_x11 = false |
if (ozone_auto_platforms) { |
- # Use test as the default platform. |
- ozone_platform = "test" |
+ if (use_ozone_x11) { |
+ ozone_platform = "x11" |
+ ozone_platform_x11 = true |
+ } else { |
+ # Use test as the default platform. |
+ ozone_platform = "test" |
- # Build all platforms whose deps are in install-build-deps.sh. |
- # Only these platforms will be compile tested by buildbots. |
- ozone_platform_dri = true |
- ozone_platform_test = true |
- ozone_platform_egltest = true |
+ # Build all platforms whose deps are in install-build-deps.sh. |
+ # Only these platforms will be compile tested by buildbots. |
+ ozone_platform_dri = true |
+ ozone_platform_test = true |
+ ozone_platform_egltest = true |
+ } |
} |
} |