| 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",
|
| ]
|
| }
|
|
|