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

Unified Diff: ios/chrome/browser/voice/BUILD.gn

Issue 2449593002: [ios] Adds support for parsing Text-to-Speech search results. (Closed)
Patch Set: Disabled Created 4 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
Index: ios/chrome/browser/voice/BUILD.gn
diff --git a/ios/chrome/browser/voice/BUILD.gn b/ios/chrome/browser/voice/BUILD.gn
index 5342d5a1382f43bfbf6212ac6e3cad16362bd4e0..9319d04b3baf20779f0c39a061a31c07d9d60691 100644
--- a/ios/chrome/browser/voice/BUILD.gn
+++ b/ios/chrome/browser/voice/BUILD.gn
@@ -19,3 +19,48 @@ source_set("voice") {
"//ios/public/provider/chrome/browser",
]
}
+
+source_set("tts") {
+ sources = [
+ "text_to_speech_listener.h",
+ "text_to_speech_listener.mm",
+ "text_to_speech_parser.h",
+ "text_to_speech_parser.mm",
+ "voice_search_url_rewriter.h",
+ "voice_search_url_rewriter.mm",
+ ]
+
+ deps = [
+ ":voice",
+ "//base",
+ "//components/google/core/browser",
+ "//components/prefs",
+ "//ios/chrome/browser",
+ "//ios/public/provider/chrome/browser",
+ "//ios/web",
+ "//net",
+ "//third_party/google_toolbox_for_mac",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "text_to_speech_listener_unittest.mm",
+ "text_to_speech_parser_unittest.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//ios/web",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ "//third_party/google_toolbox_for_mac",
+ ]
+
+ public_deps = [
+ ":tts",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/ui/voice/voice_search_notification_names.mm ('k') | ios/chrome/browser/voice/text_to_speech_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698