Index: ui/ozone/ozone.gni |
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni |
index 05994bd5689c356536e7c522bc52f37f8747868b..c5855dfe55966e77afeef45864263a462254e904 100644 |
--- a/ui/ozone/ozone.gni |
+++ b/ui/ozone/ozone.gni |
@@ -40,8 +40,10 @@ declare_args() { |
# For desktop Chromecast builds, override the default "headless" |
# platform with --ozone-platform=egltest |
- # TODO(slan|halliwell): Make the default platform "cast" on desktop too. |
- if (target_os == "linux" && target_cpu != "arm") { |
+ # TODO(halliwell): Create a libcast_graphics implementation for desktop |
+ # using X11, and disable these two platforms. "cast" platform should be |
+ # the default on every A/V build. |
+ if (is_cast_desktop_build) { |
ozone_platform_egltest = true |
ozone_platform_ozonex = true |
} else { |