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

Side by Side Diff: chrome/common/features.gni

Issue 2213713002: Expand scope of enable_hotwording. (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix grit Created 4 years, 4 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 | « chrome/browser/extensions/BUILD.gn ('k') | 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 is the GN version of //chrome/chrome_features.gypi. 5 # This is the GN version of //chrome/chrome_features.gypi.
6 # Please keep in sync! 6 # Please keep in sync!
7 7
8 import("//build/config/chrome_build.gni")
8 import("//build/config/chromecast_build.gni") 9 import("//build/config/chromecast_build.gni")
9 10
11 # Please keep features in alphabetical order.
10 declare_args() { 12 declare_args() {
11 # Google Now is disabled to prepare for its removal.
12 # http://crbug.com/539674
13 enable_google_now = false
14
15 # Whether the Java UI is being used (Java infobars and popups, Java native 13 # Whether the Java UI is being used (Java infobars and popups, Java native
16 # settings and first run experience, sign-in etc.). 14 # settings and first run experience, sign-in etc.).
17 # Default to true if compiling for android, but allow this being overriden 15 # Default to true if compiling for android, but allow this being overriden
18 # through the environment. 16 # through the environment.
19 android_java_ui = is_android 17 android_java_ui = is_android
20 18
21 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
22 # pages. https://github.com/polymer/vulcanize
23 use_vulcanize = true
24
25 # Enables support for background apps. 19 # Enables support for background apps.
26 enable_background = !is_ios && !is_android && !is_chromecast 20 enable_background = !is_ios && !is_android && !is_chromecast
27 21
28 enable_one_click_signin = 22 enable_one_click_signin =
29 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) 23 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast)
30 24
25 # Google Now is disabled to prepare for its removal.
26 # http://crbug.com/539674
27 enable_google_now = false
28
29 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This
30 # will download a closed-source NaCl module at startup.) Chrome-branded
31 # ChromeOS builds have this enabled by default.
32 enable_hotwording = is_chrome_branded && is_chromeos
33
31 # Set to true to bundle all the mash related mojo services into chrome. 34 # Set to true to bundle all the mash related mojo services into chrome.
32 # Specify --mash to chrome to have chrome start the mash environment. 35 # Specify --mash to chrome to have chrome start the mash environment.
33 enable_package_mash_services = is_chromeos 36 enable_package_mash_services = is_chromeos
34 37
35 # Enables vr shell. 38 # Enables vr shell.
36 enable_vr_shell = false 39 enable_vr_shell = false
40
41 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
42 # pages. https://github.com/polymer/vulcanize
43 use_vulcanize = true
37 } 44 }
38 45
39 chrome_grit_defines = [ 46 chrome_grit_defines = [
40 "enable_background=$enable_background", 47 "enable_background=$enable_background",
41 "enable_google_now=$enable_google_now", 48 "enable_google_now=$enable_google_now",
49 "enable_hotwording=$enable_hotwording",
Lei Zhang 2016/08/04 01:02:07 The <if expr="enable_hotwording"> in chrome/browse
42 "use_vulcanize=$use_vulcanize", 50 "use_vulcanize=$use_vulcanize",
43 ] 51 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698