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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Select platforms automatically. Turn this off for manual control. 8 # Select platforms automatically. Turn this off for manual control.
9 ozone_auto_platforms = true 9 ozone_auto_platforms = true
10 10
(...skipping 17 matching lines...) Expand all
28 ozone_platform_ozonex = false 28 ozone_platform_ozonex = false
29 ozone_platform_headless = false 29 ozone_platform_headless = false
30 30
31 if (ozone_auto_platforms) { 31 if (ozone_auto_platforms) {
32 # Use headless as the default platform. 32 # Use headless as the default platform.
33 ozone_platform = "headless" 33 ozone_platform = "headless"
34 ozone_platform_headless = true 34 ozone_platform_headless = true
35 35
36 if (is_chromecast) { 36 if (is_chromecast) {
37 if (!disable_display) { 37 if (!disable_display) {
38 # Enable the Cast ozone platform on all A/V Cast builds.
38 ozone_platform_cast = true 39 ozone_platform_cast = true
39 40
40 # For desktop Chromecast builds, override the default "headless" platfor m 41 # For desktop Chromecast builds, override the default "headless"
41 # with --ozone-platform=egltest 42 # platform with --ozone-platform=egltest
43 # TODO(slan|halliwell): Make the default platform "cast" on desktop too.
42 if (target_os == "linux" && target_cpu != "arm") { 44 if (target_os == "linux" && target_cpu != "arm") {
43 ozone_platform_egltest = true 45 ozone_platform_egltest = true
44 ozone_platform_ozonex = true 46 ozone_platform_ozonex = true
47 } else {
48 # On device builds, enable "cast" as the default platform.
49 ozone_platform = "cast"
45 } 50 }
46 } 51 }
47 } else if (is_chromeos) { 52 } else if (is_chromeos) {
48 ozone_platform_gbm = true 53 ozone_platform_gbm = true
49 ozone_platform_egltest = true 54 ozone_platform_egltest = true
50 } else { 55 } else {
51 # Build all platforms whose deps are in install-build-deps.sh. 56 # Build all platforms whose deps are in install-build-deps.sh.
52 # Only these platforms will be compile tested by buildbots. 57 # Only these platforms will be compile tested by buildbots.
53 ozone_platform_egltest = true 58 ozone_platform_egltest = true
54 } 59 }
55 } 60 }
56 } 61 }
OLDNEW
« 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