OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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.gni") |
10 import("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
(...skipping 11 matching lines...) Expand all Loading... |
22 "media_file", | 22 "media_file", |
23 "pacing", | 23 "pacing", |
24 "remote_bitrate_estimator", | 24 "remote_bitrate_estimator", |
25 "rtp_rtcp", | 25 "rtp_rtcp", |
26 "utility", | 26 "utility", |
27 "video_coding", | 27 "video_coding", |
28 "video_processing", | 28 "video_processing", |
29 ] | 29 ] |
30 } | 30 } |
31 | 31 |
32 rtc_source_set("module_api") { | |
33 sources = [ | |
34 "include/module.h", | |
35 "include/module_common_types.h", | |
36 ] | |
37 deps = [ | |
38 "..:webrtc_common", | |
39 "../api:video_frame_api", | |
40 "../base:rtc_base_approved", | |
41 ] | |
42 } | |
43 | |
44 if (rtc_include_tests) { | 32 if (rtc_include_tests) { |
45 modules_tests_resources = [ | 33 modules_tests_resources = [ |
46 "//resources/audio_coding/testfile32kHz.pcm", | 34 "//resources/audio_coding/testfile32kHz.pcm", |
47 "//resources/audio_coding/teststereo32kHz.pcm", | 35 "//resources/audio_coding/teststereo32kHz.pcm", |
48 "//resources/foreman_cif.yuv", | 36 "//resources/foreman_cif.yuv", |
49 "//resources/paris_qcif.yuv", | 37 "//resources/paris_qcif.yuv", |
50 ] | 38 ] |
51 | 39 |
52 if (is_ios) { | 40 if (is_ios) { |
53 bundle_data("modules_tests_bundle_data") { | 41 bundle_data("modules_tests_bundle_data") { |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 testonly = true | 192 testonly = true |
205 sources = modules_unittests_resources | 193 sources = modules_unittests_resources |
206 outputs = [ | 194 outputs = [ |
207 "{{bundle_resources_dir}}/{{source_file_part}}", | 195 "{{bundle_resources_dir}}/{{source_file_part}}", |
208 ] | 196 ] |
209 } | 197 } |
210 } | 198 } |
211 | 199 |
212 rtc_test("modules_unittests") { | 200 rtc_test("modules_unittests") { |
213 testonly = true | 201 testonly = true |
| 202 |
| 203 deps = [] |
214 defines = [] | 204 defines = [] |
215 sources = [ | 205 sources = [ |
216 "module_common_types_unittest.cc", | 206 "module_common_types_unittest.cc", |
217 ] | 207 ] |
218 | 208 |
219 if (!build_with_chromium && is_clang) { | 209 if (!build_with_chromium && is_clang) { |
220 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 210 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
221 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 211 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
222 } | 212 } |
223 | 213 |
224 deps += [ | 214 deps += [ |
225 ":module_api", | |
226 "../test:test_main", | 215 "../test:test_main", |
227 "audio_coding:audio_coding_unittests", | 216 "audio_coding:audio_coding_unittests", |
228 "audio_conference_mixer:audio_conference_mixer_unittests", | 217 "audio_conference_mixer:audio_conference_mixer_unittests", |
229 "audio_device:audio_device_unittests", | 218 "audio_device:audio_device_unittests", |
230 "audio_mixer:audio_mixer_unittests", | 219 "audio_mixer:audio_mixer_unittests", |
231 "audio_processing:audio_processing_unittests", | 220 "audio_processing:audio_processing_unittests", |
232 "bitrate_controller:bitrate_controller_unittests", | 221 "bitrate_controller:bitrate_controller_unittests", |
233 "congestion_controller:congestion_controller_unittests", | 222 "congestion_controller:congestion_controller_unittests", |
234 "desktop_capture:desktop_capture_unittests", | 223 "desktop_capture:desktop_capture_unittests", |
235 "media_file:media_file_unittests", | 224 "media_file:media_file_unittests", |
(...skipping 16 matching lines...) Expand all Loading... |
252 shard_timeout = 900 | 241 shard_timeout = 900 |
253 } | 242 } |
254 if (is_ios) { | 243 if (is_ios) { |
255 info_plist = "//webrtc/test/ios/Info.plist" | 244 info_plist = "//webrtc/test/ios/Info.plist" |
256 deps += [ ":modules_unittests_bundle_data" ] | 245 deps += [ ":modules_unittests_bundle_data" ] |
257 configs += [ "..:common_objc" ] | 246 configs += [ "..:common_objc" ] |
258 ldflags = [ "-ObjC" ] | 247 ldflags = [ "-ObjC" ] |
259 } | 248 } |
260 } | 249 } |
261 } | 250 } |
OLD | NEW |