| 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 ":conversational_speech_generator_unittest", | |
| 16 ] | 15 ] |
| 17 } | 16 } |
| 18 | 17 |
| 19 rtc_executable("conversational_speech_generator") { | 18 rtc_executable("conversational_speech_generator") { |
| 20 testonly = true | 19 testonly = true |
| 21 sources = [ | 20 sources = [ |
| 22 "generator.cc", | 21 "generator.cc", |
| 23 ] | 22 ] |
| 24 deps = [ | 23 deps = [ |
| 25 ":lib", | 24 ":lib", |
| 26 "//third_party/gflags", | 25 "//third_party/gflags", |
| 27 "//webrtc/base:rtc_base_approved", | 26 "//webrtc/base:rtc_base_approved", |
| 28 "//webrtc/test:test_support", | 27 "//webrtc/test:test_support", |
| 29 ] | 28 ] |
| 30 visibility = [ ":*" ] # Only targets in this file can depend on this. | 29 } |
| 31 } # bin | |
| 32 | 30 |
| 33 rtc_static_library("lib") { | 31 rtc_static_library("lib") { |
| 34 testonly = true | 32 testonly = true |
| 35 sources = [ | 33 sources = [ |
| 36 "config.cc", | 34 "config.cc", |
| 37 "config.h", | 35 "config.h", |
| 38 "timing.cc", | 36 "timing.cc", |
| 39 "timing.h", | 37 "timing.h", |
| 40 ] | 38 ] |
| 41 deps = [ | 39 deps = [ |
| 42 "//webrtc/base:rtc_base_approved", | 40 "//webrtc/base:rtc_base_approved", |
| 43 ] | 41 ] |
| 44 visibility = [ ":*" ] # Only targets in this file can depend on this. | 42 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 45 } # lib | 43 } |
| 46 | 44 |
| 47 rtc_test("conversational_speech_generator_unittest") { | 45 rtc_source_set("unittest") { |
| 48 testonly = true | 46 testonly = true |
| 49 deps = [ | |
| 50 ":lib", | |
| 51 "//testing/gtest", | |
| 52 "//webrtc//base:rtc_base_tests_main", | |
| 53 "//webrtc/test:test_support", | |
| 54 ] | |
| 55 sources = [ | 47 sources = [ |
| 56 "generator_unittest.cc", | 48 "generator_unittest.cc", |
| 57 ] | 49 ] |
| 58 visibility = [ ":*" ] # Only targets in this file can depend on this. | 50 deps = [ |
| 51 ":lib", |
| 52 "//testing/gmock", |
| 53 "//testing/gtest", |
| 54 "//webrtc/test:test_support", |
| 55 ] |
| 59 } | 56 } |
| OLD | NEW |