Index: content/content_browser.gypi |
diff --git a/content/content_browser.gypi b/content/content_browser.gypi |
index 50a14a9931207b7a82c2c1ee673c1717d4712012..1ab1671ca95e28a9ae63deea18997e211e394dfb 100644 |
--- a/content/content_browser.gypi |
+++ b/content/content_browser.gypi |
@@ -1726,11 +1726,6 @@ |
['exclude', '^browser/geolocation/network_location_request\\.(cc|h)$'], |
['exclude', '^browser/tracing/trace_uploader\\.(cc|h)$'], |
['exclude', '^browser/tracing/tracing_ui\\.(cc|h)$'], |
- ['exclude', '^browser/speech/'], |
- ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h)$'], |
- ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'], |
- ['include', '^browser/speech/speech_recognizer\\.h$'], |
- ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'], |
], |
'sources': [ |
'<@(android_browser_sources)', |
@@ -1811,12 +1806,21 @@ |
'<@(plugin_browser_sources)', |
], |
}], |
- ['input_speech==1', { |
+ ['enable_web_speech==1', { |
'dependencies': [ |
'../third_party/flac/flac.gyp:libflac', |
'../third_party/speex/speex.gyp:libspeex', |
], |
}], |
+ ['enable_web_speech==0 and OS=="android"', { |
+ 'sources/': [ |
+ ['exclude', '^browser/speech/'], |
+ ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h)$'], |
+ ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'], |
+ ['include', '^browser/speech/speech_recognizer\\.h$'], |
+ ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'], |
+ ], |
+ }], |
['OS == "win"', { |
'sources!': [ |
'browser/geolocation/empty_wifi_data_provider.cc', |