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

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

Issue 2167243002: Delete Ozone egltest platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 25 ozone_platform_caca = false
26 ozone_platform_cast = false 26 ozone_platform_cast = false
27 ozone_platform_egltest = false
28 ozone_platform_gbm = false 27 ozone_platform_gbm = false
29 ozone_platform_ozonex = false
30 ozone_platform_headless = false 28 ozone_platform_headless = false
31 ozone_platform_x11 = false 29 ozone_platform_x11 = false
32 ozone_platform_wayland = false 30 ozone_platform_wayland = false
33 31
34 if (ozone_auto_platforms) { 32 if (ozone_auto_platforms) {
35 # Use headless as the default platform. 33 # Use headless as the default platform.
36 ozone_platform = "headless" 34 ozone_platform = "headless"
37 ozone_platform_headless = true 35 ozone_platform_headless = true
38 36
39 if (is_chromecast) { 37 if (is_chromecast) {
(...skipping 14 matching lines...) Expand all
54 ozone_platform_x11 = true 52 ozone_platform_x11 = true
55 } else { 53 } else {
56 # Build all platforms whose deps are in install-build-deps.sh. 54 # Build all platforms whose deps are in install-build-deps.sh.
57 # Only these platforms will be compile tested by buildbots. 55 # Only these platforms will be compile tested by buildbots.
58 ozone_platform_x11 = true 56 ozone_platform_x11 = true
59 } 57 }
60 } 58 }
61 } 59 }
62 60
63 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast || 61 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast ||
64 ozone_platform_egltest || ozone_platform_gbm || 62 ozone_platform_gbm || ozone_platform_headless ||
65 ozone_platform_ozonex || ozone_platform_headless), 63 ozone_platform_x11 || ozone_platform_wayland),
66 "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/ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698