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

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

Issue 2445323002: Ozone: Remove the caca platform from the tree (Closed)
Patch Set: Created 4 years, 1 month 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/platform/caca/BUILD.gn » ('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
11 11
12 # This enables memory-mapped access to accelerated graphics buffers via the 12 # This enables memory-mapped access to accelerated graphics buffers via the
13 # VGEM ("virtual GEM") driver. This is currently only available on Chrome OS 13 # VGEM ("virtual GEM") driver. This is currently only available on Chrome OS
14 # kernels and affects code in the GBM ozone platform. 14 # kernels and affects code in the GBM ozone platform.
15 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. 15 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
16 # crbug.com/519587 16 # crbug.com/519587
17 use_vgem_map = false 17 use_vgem_map = false
18 } 18 }
19 19
20 declare_args() { 20 declare_args() {
21 # The platform that will be active by default. 21 # The platform that will be active by default.
22 ozone_platform = "" 22 ozone_platform = ""
23 23
24 # Enable individual platforms. 24 # Enable individual platforms.
25 ozone_platform_caca = false
26 ozone_platform_cast = false 25 ozone_platform_cast = false
27 ozone_platform_gbm = false 26 ozone_platform_gbm = false
28 ozone_platform_headless = false 27 ozone_platform_headless = false
29 ozone_platform_x11 = false 28 ozone_platform_x11 = false
30 ozone_platform_wayland = false 29 ozone_platform_wayland = false
31 30
32 if (ozone_auto_platforms) { 31 if (ozone_auto_platforms) {
33 # Use headless as the default platform. 32 # Use headless as the default platform.
34 ozone_platform = "headless" 33 ozone_platform = "headless"
35 ozone_platform_headless = true 34 ozone_platform_headless = true
(...skipping 16 matching lines...) Expand all
52 ozone_platform_x11 = true 51 ozone_platform_x11 = true
53 ozone_platform_wayland = true 52 ozone_platform_wayland = true
54 } else { 53 } else {
55 # Build all platforms whose deps are in install-build-deps.sh. 54 # Build all platforms whose deps are in install-build-deps.sh.
56 # Only these platforms will be compile tested by buildbots. 55 # Only these platforms will be compile tested by buildbots.
57 ozone_platform_x11 = true 56 ozone_platform_x11 = true
58 } 57 }
59 } 58 }
60 } 59 }
61 60
62 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast || 61 assert(use_ozone || !(ozone_platform_cast || ozone_platform_gbm ||
63 ozone_platform_gbm || ozone_platform_headless || 62 ozone_platform_headless || ozone_platform_x11 ||
64 ozone_platform_x11 || ozone_platform_wayland), 63 ozone_platform_wayland),
65 "Must set use_ozone to select ozone platforms") 64 "Must set use_ozone to select ozone platforms")
OLDNEW
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/platform/caca/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698