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