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.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 ":convspeech_gen", | 14 ":conversational_speech_generator", |
15 ":conversational_speech_generator_unittest", | |
15 ] | 16 ] |
16 } | 17 } |
17 | 18 |
18 rtc_executable("convspeech_gen") { | 19 rtc_executable("conversational_speech_generator") { |
19 testonly = true | 20 testonly = true |
20 sources = [ | 21 sources = [ |
21 "convspeech_gen.cc", | 22 "generator.cc", |
22 "settings.cc", | |
23 "settings.h", | |
24 ] | 23 ] |
25 deps = [ | 24 deps = [ |
25 ":lib", | |
26 "//third_party/gflags", | 26 "//third_party/gflags", |
27 "//webrtc/base:rtc_base_approved", | 27 "//webrtc/base:rtc_base_approved", |
28 "//webrtc/test:test_support", | 28 "//webrtc/test:test_support", |
29 ] | 29 ] |
30 visibility = [ ":*" ] # Only targets in this file can depend on this. | 30 visibility = [ ":*" ] # Only targets in this file can depend on this. |
31 } # bin | |
32 | |
33 rtc_static_library("lib") { | |
34 testonly = true | |
35 sources = [ | |
36 "config.cc", | |
37 "config.h", | |
38 ] | |
39 deps = [] | |
40 visibility = [ ":*" ] # Only targets in this file can depend on this. | |
41 } # lib | |
42 | |
43 rtc_test("conversational_speech_generator_unittest") { | |
kjellander (google.com)
2017/03/23 06:24:36
Adding a test like this doesn't make it run. Pleas
| |
44 testonly = true | |
45 deps = [ | |
46 ":lib", | |
47 "//testing/gtest", | |
48 "//webrtc//base:rtc_base_tests_main", | |
49 "//webrtc/test:test_support", | |
50 ] | |
51 sources = [ | |
52 "generator_unittest.cc", | |
53 ] | |
54 visibility = [ ":*" ] # Only targets in this file can depend on this. | |
31 } | 55 } |
OLD | NEW |