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

Unified Diff: ui/ozone/ozone.gni

Issue 1519613002: [Chromecast] Set default ozone platform to "cast" on device builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone.gni
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni
index f8c01869fd799b14f7478cdc8049ff9ee380128a..05994bd5689c356536e7c522bc52f37f8747868b 100644
--- a/ui/ozone/ozone.gni
+++ b/ui/ozone/ozone.gni
@@ -35,13 +35,18 @@ declare_args() {
if (is_chromecast) {
if (!disable_display) {
+ # Enable the Cast ozone platform on all A/V Cast builds.
ozone_platform_cast = true
- # For desktop Chromecast builds, override the default "headless" platform
- # with --ozone-platform=egltest
+ # 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") {
ozone_platform_egltest = true
ozone_platform_ozonex = true
+ } else {
+ # On device builds, enable "cast" as the default platform.
+ ozone_platform = "cast"
}
}
} else if (is_chromeos) {
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698