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

Side by Side Diff: build/config/ui.gni

Issue 2741783007: Convert ENABLE_WAYLAND_SERVER to a build flag. (Closed)
Patch Set: errrrr Created 3 years, 9 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 | « build/config/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('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 # ============================================= 5 # =============================================
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
7 # ============================================= 7 # =============================================
8 # 8 #
9 # These flags are effectively global. Your feature flag should go near the 9 # These flags are effectively global. Your feature flag should go near the
10 # code it controls. Most of these items are here now because they control 10 # code it controls. Most of these items are here now because they control
(...skipping 18 matching lines...) Expand all
29 # Pango, and Cairo. Default to false on non-Chromecast builds. 29 # Pango, and Cairo. Default to false on non-Chromecast builds.
30 use_ozone = is_chromecast && !is_android 30 use_ozone = is_chromecast && !is_android
31 31
32 # Indicates if Aura is enabled. Aura is a low-level windowing library, sort 32 # Indicates if Aura is enabled. Aura is a low-level windowing library, sort
33 # of a replacement for GDI or GTK. 33 # of a replacement for GDI or GTK.
34 use_aura = is_win || is_linux 34 use_aura = is_win || is_linux
35 35
36 # Whether we should use glib, a low level C utility library. 36 # Whether we should use glib, a low level C utility library.
37 use_glib = is_linux 37 use_glib = is_linux
38 38
39 # Indicates if Wayland display server support is enabled.
40 enable_wayland_server = is_chromeos
41
42 # Enable experimental vulkan backend. 39 # Enable experimental vulkan backend.
43 enable_vulkan = false 40 enable_vulkan = false
44 } 41 }
45 42
46 declare_args() { 43 declare_args() {
47 # True means the UI is built using the "views" framework. 44 # True means the UI is built using the "views" framework.
48 toolkit_views = 45 toolkit_views =
49 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast 46 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast
50 } 47 }
51 48
(...skipping 21 matching lines...) Expand all
73 use_pango = false 70 use_pango = false
74 } 71 }
75 72
76 # Whether to use atk, the Accessibility ToolKit library 73 # Whether to use atk, the Accessibility ToolKit library
77 use_atk = is_desktop_linux && use_x11 74 use_atk = is_desktop_linux && use_x11
78 # ============================================= 75 # =============================================
79 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 76 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
80 # ============================================= 77 # =============================================
81 # 78 #
82 # See comment at the top. 79 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698