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

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

Issue 2449593002: [ios] Adds support for parsing Text-to-Speech search results. (Closed)
Patch Set: Fix AVFoundation dependency. 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/ui/voice/BUILD.gn
diff --git a/ios/chrome/browser/ui/voice/BUILD.gn b/ios/chrome/browser/ui/voice/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3093d63d63833915d05ca4a34a39229ec793d245
--- /dev/null
+++ b/ios/chrome/browser/ui/voice/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("tts") {
sdefresne 2016/10/25 13:20:30 I would call this "voice" or change the directory
rohitrao (ping after 24h) 2016/10/25 15:23:12 Done. In general, the "tts" code is going into se
+ sources = [
+ "text_to_speech_player.h",
+ "text_to_speech_player.mm",
+ "voice_search_notification_names.h",
+ "voice_search_notification_names.mm",
+ ]
+
+ deps = [
+ "//base",
+ ]
+
+ libs = [ "AVFoundation.framework" ]
+}
+
+source_set("tts_unit_tests") {
sdefresne 2016/10/25 13:20:30 We usually just call those targets "unit_tests" as
rohitrao (ping after 24h) 2016/10/25 15:23:12 Done.
+ testonly = true
+
+ sources = [
+ "text_to_speech_player_unittest.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//ios/web",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ "//url",
+ ]
+
+ public_deps = [
+ ":tts",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698