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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/compiler/BUILD.gn ('k') | build/download_sdk_extras.py » ('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 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in 47 # TODO(GYP) make mac and android work.
37 # the GN build. 48 enable_webrtc = !is_ios && !is_mac && !is_android
38 enable_webrtc = false
39 49
40 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. 50 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3.
41 proprietary_codecs = false 51 proprietary_codecs = false
42 } 52 }
43 53
44 # Additional dependent variables ----------------------------------------------- 54 # Additional dependent variables -----------------------------------------------
45 55
46 # Set the version of CLD. 56 # Set the version of CLD.
47 # 0: Don't specify the version. This option is for the Finch testing. 57 # 0: Don't specify the version. This option is for the Finch testing.
48 # 1: Use only CLD1. 58 # 1: Use only CLD1.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 159
150 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) 160 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
151 161
152 # Chrome OS: whether to also build the upcoming version of 162 # Chrome OS: whether to also build the upcoming version of
153 # ChromeVox, which can then be enabled via a command-line switch. 163 # ChromeVox, which can then be enabled via a command-line switch.
154 enable_chromevox_next = false 164 enable_chromevox_next = false
155 165
156 # Use brlapi from brltty for braille display support. 166 # Use brlapi from brltty for braille display support.
157 use_brlapi = is_chromeos 167 use_brlapi = is_chromeos
158 168
169 enable_media_router = !is_ios && !is_android
170
159 # Option controlling the use of GConf (the classic GNOME configuration 171 # Option controlling the use of GConf (the classic GNOME configuration
160 # system). 172 # system).
161 # TODO(GYP) also require !embedded to enable. 173 # TODO(GYP) also require !embedded to enable.
162 use_gconf = is_linux && !is_chromeos 174 use_gconf = is_linux && !is_chromeos
163 175
164 # Hangout services is an extension that adds extra features to Hangouts. 176 # 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 177 # For official GYP builds, this flag is set, it will likely need to be
166 # parameterized in the future for a similar use. 178 # parameterized in the future for a similar use.
167 enable_hangout_services_extension = false 179 enable_hangout_services_extension = false
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/download_sdk_extras.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698