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

Unified Diff: build/common.gypi

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 | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 5b207f5602bb98a226a64d09c0d89c98b98f014f..8cb41164dfc53a3f6a32e782cc1bcb4713120a1d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2387,10 +2387,18 @@
['disable_display==0', {
# Enable the Cast ozone platform on all A/V Cast builds.
'ozone_platform_cast%': 1,
+
+ # For desktop Chromecast builds, override the default "headless"
+ # platform with --ozone-platform=egltest
+ # TODO(slan|halliwell): Make the default platform "cast" on
+ # desktop too.
'conditions': [
['OS=="linux" and target_arch!="arm"', {
'ozone_platform_egltest%': 1,
'ozone_platform_ozonex%': 1,
+ }, {
+ # On device builds, enable "cast" as the default platform.
+ 'ozone_platform%': 'cast',
}],
],
}],
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698