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

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: yet more feedback 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
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/BUILD.gn » ('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 # TODO(GYP) enable this when nacl works in GN. 25 # TODO(GYP): Get NaCl linking on other platforms.
26 # Also, see if we can always get rid of enable_nacl_untrusted and
27 # enable_pnacl and always build them if enable_nacl is true.
28 # The "is_nacl" part of the condition is needed to ensure that
29 # the untrusted code is built properly; arguably it should be
30 # guarded by "is_nacl" directly rather than enable_nacl_untrusted, but
31 # this will go away when Mac and Win are working and we can just use
32 # the commented out logic.
33 # enable_nacl = !is_ios && !is_android
34 # Currently this *should* work:
35 # enable_nacl = (is_linux && build_cpu_arch == "x64") || is_nacl
26 enable_nacl = false 36 enable_nacl = false
27 #enable_nacl = (!is_ios && !is_android) 37 enable_nacl_untrusted = enable_nacl
38 enable_pnacl = enable_nacl_untrusted
28 39
29 # If debug_devtools is set to true, JavaScript files for DevTools are stored 40 # 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 41 # 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 42 # resources.pak. It is still possible to load JS files from disk by passing
32 # --debug-devtools cmdline switch. 43 # --debug-devtools cmdline switch.
33 debug_devtools = false 44 debug_devtools = false
34 45
35 # Enables WebRTC. 46 # Enables WebRTC.
36 # TODO(GYP) make mac and android work. 47 # TODO(GYP) make mac and android work.
37 enable_webrtc = !is_ios && !is_mac && !is_android 48 enable_webrtc = !is_ios && !is_mac && !is_android
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 170
160 # Option controlling the use of GConf (the classic GNOME configuration 171 # Option controlling the use of GConf (the classic GNOME configuration
161 # system). 172 # system).
162 # TODO(GYP) also require !embedded to enable. 173 # TODO(GYP) also require !embedded to enable.
163 use_gconf = is_linux && !is_chromeos 174 use_gconf = is_linux && !is_chromeos
164 175
165 # Hangout services is an extension that adds extra features to Hangouts. 176 # Hangout services is an extension that adds extra features to Hangouts.
166 # For official GYP builds, this flag is set, it will likely need to be 177 # For official GYP builds, this flag is set, it will likely need to be
167 # parameterized in the future for a similar use. 178 # parameterized in the future for a similar use.
168 enable_hangout_services_extension = false 179 enable_hangout_services_extension = false
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698