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

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

Issue 508823004: gn: Fix definition of |enable_plugins|. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 # 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 # TODO(GYP) enable this when nacl works in GN. 25 # TODO(GYP) enable this when nacl works in GN.
26 enable_nacl = false 26 enable_nacl = false
27 #enable_nacl = (!is_ios && !is_android) 27 #enable_nacl = (!is_ios && !is_android)
28 28
29 # If debug_devtools is set to true, JavaScript files for DevTools are stored 29 # If debug_devtools is set to true, JavaScript files for DevTools are stored
30 # as is and loaded from disk. Otherwise, a concatenated file is stored in 30 # as is and loaded from disk. Otherwise, a concatenated file is stored in
31 # resources.pak. It is still possible to load JS files from disk by passing 31 # resources.pak. It is still possible to load JS files from disk by passing
32 # --debug-devtools cmdline switch. 32 # --debug-devtools cmdline switch.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 # ChromeVox, which can then be enabled via a command-line switch. 162 # ChromeVox, which can then be enabled via a command-line switch.
163 enable_chromevox_next = false 163 enable_chromevox_next = false
164 164
165 # Use brlapi from brltty for braille display support. 165 # Use brlapi from brltty for braille display support.
166 use_brlapi = is_chromeos 166 use_brlapi = is_chromeos
167 167
168 # Option controlling the use of GConf (the classic GNOME configuration 168 # Option controlling the use of GConf (the classic GNOME configuration
169 # system). 169 # system).
170 # TODO(GYP) also require !embedded to enable. 170 # TODO(GYP) also require !embedded to enable.
171 use_gconf = is_linux && !is_chromeos 171 use_gconf = is_linux && !is_chromeos
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