| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 static_library("core") { | 5 source_set("voice") { |
| 6 sources = [ | 6 sources = [ |
| 7 "data_use.cc", | 7 "text_to_speech_player.h", |
| 8 "data_use.h", | 8 "text_to_speech_player.mm", |
| 9 "data_use_aggregator.cc", | 9 "voice_search_notification_names.h", |
| 10 "data_use_aggregator.h", | 10 "voice_search_notification_names.mm", |
| 11 "data_use_amortizer.h", | |
| 12 "data_use_annotator.h", | |
| 13 ] | 11 ] |
| 12 |
| 14 deps = [ | 13 deps = [ |
| 15 "//base", | 14 "//base", |
| 16 "//net", | |
| 17 "//url", | |
| 18 ] | 15 ] |
| 16 |
| 17 libs = [ "AVFoundation.framework" ] |
| 19 } | 18 } |
| 20 | 19 |
| 21 source_set("unit_tests") { | 20 source_set("unit_tests") { |
| 22 testonly = true | 21 testonly = true |
| 22 |
| 23 sources = [ | 23 sources = [ |
| 24 "data_use_aggregator_unittest.cc", | 24 "text_to_speech_player_unittest.mm", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 28 | |
| 29 deps = [ | 27 deps = [ |
| 30 ":core", | |
| 31 "//base", | 28 "//base", |
| 32 "//base/test:test_support", | 29 "//base/test:test_support", |
| 33 "//net:test_support", | 30 "//ios/web", |
| 31 "//ios/web:test_support", |
| 34 "//testing/gtest", | 32 "//testing/gtest", |
| 33 "//url", |
| 34 ] |
| 35 |
| 36 public_deps = [ |
| 37 ":voice", |
| 35 ] | 38 ] |
| 36 } | 39 } |
| OLD | NEW |