Chromium Code Reviews| 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 |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 "//webrtc/base:rtc_base_approved", | 26 "//webrtc/base:rtc_base_approved", |
| 27 "//webrtc/test:test_support", | 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", | |
| 37 "multiend_call.h", | |
| 36 "timing.cc", | 38 "timing.cc", |
| 37 "timing.h", | 39 "timing.h", |
| 40 "wavreader_abstract_factory.h", | |
| 41 | |
| 42 # TODO(alessiob): implement and enable adaptor and factory files. | |
| 43 # "wavreader_adaptor.cc", | |
| 44 # "wavreader_adaptor.h", | |
| 45 # "wavreader_factory.cc", | |
| 46 # "wavreader_factory.h", | |
|
AleBzk
2017/03/23 15:07:13
I added these files to (hopefully) help the review
hlundin-webrtc
2017/03/24 13:44:04
Include them in the build, and make stub implement
AleBzk
2017/03/27 08:24:13
Done.
| |
| 47 "wavreader_interface.h", | |
| 38 ] | 48 ] |
| 39 deps = [ | 49 deps = [ |
| 40 "//webrtc/base:rtc_base_approved", | 50 "//webrtc/base:rtc_base_approved", |
| 51 "//webrtc/common_audio", | |
|
AleBzk
2017/03/23 15:07:13
This dep will be used to borrow WavReader, which i
| |
| 41 ] | 52 ] |
| 42 visibility = [ ":*" ] # Only targets in this file can depend on this. | 53 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 43 } | 54 } |
| 44 | 55 |
| 45 rtc_source_set("unittest") { | 56 rtc_source_set("unittest") { |
| 46 testonly = true | 57 testonly = true |
| 47 sources = [ | 58 sources = [ |
| 48 "generator_unittest.cc", | 59 "generator_unittest.cc", |
| 60 "mock_wavreader.cc", | |
| 61 "mock_wavreader.h", | |
| 62 "mock_wavreader_factory.cc", | |
| 63 "mock_wavreader_factory.h", | |
| 49 ] | 64 ] |
| 50 deps = [ | 65 deps = [ |
| 51 ":lib", | 66 ":lib", |
| 52 "//testing/gmock", | 67 "//testing/gmock", |
| 53 "//testing/gtest", | 68 "//testing/gtest", |
| 54 "//webrtc/test:test_support", | 69 "//webrtc/test:test_support", |
| 55 ] | 70 ] |
| 56 } | 71 } |
| OLD | NEW |