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 source_set("voice") { | 5 source_set("voice") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "text_to_speech_player+subclassing.h", | 8 "text_to_speech_player+subclassing.h", |
9 "text_to_speech_player.h", | 9 "text_to_speech_player.h", |
10 "text_to_speech_player.mm", | 10 "text_to_speech_player.mm", |
(...skipping 15 matching lines...) Expand all Loading... |
26 sources = [ | 26 sources = [ |
27 "text_to_speech_player_unittest.mm", | 27 "text_to_speech_player_unittest.mm", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":voice", | 31 ":voice", |
32 ":voice_unit_tests_bundle_data", | 32 ":voice_unit_tests_bundle_data", |
33 "//base", | 33 "//base", |
34 "//base/test:test_support", | 34 "//base/test:test_support", |
35 "//ios/web", | 35 "//ios/web", |
36 "//ios/web:test_support", | 36 "//ios/web/public/test", |
37 "//testing/gtest", | 37 "//testing/gtest", |
38 "//url", | 38 "//url", |
39 ] | 39 ] |
40 } | 40 } |
41 | 41 |
42 bundle_data("voice_unit_tests_bundle_data") { | 42 bundle_data("voice_unit_tests_bundle_data") { |
43 visibility = [ ":unit_tests" ] | 43 visibility = [ ":unit_tests" ] |
44 testonly = true | 44 testonly = true |
45 sources = [ | 45 sources = [ |
46 "//ios/chrome/test/data/voice/test_sound.m4a", | 46 "//ios/chrome/test/data/voice/test_sound.m4a", |
47 ] | 47 ] |
48 outputs = [ | 48 outputs = [ |
49 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 49 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
50 "{{source_file_part}}", | 50 "{{source_file_part}}", |
51 ] | 51 ] |
52 } | 52 } |
OLD | NEW |