Index: ui/ozone/ozone.gni |
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni |
index e4b6ef9a27040e68ca9d7ecf02ce696e40b4d4b0..d4a43073171cddbe99a7e8eac5b52294cd90b015 100644 |
--- a/ui/ozone/ozone.gni |
+++ b/ui/ozone/ozone.gni |
@@ -42,7 +42,7 @@ declare_args() { |
# platform with --ozone-platform=x11. |
# TODO(halliwell): Create a libcast_graphics implementation for desktop |
# using X11, and disable this platform. |
- if (is_cast_desktop_build && !disable_display) { |
+ if (is_cast_desktop_build && !is_cast_audio_only) { |
ozone_platform_x11 = true |
} else { |
ozone_platform = "cast" |