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

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

Issue 381113004: Add chrome/browser/ui to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/ui.gni » ('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 # This file contains UI-related build flags. It should theoretically be in the 5 # This file contains UI-related build flags. It should theoretically be in the
6 # src/ui directory and only things that depend on the ui module should get the 6 # src/ui directory and only things that depend on the ui module should get the
7 # definitions. 7 # definitions.
8 # 8 #
9 # However, today we have many "bad" dependencies on some of these flags from, 9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global. 10 # e.g. base, so they need to be global.
11 # 11 #
12 # See also build/config/ui.gni 12 # See also build/config/ui.gni
13 13
14 if (is_android) { 14 if (is_android) {
15 import("//build/config/android/config.gni") 15 import("//build/config/android/config.gni")
16 } 16 }
17 17
18 declare_args() { 18 declare_args() {
19 # Multicast DNS. 19 # Multicast DNS.
20 enable_mdns = is_win || is_linux 20 enable_mdns = is_win || is_linux
21 21
22 enable_plugins = !is_android || !is_ios 22 enable_plugins = !is_android || !is_ios
23 23
24 # Enables Native Client support. 24 # Enables Native Client support.
25 enable_nacl = (!is_ios && !is_android) 25 enable_nacl = (!is_ios && !is_android)
26
27 # If debug_devtools is set to true, JavaScript files for DevTools are stored
28 # as is and loaded from disk. Otherwise, a concatenated file is stored in
29 # resources.pak. It is still possible to load JS files from disk by passing
30 # --debug-devtools cmdline switch.
31 debug_devtools = false
26 } 32 }
27 33
28 # Additional dependent variables ----------------------------------------------- 34 # Additional dependent variables -----------------------------------------------
29 35
30 # Set the version of CLD. 36 # Set the version of CLD.
31 # 0: Don't specify the version. This option is for the Finch testing. 37 # 0: Don't specify the version. This option is for the Finch testing.
32 # 1: Use only CLD1. 38 # 1: Use only CLD1.
33 # 2: Use only CLD2. 39 # 2: Use only CLD2.
34 if (is_android || is_ios) { 40 if (is_android || is_ios) {
35 cld_version = 1 41 cld_version = 1
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build) 143 enable_autofill_dialog = !is_ios && !(is_android && is_android_webview_build)
138 144
139 enable_wifi_bootstrapping = is_win || is_mac 145 enable_wifi_bootstrapping = is_win || is_mac
140 146
141 # Image loader extension is enabled on ChromeOS only. 147 # Image loader extension is enabled on ChromeOS only.
142 enable_image_loader_extension = is_chromeos 148 enable_image_loader_extension = is_chromeos
143 149
144 enable_remoting = !is_ios && !is_android 150 enable_remoting = !is_ios && !is_android
145 151
146 enable_google_now = !is_ios && !is_android 152 enable_google_now = !is_ios && !is_android
153
154 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
155
156 # Chrome OS: whether to also build the upcoming version of
157 # ChromeVox, which can then be enabled via a command-line switch.
158 enable_chromevox_next = false
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/ui.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698