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

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

Issue 2248043002: gn: Stop making |use_atk| depend on |use_gconf|. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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 # ============================================= 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
11 # legacy global #defines passed to the compiler (now replaced with generated 11 # legacy global #defines passed to the compiler (now replaced with generated
12 # buildflag headers -- see //build/buildflag_header.gni). 12 # buildflag headers -- see //build/buildflag_header.gni).
13 # 13 #
14 # These flags are ui-related so should eventually be moved to various places 14 # These flags are ui-related so should eventually be moved to various places
15 # in //ui/*. 15 # in //ui/*.
16 # 16 #
17 # There is more advice on where to put build flags in the "Build flag" section 17 # There is more advice on where to put build flags in the "Build flag" section
18 # of //build/config/BUILDCONFIG.gn. 18 # of //build/config/BUILDCONFIG.gn.
19 19
20 import("//build/config/chromecast_build.gni") 20 import("//build/config/chromecast_build.gni")
21 import("//build/config/features.gni")
22 21
23 declare_args() { 22 declare_args() {
24 # Indicates if Ash is enabled. Ash is the Aura Shell which provides a 23 # Indicates if Ash is enabled. Ash is the Aura Shell which provides a
25 # desktop-like environment for Aura. Requires use_aura = true 24 # desktop-like environment for Aura. Requires use_aura = true
26 use_ash = is_chromeos && !is_chromecast 25 use_ash = is_chromeos && !is_chromecast
27 26
28 # Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux 27 # Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux
29 # that does not require X11. Enabling this feature disables use of glib, x11, 28 # that does not require X11. Enabling this feature disables use of glib, x11,
30 # Pango, and Cairo. Default to false on non-Chromecast builds. 29 # Pango, and Cairo. Default to false on non-Chromecast builds.
31 use_ozone = is_chromecast && !is_android 30 use_ozone = is_chromecast && !is_android
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 79
81 if (is_linux && !use_ozone) { 80 if (is_linux && !use_ozone) {
82 use_cairo = true 81 use_cairo = true
83 use_pango = true 82 use_pango = true
84 } else { 83 } else {
85 use_cairo = false 84 use_cairo = false
86 use_pango = false 85 use_pango = false
87 } 86 }
88 87
89 # Whether to use atk, the Accessibility ToolKit library 88 # Whether to use atk, the Accessibility ToolKit library
90 use_atk = is_desktop_linux && use_x11 && use_gconf 89 use_atk = is_desktop_linux && use_x11
91 90
92 use_clipboard_aurax11 = 91 use_clipboard_aurax11 =
93 (is_desktop_linux && use_aura && use_x11) || enable_clipboard_aurax11 92 (is_desktop_linux && use_aura && use_x11) || enable_clipboard_aurax11
94 # ============================================= 93 # =============================================
95 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 94 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
96 # ============================================= 95 # =============================================
97 # 96 #
98 # See comment at the top. 97 # See comment at the top.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698