Index: ui/ozone/ozone.gni |
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni |
index 867813c50af2a6abb70b274ad903a74f19e9ef3e..38f143aa105734b993ff5810cea9f3fc8bf231b0 100644 |
--- a/ui/ozone/ozone.gni |
+++ b/ui/ozone/ozone.gni |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
+ |
declare_args() { |
# Select platforms automatically. Turn this off for manual control. |
ozone_auto_platforms = true |
@@ -17,10 +19,16 @@ 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. |