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

Unified Diff: ios/chrome/browser/ui/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
« no previous file with comments | « ios/chrome/BUILD.gn ('k') | ios/chrome/browser/ui/voice/text_to_speech_player.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/voice/BUILD.gn
diff --git a/components/data_usage/core/BUILD.gn b/ios/chrome/browser/ui/voice/BUILD.gn
similarity index 52%
copy from components/data_usage/core/BUILD.gn
copy to ios/chrome/browser/ui/voice/BUILD.gn
index 42829fe7884f5b2cf3fcd3b5914bbba71a63f9f9..06589873a10eb0cb4b4e45890ea181cbc4694e4d 100644
--- a/components/data_usage/core/BUILD.gn
+++ b/ios/chrome/browser/ui/voice/BUILD.gn
@@ -2,35 +2,38 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("core") {
+source_set("voice") {
sources = [
- "data_use.cc",
- "data_use.h",
- "data_use_aggregator.cc",
- "data_use_aggregator.h",
- "data_use_amortizer.h",
- "data_use_annotator.h",
+ "text_to_speech_player.h",
+ "text_to_speech_player.mm",
+ "voice_search_notification_names.h",
+ "voice_search_notification_names.mm",
]
+
deps = [
"//base",
- "//net",
- "//url",
]
+
+ libs = [ "AVFoundation.framework" ]
}
source_set("unit_tests") {
testonly = true
+
sources = [
- "data_use_aggregator_unittest.cc",
+ "text_to_speech_player_unittest.mm",
]
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
deps = [
- ":core",
"//base",
"//base/test:test_support",
- "//net:test_support",
+ "//ios/web",
+ "//ios/web:test_support",
"//testing/gtest",
+ "//url",
+ ]
+
+ public_deps = [
+ ":voice",
]
}
« no previous file with comments | « ios/chrome/BUILD.gn ('k') | ios/chrome/browser/ui/voice/text_to_speech_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698