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

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

Issue 877553008: Land prep work to enable NaCl in the Linux x64 GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up for review Created 5 years, 10 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
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(dpranke): Get NaCl linking on Mac and Win as well.
26 enable_nacl = false 26 # Also, see if we can always get rid of enable_nacl_untrusted and
27 #enable_nacl = (!is_ios && !is_android) 27 # enable_pnacl and always build them if enable_nacl is true.
28 # enable_nacl = !is_ios && !is_android
29 enable_nacl = is_linux || is_nacl
Nick Bray (chromium) 2015/02/05 23:21:45 Nit: it seems strange is_nacl is needed. Why?
Dirk Pranke 2015/02/05 23:52:19 Because a lot of the conditions are if (enable_nac
30 enable_nacl_untrusted = enable_nacl
31 enable_pnacl = true
28 32
29 # If debug_devtools is set to true, JavaScript files for DevTools are stored 33 # 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 34 # 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 35 # resources.pak. It is still possible to load JS files from disk by passing
32 # --debug-devtools cmdline switch. 36 # --debug-devtools cmdline switch.
33 debug_devtools = false 37 debug_devtools = false
34 38
35 # Enables WebRTC. 39 # Enables WebRTC.
36 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in 40 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in
37 # the GN build. 41 # the GN build.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 162
159 # Option controlling the use of GConf (the classic GNOME configuration 163 # Option controlling the use of GConf (the classic GNOME configuration
160 # system). 164 # system).
161 # TODO(GYP) also require !embedded to enable. 165 # TODO(GYP) also require !embedded to enable.
162 use_gconf = is_linux && !is_chromeos 166 use_gconf = is_linux && !is_chromeos
163 167
164 # Hangout services is an extension that adds extra features to Hangouts. 168 # Hangout services is an extension that adds extra features to Hangouts.
165 # For official GYP builds, this flag is set, it will likely need to be 169 # For official GYP builds, this flag is set, it will likely need to be
166 # parameterized in the future for a similar use. 170 # parameterized in the future for a similar use.
167 enable_hangout_services_extension = false 171 enable_hangout_services_extension = false
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698