blob: 773e25f66c3bc005f84189717f7d95bbe47a09d0 [file] [log] [blame]
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:021# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
kjellander0f380d82016-06-01 11:48:269import("//build/config/ui.gni")
Robin Raymondce1b1402018-11-23 01:10:1110import("../webrtc.gni")
kjellander0f380d82016-06-01 11:48:2611if (is_android) {
12 import("//build/config/android/rules.gni")
13}
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:0214
kjellanderb62dbbe2016-09-23 07:38:5215group("test") {
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:0216 testonly = true
17
18 deps = [
kjellander0f380d82016-06-01 11:48:2619 ":rtp_test_utils",
20 ":test_common",
21 ":test_renderer",
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:0222 ":test_support",
kjellander0f380d82016-06-01 11:48:2623 ":video_test_common",
Artem Titov4895b452019-01-14 15:54:0424 "pc/e2e",
Artem Titovb6c62012019-01-08 13:58:2325 "pc/e2e/api:peer_connection_quality_test_fixture_api",
kjellander0f380d82016-06-01 11:48:2626 ]
mbonadei148d5a22017-04-28 12:24:5027
oprypinfbbba3f2017-09-25 15:34:4128 if (rtc_include_tests) {
mbonadei148d5a22017-04-28 12:24:5029 deps += [
30 ":test_main",
31 ":test_support_unittests",
Sebastian Jansson98b07e912018-09-27 11:47:0132 "scenario/scenario_tests",
mbonadei148d5a22017-04-28 12:24:5033 ]
34 }
kjellander0f380d82016-06-01 11:48:2635}
36
ehmaldonado38a21322016-09-02 11:10:3437rtc_source_set("video_test_common") {
Per Kjellandera7f2d842018-01-10 15:54:5338 visibility = [ "*" ]
kjellander0f380d82016-06-01 11:48:2639 testonly = true
40 sources = [
41 "fake_texture_frame.cc",
42 "fake_texture_frame.h",
43 "frame_generator.cc",
44 "frame_generator.h",
ehmaldonado656610f2017-02-06 10:21:1145 "frame_generator_capturer.cc",
46 "frame_generator_capturer.h",
kjellander0f380d82016-06-01 11:48:2647 "frame_utils.cc",
48 "frame_utils.h",
Sebastian Janssonf1f363f2018-08-13 12:24:5849 "test_video_capturer.cc",
50 "test_video_capturer.h",
ehmaldonado656610f2017-02-06 10:21:1151 "vcm_capturer.cc",
52 "vcm_capturer.h",
mflodman351424e2017-08-10 09:43:1453 "video_codec_settings.h",
kjellander0f380d82016-06-01 11:48:2654 ]
55
kjellandere40a7ee2016-10-17 06:56:1256 if (!build_with_chromium && is_clang) {
57 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:3458 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander0f380d82016-06-01 11:48:2659 }
60
61 deps = [
mbonadei3edccb92017-06-01 11:47:2062 "..:webrtc_common",
Patrik Höglund9e194032018-01-04 14:58:2063 "../api:libjingle_peerconnection_api",
Niels Möllerc6ce9c52018-05-11 09:15:3064 "../api/video:video_frame",
Emircan Uysaler0823eec2018-07-14 00:10:0065 "../api/video:video_frame_i010",
Niels Möllerc6ce9c52018-05-11 09:15:3066 "../api/video:video_frame_i420",
mflodman351424e2017-08-10 09:43:1467 "../api/video_codecs:video_codecs_api",
aleloi440b6d92017-08-22 12:43:2368 "../call:video_stream_api",
kjellander0f380d82016-06-01 11:48:2669 "../common_video",
sprangc5d62e22017-04-03 06:53:0470 "../media:rtc_media_base",
ehmaldonado656610f2017-02-06 10:21:1171 "../modules/video_capture:video_capture_module",
Patrik Höglunda8005cf2017-12-13 15:05:4272 "../rtc_base:checks",
Patrik Höglund76df0df2017-12-19 10:50:2173 "../rtc_base:rtc_base",
ehmaldonadof6a861a2017-07-19 17:40:4774 "../rtc_base:rtc_task_queue",
mbonadei3edccb92017-06-01 11:47:2075 "../system_wrappers",
Danil Chapovalovabd42732018-09-10 12:07:4576 "//third_party/abseil-cpp/absl/memory",
Danil Chapovalov431abd92018-06-18 10:54:1777 "//third_party/abseil-cpp/absl/types:optional",
kjellander0f380d82016-06-01 11:48:2678 ]
79}
80
ehmaldonado38a21322016-09-02 11:10:3481rtc_source_set("rtp_test_utils") {
kjellander0f380d82016-06-01 11:48:2682 testonly = true
83 sources = [
84 "rtcp_packet_parser.cc",
85 "rtcp_packet_parser.h",
86 "rtp_file_reader.cc",
87 "rtp_file_reader.h",
88 "rtp_file_writer.cc",
89 "rtp_file_writer.h",
90 ]
91
kjellandere40a7ee2016-10-17 06:56:1292 if (!build_with_chromium && is_clang) {
93 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:3494 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander0f380d82016-06-01 11:48:2695 }
96
97 deps = [
98 "..:webrtc_common",
kwiberg529662a2017-09-04 12:43:1799 "../api:array_view",
kjellander0f380d82016-06-01 11:48:26100 "../modules/rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 06:51:33101 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 15:05:42102 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47103 "../rtc_base:rtc_base_approved",
Niels Möllera12c42a2018-07-25 14:05:48104 "../rtc_base/system:arch",
kjellander0f380d82016-06-01 11:48:26105 "//testing/gtest",
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02106 ]
107}
108
ehmaldonado38a21322016-09-02 11:10:34109rtc_source_set("field_trial") {
Per Kjellandera7f2d842018-01-10 15:54:53110 visibility = [ "*" ]
kjellander0f380d82016-06-01 11:48:26111 testonly = true
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02112 sources = [
113 "field_trial.cc",
114 "field_trial.h",
115 ]
116
117 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22118 "..:webrtc_common",
Mirko Bonadei17f48782018-09-28 06:51:10119 "../system_wrappers:field_trial",
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02120 ]
kjellander@webrtc.orgb8caf6a2014-09-30 18:05:02121}
122
Edward Lemure66572b2018-01-05 14:34:09123rtc_source_set("perf_test") {
Per Kjellandera7f2d842018-01-10 15:54:53124 visibility = [ "*" ]
Edward Lemure66572b2018-01-05 14:34:09125 sources = [
126 "testsupport/perf_test.cc",
127 "testsupport/perf_test.h",
128 ]
129 deps = [
130 "..:webrtc_common",
131 "../api:array_view",
Oleh Prypind136b282018-10-03 11:53:44132 "../rtc_base:checks",
Edward Lemure66572b2018-01-05 14:34:09133 "../rtc_base:rtc_base_approved",
134 ]
135}
136
mbonadeicd95a4e2017-08-24 06:55:54137if (is_ios) {
138 rtc_source_set("test_support_objc") {
139 testonly = true
mbonadei9c296b32017-09-05 12:11:41140 visibility = [ ":test_support" ]
mbonadeicd95a4e2017-08-24 06:55:54141 sources = [
Artem Titarenko34fc3462018-11-06 11:29:29142 "ios/coverage_util_ios.h",
143 "ios/coverage_util_ios.mm",
mbonadeicd95a4e2017-08-24 06:55:54144 "ios/test_support.h",
145 "ios/test_support.mm",
146 ]
denicijad207a392017-09-11 13:43:28147 deps = [
Edward Lemure66572b2018-01-05 14:34:09148 ":perf_test",
Anders Carlsson7bca8ca2018-08-30 07:30:29149 "../sdk:helpers_objc",
denicijad207a392017-09-11 13:43:28150 ]
Artem Titarenko34fc3462018-11-06 11:29:29151 configs += [ ":test_support_objc_config" ]
152 }
153
154 config("test_support_objc_config") {
155 defines = []
156
157 if (use_clang_coverage) {
158 defines += [ "WEBRTC_IOS_ENABLE_COVERAGE" ]
159 }
mbonadeicd95a4e2017-08-24 06:55:54160 }
161}
162
Patrik Höglund34924c22018-01-19 08:11:07163config("suppress_warning_4373") {
164 if (is_win) {
165 cflags = [
166 # MSVC has a bug which generates this warning when using mocks; see the
167 # section on warning 4373 in he googlemock FAQ. This warning isn't the
168 # least relevant for us, anyway.
169 "/wd4373",
170 ]
171 }
172}
173
Sebastian Jansson2afd2812018-08-23 12:44:05174config("test_main_direct_config") {
175 visibility = [ ":*" ]
176 defines = [ "UNIT_TEST" ]
177}
mbonadei148d5a22017-04-28 12:24:50178rtc_source_set("test_support") {
Per Kjellandera7f2d842018-01-10 15:54:53179 visibility = [ "*" ]
mbonadei148d5a22017-04-28 12:24:50180 testonly = true
kjellander32c4a202016-08-30 09:53:49181
Mirko Bonadei65ce3112018-01-26 10:57:47182 all_dependent_configs = [
183 ":suppress_warning_4373",
184 "//third_party/googletest:gmock_config",
185 "//third_party/googletest:gtest_config",
186 ]
Patrik Höglund34924c22018-01-19 08:11:07187
mbonadei148d5a22017-04-28 12:24:50188 sources = [
189 "gmock.h",
190 "gtest.h",
mbonadei148d5a22017-04-28 12:24:50191 ]
192
Patrik Höglund7696bef2018-03-15 14:05:39193 public_deps = []
Kári Tristan Helgasone2baffb2017-06-09 08:31:58194 if (is_ios) {
mbonadeicd95a4e2017-08-24 06:55:54195 public_deps += [ ":test_support_objc" ]
Kári Tristan Helgasone2baffb2017-06-09 08:31:58196 }
197
Sebastian Jansson2afd2812018-08-23 12:44:05198 public_configs = [ ":test_main_direct_config" ]
mbonadei148d5a22017-04-28 12:24:50199 deps = [
ehmaldonadof6a861a2017-07-19 17:40:47200 "../rtc_base:rtc_base_approved",
mbonadei148d5a22017-04-28 12:24:50201 "//testing/gmock",
202 "//testing/gtest",
203 ]
204
mbonadei148d5a22017-04-28 12:24:50205 if (!build_with_chromium && is_clang) {
206 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
207 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
208 }
kjellander32c4a202016-08-30 09:53:49209}
210
oprypinfbbba3f2017-09-25 15:34:41211if (rtc_include_tests) {
Artem Titov40a7a352018-10-15 13:25:34212 rtc_source_set("test_main_lib") {
Per Kjellandera7f2d842018-01-10 15:54:53213 visibility = [ "*" ]
Oleh Prypin90ce84e2017-09-25 08:27:22214 testonly = true
Oleh Prypin5ab68542017-09-25 09:18:00215 sources = [
Artem Titov40a7a352018-10-15 13:25:34216 "test_main_lib.cc",
217 "test_main_lib.h",
Oleh Prypin5ab68542017-09-25 09:18:00218 ]
219
Oleh Prypin5ab68542017-09-25 09:18:00220 deps = [
221 ":field_trial",
Edward Lemure66572b2018-01-05 14:34:09222 ":perf_test",
Artem Titov40a7a352018-10-15 13:25:34223 ":test_support",
Yves Gerey3e707812018-11-28 15:47:49224 "../rtc_base:checks",
Niels Möller8909a632018-09-06 06:42:44225 "../rtc_base:rtc_base",
Mirko Bonadei17f48782018-09-28 06:51:10226 "../system_wrappers:field_trial",
227 "../system_wrappers:metrics",
Oleh Prypin5ab68542017-09-25 09:18:00228 "//testing/gtest",
Yves Gerey3e707812018-11-28 15:47:49229 "//third_party/abseil-cpp/absl/memory",
Patrik Höglund77301932018-10-09 13:09:51230
231 # TODO(bugs.webrtc.org/9792): This is needed for downstream projects on
232 # Android, where it's replaced by an internal version of fileutils that
233 # has a certain flag. Remove this once the internal fileutils has been
234 # eliminated.
235 "../test:fileutils",
mbonadei9452c622017-04-27 19:29:29236 ]
237 }
mbonadei9452c622017-04-27 19:29:29238
Artem Titov40a7a352018-10-15 13:25:34239 rtc_source_set("test_main") {
240 visibility = [ "*" ]
241 testonly = true
242 sources = [
243 "test_main.cc",
244 ]
245
246 deps = [
247 ":test_main_lib",
248 ]
249 }
250
Oleh Prypin5ab68542017-09-25 09:18:00251 rtc_source_set("video_test_support") {
252 testonly = true
253
254 sources = [
255 "testsupport/frame_reader.h",
256 "testsupport/frame_writer.h",
Oleh Prypin5ab68542017-09-25 09:18:00257 "testsupport/mock/mock_frame_reader.h",
Artem Titov645df9e2019-01-14 13:21:59258 "testsupport/y4m_frame_reader.cc",
Oleh Prypin5ab68542017-09-25 09:18:00259 "testsupport/y4m_frame_writer.cc",
260 "testsupport/yuv_frame_reader.cc",
261 "testsupport/yuv_frame_writer.cc",
262 ]
263
264 deps = [
Patrik Höglund7696bef2018-03-15 14:05:39265 ":fileutils",
Oleh Prypin5ab68542017-09-25 09:18:00266 ":test_support",
267 ":video_test_common",
268 "..:webrtc_common",
Niels Möllerc6ce9c52018-05-11 09:15:30269 "../api/video:video_frame",
270 "../api/video:video_frame_i420",
Oleh Prypin5ab68542017-09-25 09:18:00271 "../common_video",
Patrik Höglunda8005cf2017-12-13 15:05:42272 "../rtc_base:checks",
Oleh Prypin5ab68542017-09-25 09:18:00273 "../rtc_base:rtc_base_approved",
274 "../system_wrappers",
Oleh Prypin5ab68542017-09-25 09:18:00275 "//testing/gtest",
Mirko Bonadei401d0562017-12-14 10:24:00276 "//third_party/libyuv",
Oleh Prypin5ab68542017-09-25 09:18:00277 ]
278
279 if (!is_ios) {
280 deps += [ "//third_party:jpeg" ]
281 sources += [ "testsupport/jpeg_frame_writer.cc" ]
282 } else {
283 sources += [ "testsupport/jpeg_frame_writer_ios.cc" ]
284 }
285
Oleh Prypin5ab68542017-09-25 09:18:00286 if (!build_with_chromium && is_clang) {
287 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
288 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
289 }
290
291 if (is_android) {
292 deps += [ "//base:base" ]
293 }
Oleh Prypin5ab68542017-09-25 09:18:00294 }
295
Edward Lemuraf8659a2017-09-27 12:46:24296 rtc_source_set("test_support_test_artifacts") {
Oleh Prypin5ab68542017-09-25 09:18:00297 testonly = true
298 sources = [
Edward Lemuraf8659a2017-09-27 12:46:24299 "testsupport/test_artifacts.cc",
300 "testsupport/test_artifacts.h",
Oleh Prypin5ab68542017-09-25 09:18:00301 ]
302 deps = [
303 ":fileutils",
304 "../rtc_base:rtc_base_approved",
305 ]
306 }
307
308 test_support_unittests_resources = [
309 "../resources/foreman_cif_short.yuv",
310 "../resources/video_coding/frame-ethernet-ii.pcap",
311 "../resources/video_coding/frame-loopback.pcap",
312 "../resources/video_coding/pltype103.rtp",
313 "../resources/video_coding/pltype103_header_only.rtp",
314 "../resources/video_coding/ssrcs-2.pcap",
315 "../resources/video_coding/ssrcs-3.pcap",
Oleh Prypin90ce84e2017-09-25 08:27:22316 ]
Oleh Prypin90ce84e2017-09-25 08:27:22317
318 if (is_ios) {
Oleh Prypin5ab68542017-09-25 09:18:00319 bundle_data("test_support_unittests_bundle_data") {
320 testonly = true
321 sources = test_support_unittests_resources
322 outputs = [
323 "{{bundle_resources_dir}}/{{source_file_part}}",
324 ]
325 }
Oleh Prypin90ce84e2017-09-25 08:27:22326 }
327
Oleh Prypin5ab68542017-09-25 09:18:00328 rtc_test("test_support_unittests") {
329 deps = [
Sebastian Jansson09408112018-04-24 12:41:22330 ":direct_transport",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27331 ":fake_video_codecs",
Patrik Höglund7696bef2018-03-15 14:05:39332 ":fileutils",
Mirko Bonadei46399992018-08-22 13:32:38333 ":fileutils_unittests",
Edward Lemure66572b2018-01-05 14:34:09334 ":perf_test",
Oleh Prypin5ab68542017-09-25 09:18:00335 ":rtp_test_utils",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27336 ":test_common",
Mirko Bonadei9098b302018-04-06 08:48:10337 ":test_main",
338 ":test_support",
339 ":test_support_test_artifacts",
340 ":video_test_common",
341 ":video_test_support",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27342 "../api:create_simulcast_test_fixture_api",
343 "../api:simulcast_test_fixture_api",
Danil Chapovalov99b71df2018-10-26 13:57:48344 "../api/test/video:function_video_factory",
Jiawei Ouc2ebe212018-11-08 18:02:56345 "../api/video:builtin_video_bitrate_allocator_factory",
Yves Gerey3e707812018-11-28 15:47:49346 "../api/video:video_frame",
Niels Möllerc6ce9c52018-05-11 09:15:30347 "../api/video:video_frame_i420",
Mirko Bonadei9098b302018-04-06 08:48:10348 "../modules/rtp_rtcp:rtp_rtcp",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27349 "../modules/video_capture",
350 "../modules/video_coding:simulcast_test_fixture_impl",
Oleh Prypin5ab68542017-09-25 09:18:00351 "../rtc_base:rtc_base_approved",
Mirko Bonadei9098b302018-04-06 08:48:10352 "../test:single_threaded_task_queue",
Artem Titov4895b452019-01-14 15:54:04353 "pc/e2e:e2e_unittests",
Sebastian Jansson98b07e912018-09-27 11:47:01354 "scenario:scenario_unittests",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27355 "//testing/gmock",
Mirko Bonadei9098b302018-04-06 08:48:10356 "//testing/gtest",
Karl Wiberg918f50c2018-07-05 09:40:33357 "//third_party/abseil-cpp/absl/memory",
Artem Titov645df9e2019-01-14 13:21:59358 "//third_party/abseil-cpp/absl/strings",
Oleh Prypin5ab68542017-09-25 09:18:00359 ]
360 sources = [
Sebastian Jansson09408112018-04-24 12:41:22361 "direct_transport_unittest.cc",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27362 "fake_vp8_encoder_unittest.cc",
Oleh Prypin5ab68542017-09-25 09:18:00363 "frame_generator_unittest.cc",
364 "rtp_file_reader_unittest.cc",
365 "rtp_file_writer_unittest.cc",
366 "single_threaded_task_queue_unittest.cc",
367 "testsupport/always_passing_unittest.cc",
Oleh Prypin5ab68542017-09-25 09:18:00368 "testsupport/perf_test_unittest.cc",
Edward Lemuraf8659a2017-09-27 12:46:24369 "testsupport/test_artifacts_unittest.cc",
Artem Titov645df9e2019-01-14 13:21:59370 "testsupport/y4m_frame_reader_unittest.cc",
Oleh Prypin5ab68542017-09-25 09:18:00371 "testsupport/y4m_frame_writer_unittest.cc",
372 "testsupport/yuv_frame_reader_unittest.cc",
373 "testsupport/yuv_frame_writer_unittest.cc",
374 ]
375
Oleh Prypin5ab68542017-09-25 09:18:00376 if (!build_with_chromium && is_clang) {
377 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
378 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
379 }
380
381 data = test_support_unittests_resources
382 if (is_android) {
383 deps += [ "//testing/android/native_test:native_test_support" ]
384 shard_timeout = 900
385 }
386
387 if (is_ios) {
388 deps += [ ":test_support_unittests_bundle_data" ]
389 }
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27390
Mirko Bonadei9098b302018-04-06 08:48:10391 if (!is_android && !build_with_chromium) {
392 # This is needed in order to avoid:
393 # undefined symbol: webrtc::videocapturemodule::VideoCaptureImpl::Create
394 deps += [ "../modules/video_capture:video_capture_internal_impl" ]
395 }
Oleh Prypin5ab68542017-09-25 09:18:00396 }
Oleh Prypin90ce84e2017-09-25 08:27:22397}
398
mbonadeicd95a4e2017-08-24 06:55:54399if (is_ios) {
Patrik Höglund8434aeb32018-10-05 12:52:11400 rtc_source_set("fileutils_ios_objc") {
Artem Titov8f726be2018-10-23 13:50:10401 visibility = [
402 ":fileutils",
403 ":fileutils_override_impl",
404 ]
mbonadeicd95a4e2017-08-24 06:55:54405 sources = [
Steve Anton10542f22019-01-11 17:11:00406 "testsupport/ios_file_utils.h",
407 "testsupport/ios_file_utils.mm",
Steve Antonaec15aa2019-01-11 17:13:07408 "testsupport/iosfileutils.h",
mbonadeicd95a4e2017-08-24 06:55:54409 ]
410 deps = [
411 "..:webrtc_common",
Patrik Höglunda8005cf2017-12-13 15:05:42412 "../rtc_base:checks",
mbonadeicd95a4e2017-08-24 06:55:54413 "../rtc_base:rtc_base_approved",
Anders Carlsson7bca8ca2018-08-30 07:30:29414 "../sdk:helpers_objc",
mbonadeicd95a4e2017-08-24 06:55:54415 ]
416 }
417}
418
Patrik Höglund8434aeb32018-10-05 12:52:11419if (is_mac) {
420 rtc_source_set("fileutils_mac_objc") {
Artem Titov8f726be2018-10-23 13:50:10421 visibility = [
422 ":fileutils",
423 ":fileutils_override_impl",
424 ]
Patrik Höglund8434aeb32018-10-05 12:52:11425 sources = [
Steve Anton10542f22019-01-11 17:11:00426 "testsupport/mac_file_utils.h",
427 "testsupport/mac_file_utils.mm",
Steve Antonaec15aa2019-01-11 17:13:07428 "testsupport/macfileutils.h",
Patrik Höglund8434aeb32018-10-05 12:52:11429 ]
430 deps = [
431 "../rtc_base:checks",
432 ]
433 }
434}
435
mbonadei9452c622017-04-27 19:29:29436rtc_source_set("fileutils") {
437 testonly = true
Patrik Höglund7696bef2018-03-15 14:05:39438 visibility = [ "*" ]
mbonadei9452c622017-04-27 19:29:29439 sources = [
Steve Anton10542f22019-01-11 17:11:00440 "testsupport/file_utils.cc",
441 "testsupport/file_utils.h",
Steve Antonaec15aa2019-01-11 17:13:07442 "testsupport/fileutils.h",
mbonadei9452c622017-04-27 19:29:29443 ]
mbonadei3edccb92017-06-01 11:47:20444 deps = [
Artem Titov8f726be2018-10-23 13:50:10445 ":fileutils_override_api",
446 ":fileutils_override_impl",
447 "..:webrtc_common",
448 "../rtc_base:checks",
449 "../rtc_base:rtc_base_approved",
450 "../rtc_base/system:arch",
451 "//third_party/abseil-cpp/absl/types:optional",
452 ]
453 if (is_ios) {
454 deps += [ ":fileutils_ios_objc" ]
455 }
456 if (is_mac) {
457 deps += [ ":fileutils_mac_objc" ]
458 }
459 if (is_win) {
460 deps += [ "../rtc_base:rtc_base" ]
461 }
462}
463
464# We separate header into own target to make it possible for downstream
465# projects to override implementation.
466rtc_source_set("fileutils_override_api") {
467 testonly = true
468 sources = [
Steve Anton10542f22019-01-11 17:11:00469 "testsupport/file_utils_override.h",
Steve Antonaec15aa2019-01-11 17:13:07470 "testsupport/fileutils_override.h",
Artem Titov8f726be2018-10-23 13:50:10471 ]
472}
473
474rtc_source_set("fileutils_override_impl") {
475 testonly = true
476 visibility = [ ":fileutils" ]
477 sources = [
Steve Anton10542f22019-01-11 17:11:00478 "testsupport/file_utils_override.cc",
Artem Titov8f726be2018-10-23 13:50:10479 ]
480 deps = [
481 ":fileutils_override_api",
mbonadei3edccb92017-06-01 11:47:20482 "..:webrtc_common",
Patrik Höglunda8005cf2017-12-13 15:05:42483 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47484 "../rtc_base:rtc_base_approved",
Niels Möllera12c42a2018-07-25 14:05:48485 "../rtc_base/system:arch",
Danil Chapovalov431abd92018-06-18 10:54:17486 "//third_party/abseil-cpp/absl/types:optional",
mbonadei3edccb92017-06-01 11:47:20487 ]
mbonadei9452c622017-04-27 19:29:29488 if (is_ios) {
Patrik Höglund8434aeb32018-10-05 12:52:11489 deps += [ ":fileutils_ios_objc" ]
490 }
491 if (is_mac) {
492 deps += [ ":fileutils_mac_objc" ]
mbonadei3edccb92017-06-01 11:47:20493 }
494 if (is_win) {
ehmaldonadof6a861a2017-07-19 17:40:47495 deps += [ "../rtc_base:rtc_base" ]
mbonadei9452c622017-04-27 19:29:29496 }
mbonadei9452c622017-04-27 19:29:29497}
498
499rtc_source_set("run_test") {
500 testonly = true
mbonadeicd95a4e2017-08-24 06:55:54501 if (is_mac) {
502 public_deps = [
503 ":run_test_objc",
504 ]
505 } else {
506 public_deps = [
507 ":run_test_generic",
508 ]
509 }
510}
511
512rtc_source_set("run_test_interface") {
mbonadei9452c622017-04-27 19:29:29513 sources = [
514 "run_test.h",
515 ]
mbonadeicd95a4e2017-08-24 06:55:54516}
517
518if (is_mac) {
519 rtc_source_set("run_test_objc") {
520 testonly = true
mbonadei9c296b32017-09-05 12:11:41521 visibility = [ ":run_test" ]
mbonadeicd95a4e2017-08-24 06:55:54522 sources = [
523 "mac/run_test.mm",
524 ]
mbonadei9c296b32017-09-05 12:11:41525 deps = [
mbonadeicd95a4e2017-08-24 06:55:54526 ":run_test_interface",
527 ]
mbonadei9452c622017-04-27 19:29:29528 }
529}
530
mbonadeicd95a4e2017-08-24 06:55:54531rtc_source_set("run_test_generic") {
532 testonly = true
mbonadei9c296b32017-09-05 12:11:41533 visibility = [ ":run_test" ]
mbonadeicd95a4e2017-08-24 06:55:54534 sources = [
535 "run_test.cc",
536 ]
mbonadei9c296b32017-09-05 12:11:41537 deps = [
mbonadeicd95a4e2017-08-24 06:55:54538 ":run_test_interface",
539 ]
540}
541
ehmaldonado37535bf2016-12-05 14:42:45542rtc_source_set("fileutils_unittests") {
543 testonly = true
kjellandere0629c02017-04-25 11:04:50544 visibility = [ ":*" ] # Only targets in this file can depend on this.
ehmaldonado37535bf2016-12-05 14:42:45545 sources = [
Steve Anton10542f22019-01-11 17:11:00546 "testsupport/file_utils_unittest.cc",
ehmaldonado37535bf2016-12-05 14:42:45547 ]
548 deps = [
549 ":fileutils",
mbonadei3edccb92017-06-01 11:47:20550 ":test_support",
Patrik Höglunda8005cf2017-12-13 15:05:42551 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47552 "../rtc_base:rtc_base_approved",
ehmaldonado37535bf2016-12-05 14:42:45553 "//testing/gtest",
Danil Chapovalov431abd92018-06-18 10:54:17554 "//third_party/abseil-cpp/absl/types:optional",
ehmaldonado37535bf2016-12-05 14:42:45555 ]
556}
kjellander0f380d82016-06-01 11:48:26557
perkj488c5dc2017-02-08 13:55:51558rtc_source_set("direct_transport") {
Per Kjellandera7f2d842018-01-10 15:54:53559 visibility = [ "*" ]
perkj488c5dc2017-02-08 13:55:51560 testonly = true
561 sources = [
562 "direct_transport.cc",
563 "direct_transport.h",
perkj488c5dc2017-02-08 13:55:51564 ]
565 if (!build_with_chromium && is_clang) {
566 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
567 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
568 }
569 deps = [
mbonadei3edccb92017-06-01 11:47:20570 "..:webrtc_common",
Artem Titov46c4e602018-08-17 12:26:54571 "../api:simulated_network_api",
perkj488c5dc2017-02-08 13:55:51572 "../api:transport_api",
Mirko Bonadeia0e1a552017-12-04 09:50:51573 "../call:call_interfaces",
Artem Titov46c4e602018-08-17 12:26:54574 "../call:simulated_packet_receiver",
mbonadei3edccb92017-06-01 11:47:20575 "../modules/rtp_rtcp",
ehmaldonadof6a861a2017-07-19 17:40:47576 "../rtc_base:rtc_base_approved",
eladalon413ee9a2017-08-22 11:02:52577 "../rtc_base:sequenced_task_checker",
mbonadei3edccb92017-06-01 11:47:20578 "../system_wrappers",
Karl Wiberg918f50c2018-07-05 09:40:33579 "//third_party/abseil-cpp/absl/memory",
perkj488c5dc2017-02-08 13:55:51580 ]
eladalon413ee9a2017-08-22 11:02:52581 public_deps = [
582 ":single_threaded_task_queue",
Erik Språng09708512018-03-14 14:16:50583 "../call:fake_network",
eladalon413ee9a2017-08-22 11:02:52584 ]
585}
586
587rtc_source_set("single_threaded_task_queue") {
588 testonly = true
589 sources = [
590 "single_threaded_task_queue.cc",
591 "single_threaded_task_queue.h",
592 ]
593 deps = [
Patrik Höglunda8005cf2017-12-13 15:05:42594 "../rtc_base:checks",
eladalon413ee9a2017-08-22 11:02:52595 "../rtc_base:rtc_base_approved",
Karl Wiberg918f50c2018-07-05 09:40:33596 "//third_party/abseil-cpp/absl/memory",
eladalon413ee9a2017-08-22 11:02:52597 ]
perkj488c5dc2017-02-08 13:55:51598}
599
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27600rtc_source_set("fake_video_codecs") {
Oskar Sundbom8984cd62019-01-10 11:48:52601 testonly = true
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27602 visibility = [ "*" ]
603 sources = [
604 "configurable_frame_size_encoder.cc",
605 "configurable_frame_size_encoder.h",
606 "fake_decoder.cc",
607 "fake_decoder.h",
608 "fake_encoder.cc",
609 "fake_encoder.h",
Per Kjellander841c9122018-10-04 16:40:28610 "fake_vp8_decoder.cc",
611 "fake_vp8_decoder.h",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27612 "fake_vp8_encoder.cc",
613 "fake_vp8_encoder.h",
614 ]
615 if (!build_with_chromium && is_clang) {
616 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
617 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
618 }
619 deps = [
620 "..:webrtc_common",
Niels Möller4dc66c52018-10-05 12:17:58621 "../api/video:encoded_image",
Yves Gerey3e707812018-11-28 15:47:49622 "../api/video:video_bitrate_allocation",
623 "../api/video:video_frame",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27624 "../api/video:video_frame_i420",
Erik Språng4529fbc2018-10-12 08:30:31625 "../api/video_codecs:create_vp8_temporal_layers",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27626 "../api/video_codecs:video_codecs_api",
627 "../common_video:common_video",
Yves Gerey3e707812018-11-28 15:47:49628 "../modules:module_api",
629 "../modules/video_coding:codec_globals_headers",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27630 "../modules/video_coding:video_codec_interface",
631 "../modules/video_coding:video_coding_utility",
632 "../modules/video_coding:webrtc_h264",
633 "../modules/video_coding:webrtc_vp8",
634 "../modules/video_coding:webrtc_vp9",
635 "../rtc_base:checks",
636 "../rtc_base:rtc_base_approved",
637 "../rtc_base:rtc_task_queue",
638 "../rtc_base:sequenced_task_checker",
639 "../system_wrappers",
Yves Gerey3e707812018-11-28 15:47:49640 "//third_party/abseil-cpp/absl/types:optional",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27641 ]
642}
643
ehmaldonado38a21322016-09-02 11:10:34644rtc_source_set("test_common") {
kjellander0f380d82016-06-01 11:48:26645 testonly = true
646 sources = [
647 "call_test.cc",
648 "call_test.h",
kjellander0f380d82016-06-01 11:48:26649 "constants.cc",
650 "constants.h",
kjellander0f380d82016-06-01 11:48:26651 "drifting_clock.cc",
652 "drifting_clock.h",
653 "encoder_settings.cc",
654 "encoder_settings.h",
sakal55d932b2016-09-30 13:19:08655 "fake_videorenderer.h",
kjellander0f380d82016-06-01 11:48:26656 "layer_filtering_transport.cc",
657 "layer_filtering_transport.h",
Danil Chapovalovdd7e2842018-03-09 15:37:03658 "mock_transport.cc",
kjellander0f380d82016-06-01 11:48:26659 "mock_transport.h",
kjellander0f380d82016-06-01 11:48:26660 "null_transport.cc",
661 "null_transport.h",
662 "rtp_rtcp_observer.h",
663 "statistics.cc",
664 "statistics.h",
Niels Möllercbcbc222018-09-28 07:07:24665 "video_decoder_proxy_factory.h",
666 "video_encoder_proxy_factory.h",
kjellander0f380d82016-06-01 11:48:26667 ]
Robin Raymondce1b1402018-11-23 01:10:11668 if (current_os != "winuwp") {
669 # The filtering of *_win.cc is not done for WinUWP (intentionally) as
670 # most _win.cc files are compatible with WinUWP. However, the
671 # peek/dispatch Win32 runloops are entirely WinUWP incompatible thus
672 # WinUWP uses the generic runloop as defined for non-Windows targets.
673 sources += [ "win/run_loop_win.cc" ]
674 }
675 if (!is_win || current_os == "winuwp") {
kjellander0f380d82016-06-01 11:48:26676 sources += [
677 "run_loop.cc",
678 "run_loop.h",
679 ]
680 }
681
kjellandere40a7ee2016-10-17 06:56:12682 if (!build_with_chromium && is_clang) {
683 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:34684 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander0f380d82016-06-01 11:48:26685 }
686
687 deps = [
perkj488c5dc2017-02-08 13:55:51688 ":direct_transport",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27689 ":fake_video_codecs",
Patrik Höglund7696bef2018-03-15 14:05:39690 ":fileutils",
kjellander0f380d82016-06-01 11:48:26691 ":rtp_test_utils",
692 ":test_support",
perkjc5726c12017-03-01 11:37:08693 ":video_test_common",
Yves Gerey3e707812018-11-28 15:47:49694 "../:webrtc_common",
Patrik Höglundbe214a22018-01-04 11:14:35695 "../api:libjingle_peerconnection_api",
Artem Titov46c4e602018-08-17 12:26:54696 "../api:simulated_network_api",
mbonadei3edccb92017-06-01 11:47:20697 "../api:transport_api",
mbonadei3edccb92017-06-01 11:47:20698 "../api/audio_codecs:builtin_audio_decoder_factory",
ossueb1fde42017-05-02 13:46:30699 "../api/audio_codecs:builtin_audio_encoder_factory",
Danil Chapovalovddc84e92018-10-24 15:01:58700 "../api/test/video:function_video_factory",
Jiawei Ouc2ebe212018-11-08 18:02:56701 "../api/video:builtin_video_bitrate_allocator_factory",
702 "../api/video:video_bitrate_allocator_factory",
Niels Möllerc6ce9c52018-05-11 09:15:30703 "../api/video:video_frame",
ilnikd60d06a2017-04-05 10:02:20704 "../api/video_codecs:video_codecs_api",
kjellander94cee312016-06-10 08:56:57705 "../audio",
kjellander94cee312016-06-10 08:56:57706 "../call",
Mirko Bonadeia0e1a552017-12-04 09:50:51707 "../call:call_interfaces",
Artem Titov4e199e92018-08-20 11:30:39708 "../call:fake_network",
Yves Gerey3e707812018-11-28 15:47:49709 "../call:rtp_interfaces",
sprangdb2a9fc2017-08-09 13:42:32710 "../call:rtp_sender",
Artem Titov4e199e92018-08-20 11:30:39711 "../call:simulated_network",
Artem Titov46c4e602018-08-17 12:26:54712 "../call:simulated_packet_receiver",
aleloi440b6d92017-08-22 12:43:23713 "../call:video_stream_api",
mbonadei3edccb92017-06-01 11:47:20714 "../logging:rtc_event_log_api",
Qingsi Wang970b0882018-02-01 19:04:46715 "../logging:rtc_event_log_impl_base",
Emircan Uysaler03e6ec92018-03-09 23:03:26716 "../media:rtc_internal_video_codecs",
Mirko Bonadeiad627922017-11-30 16:16:21717 "../media:rtc_media_base",
Artem Titov3faa8322018-03-07 13:44:00718 "../modules/audio_device",
Paulina Hensman7bd79a02018-03-15 11:44:12719 "../modules/audio_device:audio_device_impl",
mbonadei3edccb92017-06-01 11:47:20720 "../modules/audio_device:mock_audio_device",
aleloi10111bc2016-11-17 14:48:48721 "../modules/audio_mixer:audio_mixer_impl",
aleloidd310712016-11-17 14:28:59722 "../modules/audio_processing",
mbonadei3edccb92017-06-01 11:47:20723 "../modules/rtp_rtcp",
724 "../modules/rtp_rtcp:mock_rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 06:51:33725 "../modules/rtp_rtcp:rtp_rtcp_format",
Yves Gerey3e707812018-11-28 15:47:49726 "../modules/rtp_rtcp:rtp_video_header",
727 "../modules/video_coding:codec_globals_headers",
charujaincb728ea2017-09-18 10:08:08728 "../modules/video_coding:video_coding_utility",
mbonadei3edccb92017-06-01 11:47:20729 "../modules/video_coding:webrtc_h264",
Emircan Uysaler03e6ec92018-03-09 23:03:26730 "../modules/video_coding:webrtc_multiplex",
Sergio Garcia Murillo43800f92018-06-21 14:16:38731 "../modules/video_coding:webrtc_vp8",
mbonadei3edccb92017-06-01 11:47:20732 "../modules/video_coding:webrtc_vp9",
Patrik Höglunda8005cf2017-12-13 15:05:42733 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47734 "../rtc_base:rtc_base_approved",
mbonadei3edccb92017-06-01 11:47:20735 "../system_wrappers",
Mirko Bonadei17f48782018-09-28 06:51:10736 "../system_wrappers:field_trial",
kjellander94cee312016-06-10 08:56:57737 "../video",
kjellander0f380d82016-06-01 11:48:26738 "//testing/gtest",
Karl Wiberg918f50c2018-07-05 09:40:33739 "//third_party/abseil-cpp/absl/memory",
kjellander0f380d82016-06-01 11:48:26740 ]
mbonadei148d5a22017-04-28 12:24:50741 if (!is_android && !build_with_chromium) {
oprypin92220ff2017-03-23 10:40:03742 deps += [ "../modules/video_capture:video_capture_internal_impl" ]
743 }
kjellander0f380d82016-06-01 11:48:26744}
745
ehmaldonado38a21322016-09-02 11:10:34746rtc_source_set("test_renderer") {
mbonadei9c296b32017-09-05 12:11:41747 public_deps = [
748 ":test_renderer_generic",
749 ]
kjellander0f380d82016-06-01 11:48:26750 testonly = true
mbonadeicd95a4e2017-08-24 06:55:54751 if (is_mac) {
mbonadei9c296b32017-09-05 12:11:41752 public_deps += [ ":test_renderer_objc" ]
mbonadeicd95a4e2017-08-24 06:55:54753 }
754}
755
756if (is_mac) {
757 rtc_source_set("test_renderer_objc") {
758 testonly = true
mbonadei9c296b32017-09-05 12:11:41759 visibility = [ ":test_renderer" ]
mbonadeicd95a4e2017-08-24 06:55:54760 sources = [
761 "mac/video_renderer_mac.h",
762 "mac/video_renderer_mac.mm",
763 ]
mbonadeicd95a4e2017-08-24 06:55:54764 deps = [
mbonadei9c296b32017-09-05 12:11:41765 ":test_renderer_generic",
mbonadeicd95a4e2017-08-24 06:55:54766 "../rtc_base:rtc_base_approved",
767 ]
768 libs = [
769 "Cocoa.framework",
770 "OpenGL.framework",
771 "CoreVideo.framework",
772 ]
773 if (!build_with_chromium && is_clang) {
774 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
775 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
776 }
777 }
778}
779
780rtc_source_set("test_renderer_generic") {
781 testonly = true
mbonadei9c296b32017-09-05 12:11:41782 visibility = [
783 ":test_renderer",
784 ":test_renderer_objc",
785 ]
kjellander0f380d82016-06-01 11:48:26786 libs = []
787 sources = [
kjellander0f380d82016-06-01 11:48:26788 "video_renderer.cc",
789 "video_renderer.h",
790 "win/d3d_renderer.cc",
791 "win/d3d_renderer.h",
792 ]
mbonadeicd95a4e2017-08-24 06:55:54793 deps = [
794 ":test_support",
795 "..:webrtc_common",
Niels Möllerc6ce9c52018-05-11 09:15:30796 "../api/video:video_frame",
mbonadeicd95a4e2017-08-24 06:55:54797 "../common_video",
Mirko Bonadeiad627922017-11-30 16:16:21798 "../media:rtc_media_base",
Patrik Höglunda8005cf2017-12-13 15:05:42799 "../rtc_base:checks",
mbonadeicd95a4e2017-08-24 06:55:54800 "../rtc_base:rtc_base_approved",
801 "//testing/gtest",
802 ]
Joachim Bauch75f18fc2017-12-20 20:25:47803 if (!(is_linux && rtc_use_x11) && !is_mac && !is_win) {
kjellander0f380d82016-06-01 11:48:26804 sources += [ "null_platform_renderer.cc" ]
805 }
Joachim Bauch75f18fc2017-12-20 20:25:47806 if ((is_linux && rtc_use_x11) || is_mac) {
kjellander0f380d82016-06-01 11:48:26807 sources += [
808 "gl/gl_renderer.cc",
809 "gl/gl_renderer.h",
810 ]
811 }
812
Joachim Bauch75f18fc2017-12-20 20:25:47813 if (is_linux && rtc_use_x11) {
Edward Lemur84a87c42017-11-07 18:07:31814 sources += [
815 "linux/glx_renderer.cc",
816 "linux/glx_renderer.h",
817 "linux/video_renderer_linux.cc",
818 ]
kjellander0f380d82016-06-01 11:48:26819 libs += [
820 "Xext",
821 "X11",
822 "GL",
823 ]
824 }
825 if (is_android) {
826 libs += [
827 "GLESv2",
828 "log",
829 ]
830 }
kjellander0f380d82016-06-01 11:48:26831
kjellandere40a7ee2016-10-17 06:56:12832 if (!build_with_chromium && is_clang) {
833 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 11:10:34834 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander0f380d82016-06-01 11:48:26835 }
kjellander0f380d82016-06-01 11:48:26836}
kwiberg37e99fd2017-04-10 12:15:48837
838rtc_source_set("audio_codec_mocks") {
839 testonly = true
840 sources = [
Niels Möller3f651d82018-12-19 14:06:17841 # TODO(nisse): Move these factories to their own target, to avoid
842 # unnecessary dependencies on gmock and gtest.
Niels Möllerb7180c02018-12-06 12:07:11843 "audio_decoder_proxy_factory.h",
Niels Möllera0f44302018-11-30 09:45:12844 "function_audio_decoder_factory.h",
kwiberg2b3aa142017-06-14 10:31:17845 "mock_audio_decoder.cc",
kwiberg37e99fd2017-04-10 12:15:48846 "mock_audio_decoder.h",
847 "mock_audio_decoder_factory.h",
ossueb1fde42017-05-02 13:46:30848 "mock_audio_encoder.cc",
849 "mock_audio_encoder.h",
850 "mock_audio_encoder_factory.h",
851 ]
852
853 deps = [
mbonadei3edccb92017-06-01 11:47:20854 ":test_support",
kwiberg529662a2017-09-04 12:43:17855 "../api:array_view",
ossueb1fde42017-05-02 13:46:30856 "../api/audio_codecs:audio_codecs_api",
mbonadei3edccb92017-06-01 11:47:20857 "../api/audio_codecs:builtin_audio_decoder_factory",
Niels Möllera0f44302018-11-30 09:45:12858 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47859 "../rtc_base:rtc_base_approved",
Niels Möllera0f44302018-11-30 09:45:12860 "//third_party/abseil-cpp/absl/memory",
kwiberg37e99fd2017-04-10 12:15:48861 ]
862}
sakald7fdb802017-05-26 08:51:53863
864if (!build_with_chromium && is_android) {
Mirko Bonadeifbb3b7d2017-11-07 15:36:33865 rtc_android_library("native_test_java") {
sakald7fdb802017-05-26 08:51:53866 testonly = true
867 java_files = [
868 "android/org/webrtc/native_test/RTCNativeUnitTest.java",
869 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java",
870 ]
871 deps = [
jianjun.zhuc0247402017-07-11 13:20:45872 "../rtc_base:base_java",
sakald7fdb802017-05-26 08:51:53873 "//testing/android/native_test:native_test_java",
sakald7fdb802017-05-26 08:51:53874 ]
875 }
876}
Benjamin Wright8efafdf2019-01-11 18:48:42877
878rtc_source_set("call_config_utils") {
879 sources = [
880 "call_config_utils.cc",
881 "call_config_utils.h",
882 ]
883 deps = [
884 "../call:call_interfaces",
885 "../call:video_stream_api",
886 "../rtc_base:rtc_json",
887 ]
888}