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

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

Issue 1422333008: Remove Windows-related GN build configuration (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 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 | « build/config/crypto.gni ('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 Chrome-feature-related build flags (see ui.gni for 5 # This file contains Chrome-feature-related build flags (see ui.gni for
6 # UI-related ones). These should theoretically be moved to the build files of 6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves. 7 # the features themselves.
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 to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
11 # anything that needs a grit define must be in either this file or ui.gni. 11 # anything that needs a grit define must be in either this file or ui.gni.
12 # 12 #
13 # PLEASE TRY TO AVOID ADDING FLAGS TO THIS FILE in cases where grit isn't 13 # PLEASE TRY TO AVOID ADDING FLAGS TO THIS FILE in cases where grit isn't
14 # required. See the declare_args block of BUILDCONFIG.gn for advice on how 14 # required. See the declare_args block of BUILDCONFIG.gn for advice on how
15 # to set up feature flags. 15 # to set up feature flags.
16 16
17 import("//build/config/chrome_build.gni") 17 import("//build/config/chrome_build.gni")
18 if (is_android) { 18 if (is_android) {
19 import("//build/config/android/config.gni") 19 import("//build/config/android/config.gni")
20 } 20 }
21 21
22 declare_args() { 22 declare_args() {
23 # Multicast DNS. 23 # Multicast DNS.
24 enable_mdns = is_win || is_linux 24 enable_mdns = is_linux
25 25
26 enable_plugins = !is_android && !is_ios 26 enable_plugins = !is_android && !is_ios
27 27
28 # Enables Native Client support. 28 # Enables Native Client support.
29 # TODO(GYP): Get NaCl linking on other platforms. 29 # TODO(GYP): Get NaCl linking on other platforms.
30 # Also, see if we can always get rid of enable_nacl_untrusted and 30 # Also, see if we can always get rid of enable_nacl_untrusted and
31 # enable_pnacl and always build them if enable_nacl is true. 31 # enable_pnacl and always build them if enable_nacl is true.
32 # The "is_nacl" part of the condition is needed to ensure that 32 # The "is_nacl" part of the condition is needed to ensure that
33 # the untrusted code is built properly; arguably it should be 33 # the untrusted code is built properly; arguably it should be
34 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but 34 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but
(...skipping 29 matching lines...) Expand all
64 64
65 # Enables support for background apps. 65 # Enables support for background apps.
66 enable_background = !is_ios && !is_android 66 enable_background = !is_ios && !is_android
67 67
68 enable_captive_portal_detection = !is_android && !is_ios 68 enable_captive_portal_detection = !is_android && !is_ios
69 69
70 # Enables use of the session service, which is enabled by default. 70 # Enables use of the session service, which is enabled by default.
71 # Android stores them separately on the Java side. 71 # Android stores them separately on the Java side.
72 enable_session_service = !is_android && !is_ios 72 enable_session_service = !is_android && !is_ios
73 73
74 enable_plugin_installation = is_win || is_mac 74 enable_plugin_installation = is_mac
75 75
76 enable_app_list = !is_ios && !is_android 76 enable_app_list = !is_ios && !is_android
77 77
78 enable_supervised_users = !is_ios 78 enable_supervised_users = !is_ios
79 79
80 enable_autofill_dialog = !is_ios 80 enable_autofill_dialog = !is_ios
81 81
82 enable_google_now = !is_ios && !is_android 82 enable_google_now = !is_ios && !is_android
83 83
84 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) 84 enable_one_click_signin = is_mac || (is_linux && !is_chromeos)
85 85
86 enable_remoting = !is_ios && !is_android 86 enable_remoting = !is_ios && !is_android
87 87
88 # Enable hole punching for the protected video. 88 # Enable hole punching for the protected video.
89 enable_video_hole = is_android 89 enable_video_hole = is_android
90 90
91 # Enables browser side Content Decryption Modules. Required for embedders 91 # Enables browser side Content Decryption Modules. Required for embedders
92 # (e.g. Android and ChromeCast) that use a browser side CDM. 92 # (e.g. Android and ChromeCast) that use a browser side CDM.
93 enable_browser_cdms = is_android 93 enable_browser_cdms = is_android
94 94
(...skipping 23 matching lines...) Expand all
118 } else { 118 } else {
119 cld_version = 2 119 cld_version = 2
120 } 120 }
121 121
122 # libudev usage. 122 # libudev usage.
123 use_udev = is_linux && !is_fnl 123 use_udev = is_linux && !is_fnl
124 124
125 # Enable the spell checker. 125 # Enable the spell checker.
126 enable_spellcheck = !is_android 126 enable_spellcheck = !is_android
127 127
128 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) 128 enable_pepper_cdms = enable_plugins && (is_linux || is_mac)
129 129
130 # Enable basic printing support and UI. 130 # Enable basic printing support and UI.
131 enable_basic_printing = !is_chromeos 131 enable_basic_printing = !is_chromeos
132 132
133 # Enable printing with print preview. It does not imply 133 # Enable printing with print preview. It does not imply
134 # enable_basic_printing. It's possible to build Chrome with preview only. 134 # enable_basic_printing. It's possible to build Chrome with preview only.
135 enable_print_preview = !is_android 135 enable_print_preview = !is_android
136 136
137 # The seccomp-bpf sandbox is only supported on three architectures 137 # The seccomp-bpf sandbox is only supported on three architectures
138 # currently. 138 # currently.
(...skipping 19 matching lines...) Expand all
158 158
159 use_cups = is_desktop_linux || is_mac 159 use_cups = is_desktop_linux || is_mac
160 160
161 enable_themes = !is_android && !is_ios 161 enable_themes = !is_android && !is_ios
162 162
163 # TODO(scottmg) remove this when we've fixed printing. 163 # TODO(scottmg) remove this when we've fixed printing.
164 win_pdf_metafile_for_printing = true 164 win_pdf_metafile_for_printing = true
165 165
166 # Whether we are using the rlz library or not. Platforms like Android send 166 # Whether we are using the rlz library or not. Platforms like Android send
167 # rlz codes for searches but do not use the library. 167 # rlz codes for searches but do not use the library.
168 enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos) 168 enable_rlz = is_chrome_branded && (is_mac || is_ios || is_chromeos)
169 169
170 enable_settings_app = enable_app_list && !is_chromeos 170 enable_settings_app = enable_app_list && !is_chromeos
171 171
172 enable_service_discovery = enable_mdns || is_mac 172 enable_service_discovery = enable_mdns || is_mac
173 173
174 enable_wifi_bootstrapping = is_win || is_mac 174 enable_wifi_bootstrapping = is_mac
175 175
176 # Image loader extension is enabled on ChromeOS only. 176 # Image loader extension is enabled on ChromeOS only.
177 enable_image_loader_extension = is_chromeos 177 enable_image_loader_extension = is_chromeos
178 178
179 # Chrome OS: whether to also build the upcoming version of 179 # Chrome OS: whether to also build the upcoming version of
180 # ChromeVox, which can then be enabled via a command-line switch. 180 # ChromeVox, which can then be enabled via a command-line switch.
181 enable_chromevox_next = false 181 enable_chromevox_next = false
182 182
183 # Use brlapi from brltty for braille display support. 183 # Use brlapi from brltty for braille display support.
184 use_brlapi = is_chromeos 184 use_brlapi = is_chromeos
185 185
186 enable_media_router = !is_ios && !is_android 186 enable_media_router = !is_ios && !is_android
187 187
188 # Option controlling the use of GConf (the classic GNOME configuration 188 # Option controlling the use of GConf (the classic GNOME configuration
189 # system). 189 # system).
190 # TODO(GYP) also require !embedded to enable. 190 # TODO(GYP) also require !embedded to enable.
191 use_gconf = is_linux && !is_chromeos 191 use_gconf = is_linux && !is_chromeos
192 192
193 # Hangout services is an extension that adds extra features to Hangouts. 193 # Hangout services is an extension that adds extra features to Hangouts.
194 # For official GYP builds, this flag is set, it will likely need to be 194 # For official GYP builds, this flag is set, it will likely need to be
195 # parameterized in the future for a similar use. 195 # parameterized in the future for a similar use.
196 enable_hangout_services_extension = false 196 enable_hangout_services_extension = false
197 197
198 # Whether to back up data before sync. 198 # Whether to back up data before sync.
199 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 199 enable_pre_sync_backup = is_mac || (is_linux && !is_chromeos)
OLDNEW
« no previous file with comments | « build/config/crypto.gni ('k') | build/config/ui.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698