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

Unified Diff: ui/ozone/ozone.gni

Issue 1528533002: [Chromecast] Replace architecure-based conditionals with flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Correct declare_args bug. 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
« chromecast/BUILD.gn ('K') | « media/midi/midi.gyp ('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 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 {
« chromecast/BUILD.gn ('K') | « media/midi/midi.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698