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

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

Issue 356963003: Introduce enable_web_speech to replace with input_speech (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 6 years, 5 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/common.gypi ('k') | chrome/chrome_tests.gypi » ('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.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 enable_webrtc = !is_ios 61 enable_webrtc = !is_ios
62 62
63 # Enable notifications everywhere except Android. 63 # Enable notifications everywhere except Android.
64 # Android is http://crbug.com/115320 64 # Android is http://crbug.com/115320
65 enable_notifications = !is_android 65 enable_notifications = !is_android
66 66
67 # TODO(brettw) this should be moved to net and only dependents get this define. 67 # TODO(brettw) this should be moved to net and only dependents get this define.
68 disable_ftp_support = is_ios 68 disable_ftp_support = is_ios
69 69
70 # Speech input is compiled in by default. Set to 0 to disable. 70 enable_web_speech = (!is_android && !is_ios)
71 # TODO(tommyw): Speech Input doesn't exist anymore. Clarify the scope
72 # of this flag (and probably rename it).
73 enable_speech_input = true
74 71
75 use_dbus = is_linux 72 use_dbus = is_linux
76 73
77 enable_extensions = (!is_android && !is_ios) 74 enable_extensions = (!is_android && !is_ios)
78 75
79 # Variable safe_browsing is used to control the build time configuration for 76 # Variable safe_browsing is used to control the build time configuration for
80 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0 77 # safe browsing feature. Safe browsing can be compiled in 3 different levels: 0
81 # disables it, 1 enables it fully, and 2 enables only UI and reporting features 78 # disables it, 1 enables it fully, and 2 enables only UI and reporting features
82 # without enabling phishing and malware detection. This is useful to integrate 79 # without enabling phishing and malware detection. This is useful to integrate
83 # a third party phishing/malware detection to existing safe browsing logic. 80 # a third party phishing/malware detection to existing safe browsing logic.
84 if (is_android) { 81 if (is_android) {
85 safe_browsing_mode = 2 82 safe_browsing_mode = 2
86 } else if (is_ios) { 83 } else if (is_ios) {
87 safe_browsing_mode = 0 84 safe_browsing_mode = 0
88 } else { 85 } else {
89 safe_browsing_mode = 1 86 safe_browsing_mode = 1
90 } 87 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698