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

Unified Diff: build/common.gypi

Issue 8222025: Allow speech input feature to be disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enable speech input by default (common.gypi) Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | content/renderer/render_view_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index eb1a36fe39d97c22c8df917eb237620780a15ad4..99156038949f444887f493e1658919026f82ca0e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -197,6 +197,9 @@
# Safe browsing is compiled in by default. Set to 0 to disable.
'safe_browsing%': 1,
+ # Speech input is compiled in by default. Set to 0 to disable.
+ 'input_speech%': 1,
+
# If this is set, the clang plugins used on the buildbot will be used.
# Run tools/clang/scripts/update.sh to make sure they are compiled.
# This causes 'clang_chrome_plugins_flags' to be set.
@@ -370,6 +373,7 @@
'p2p_apis%': '<(p2p_apis)',
'configuration_policy%': '<(configuration_policy)',
'safe_browsing%': '<(safe_browsing)',
+ 'input_speech%': '<(input_speech)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
'asan%': '<(asan)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
@@ -634,6 +638,7 @@
'proprietary_codecs%': '<(proprietary_codecs)',
'safe_browsing%': 0,
'configuration_policy%': 0,
+ 'input_speech%': 0,
# Builds the gtest targets as a shared_library.
# TODO(michaelbai): Use the fixed value 'shared_library' once it
@@ -978,6 +983,9 @@
['configuration_policy==1', {
'defines': ['ENABLE_CONFIGURATION_POLICY'],
}],
+ ['input_speech==1', {
+ 'defines': ['ENABLE_INPUT_SPEECH'],
+ }],
['fastbuild!=0', {
'conditions': [
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698