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

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

Issue 1201163002: Remove hotword installation code at compile time if hotwording disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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/BUILD.gn ('k') | chrome/browser/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 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,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 # --debug-devtools cmdline switch. 50 # --debug-devtools cmdline switch.
51 debug_devtools = false 51 debug_devtools = false
52 52
53 # Enables WebRTC. 53 # Enables WebRTC.
54 # TODO(GYP) make mac work. 54 # TODO(GYP) make mac work.
55 enable_webrtc = !is_ios 55 enable_webrtc = !is_ios
56 56
57 # Enables the Media Router. 57 # Enables the Media Router.
58 enable_media_router = !is_ios 58 enable_media_router = !is_ios
59 59
60 # 'Ok Google' hotwording is disabled by default in open source builds. Set to
61 # true to enable. (This will download a closed-source NaCl module at startup.)
62 # Chrome-branded builds have this enabled by default.
63 enable_hotwording = is_chrome_branded && is_chromeos
64
60 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. 65 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3.
61 # Android OS includes support for proprietary codecs regardless of building 66 # Android OS includes support for proprietary codecs regardless of building
62 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with 67 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with
63 # proprietary codecs. 68 # proprietary codecs.
64 proprietary_codecs = is_android || is_chrome_branded || is_chromecast 69 proprietary_codecs = is_android || is_chrome_branded || is_chromecast
65 70
66 enable_configuration_policy = !is_ios 71 enable_configuration_policy = !is_ios
67 72
68 # Enables support for background apps. 73 # Enables support for background apps.
69 enable_background = !is_ios && !is_android 74 enable_background = !is_ios && !is_android
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 199
195 # Option controlling the use of GConf (the classic GNOME configuration 200 # Option controlling the use of GConf (the classic GNOME configuration
196 # system). 201 # system).
197 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless 202 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless
198 203
199 # Enable WebVR support by default on Android 204 # Enable WebVR support by default on Android
200 # Still requires command line flag to access API 205 # Still requires command line flag to access API
201 enable_webvr = is_android 206 enable_webvr = is_android
202 207
203 use_gio = is_desktop_linux && !is_headless 208 use_gio = is_desktop_linux && !is_headless
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698