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

Side by Side Diff: ui/ozone/ozone.gni

Issue 1610683003: Add initial SHM-only Wayland Ozone implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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 | « ui/ozone/BUILD.gn ('k') | ui/ozone/ozone.gyp » ('j') | 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 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # Select platforms automatically. Turn this off for manual control. 9 # Select platforms automatically. Turn this off for manual control.
10 ozone_auto_platforms = use_ozone 10 ozone_auto_platforms = use_ozone
(...skipping 11 matching lines...) Expand all
22 ozone_platform = "" 22 ozone_platform = ""
23 23
24 # Enable individual platforms. 24 # Enable individual platforms.
25 ozone_platform_caca = false 25 ozone_platform_caca = false
26 ozone_platform_cast = false 26 ozone_platform_cast = false
27 ozone_platform_egltest = false 27 ozone_platform_egltest = false
28 ozone_platform_gbm = false 28 ozone_platform_gbm = false
29 ozone_platform_ozonex = false 29 ozone_platform_ozonex = false
30 ozone_platform_headless = false 30 ozone_platform_headless = false
31 ozone_platform_x11 = false 31 ozone_platform_x11 = false
32 ozone_platform_wayland = false
32 33
33 if (ozone_auto_platforms) { 34 if (ozone_auto_platforms) {
34 # Use headless as the default platform. 35 # Use headless as the default platform.
35 ozone_platform = "headless" 36 ozone_platform = "headless"
36 ozone_platform_headless = true 37 ozone_platform_headless = true
37 38
38 if (is_chromecast) { 39 if (is_chromecast) {
39 if (!disable_display) { 40 if (!disable_display) {
40 # Enable the Cast ozone platform on all A/V Cast builds. 41 # Enable the Cast ozone platform on all A/V Cast builds.
41 ozone_platform_cast = true 42 ozone_platform_cast = true
(...skipping 19 matching lines...) Expand all
61 # Only these platforms will be compile tested by buildbots. 62 # Only these platforms will be compile tested by buildbots.
62 ozone_platform_egltest = true 63 ozone_platform_egltest = true
63 } 64 }
64 } 65 }
65 } 66 }
66 67
67 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast || 68 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast ||
68 ozone_platform_egltest || ozone_platform_gbm || 69 ozone_platform_egltest || ozone_platform_gbm ||
69 ozone_platform_ozonex || ozone_platform_headless), 70 ozone_platform_ozonex || ozone_platform_headless),
70 "Must set use_ozone to select ozone platforms") 71 "Must set use_ozone to select ozone platforms")
OLDNEW
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698