OLD | NEW |
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//webrtc/webrtc.gni") | 9 import("../../../../../webrtc/webrtc.gni") |
10 | 10 |
11 group("conversational_speech") { | 11 group("conversational_speech") { |
12 testonly = true | 12 testonly = true |
13 deps = [ | 13 deps = [ |
14 ":conversational_speech_generator", | 14 ":conversational_speech_generator", |
15 ] | 15 ] |
16 } | 16 } |
17 | 17 |
18 rtc_executable("conversational_speech_generator") { | 18 rtc_executable("conversational_speech_generator") { |
19 testonly = true | 19 testonly = true |
20 sources = [ | 20 sources = [ |
21 "generator.cc", | 21 "generator.cc", |
22 ] | 22 ] |
23 deps = [ | 23 deps = [ |
24 ":lib", | 24 ":lib", |
| 25 "../../../../../webrtc/base:rtc_base_approved", |
| 26 "../../../../../webrtc/test:test_support", |
25 "//third_party/gflags", | 27 "//third_party/gflags", |
26 "//webrtc/base:rtc_base_approved", | |
27 "//webrtc/test:test_support", | |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 rtc_static_library("lib") { | 31 rtc_static_library("lib") { |
32 testonly = true | 32 testonly = true |
33 sources = [ | 33 sources = [ |
34 "config.cc", | 34 "config.cc", |
35 "config.h", | 35 "config.h", |
36 "multiend_call.cc", | 36 "multiend_call.cc", |
37 "multiend_call.h", | 37 "multiend_call.h", |
38 "timing.cc", | 38 "timing.cc", |
39 "timing.h", | 39 "timing.h", |
40 "wavreader_abstract_factory.h", | 40 "wavreader_abstract_factory.h", |
41 "wavreader_adaptor.cc", | 41 "wavreader_adaptor.cc", |
42 "wavreader_adaptor.h", | 42 "wavreader_adaptor.h", |
43 "wavreader_factory.cc", | 43 "wavreader_factory.cc", |
44 "wavreader_factory.h", | 44 "wavreader_factory.h", |
45 "wavreader_interface.h", | 45 "wavreader_interface.h", |
46 ] | 46 ] |
47 deps = [ | 47 deps = [ |
48 "//webrtc:webrtc_common", | 48 "../../../../../webrtc:webrtc_common", |
49 "//webrtc/base:rtc_base_approved", | 49 "../../../../../webrtc/base:rtc_base_approved", |
50 "//webrtc/common_audio", | 50 "../../../../../webrtc/common_audio", |
51 ] | 51 ] |
52 visibility = [ ":*" ] # Only targets in this file can depend on this. | 52 visibility = [ ":*" ] # Only targets in this file can depend on this. |
53 } | 53 } |
54 | 54 |
55 rtc_source_set("unittest") { | 55 rtc_source_set("unittest") { |
56 testonly = true | 56 testonly = true |
57 sources = [ | 57 sources = [ |
58 "generator_unittest.cc", | 58 "generator_unittest.cc", |
| 59 "mock_wavreader.cc", |
59 "mock_wavreader.h", | 60 "mock_wavreader.h", |
60 "mock_wavreader_factory.cc", | 61 "mock_wavreader_factory.cc", |
61 "mock_wavreader_factory.h", | 62 "mock_wavreader_factory.h", |
62 ] | 63 ] |
63 deps = [ | 64 deps = [ |
64 ":lib", | 65 ":lib", |
| 66 "../../../../../webrtc:webrtc_common", |
| 67 "../../../../../webrtc/base:rtc_base_approved", |
| 68 "../../../../../webrtc/test:test_support", |
65 "//testing/gmock", | 69 "//testing/gmock", |
66 "//testing/gtest", | 70 "//testing/gtest", |
67 "//webrtc:webrtc_common", | |
68 "//webrtc/test:test_support", | |
69 ] | 71 ] |
70 } | 72 } |
OLD | NEW |