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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 import("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 if (is_ios) { | 229 if (is_ios) { |
230 bundle_data("modules_unittests_bundle_data") { | 230 bundle_data("modules_unittests_bundle_data") { |
231 testonly = true | 231 testonly = true |
232 sources = modules_unittests_resources | 232 sources = modules_unittests_resources |
233 outputs = [ | 233 outputs = [ |
234 "{{bundle_resources_dir}}/{{source_file_part}}", | 234 "{{bundle_resources_dir}}/{{source_file_part}}", |
235 ] | 235 ] |
236 } | 236 } |
237 } | 237 } |
238 | 238 |
239 rtc_source_set("audio_network_adaptor_unittests") { | |
hlundin-webrtc
2016/09/15 11:01:09
What is the benefit of breaking this out of the mo
minyue-webrtc
2016/09/15 12:12:15
the title of patch set 2 mentioned this. To be cle
hlundin-webrtc
2016/09/19 11:08:57
Oh, I see. Good. Can you just add a comment explai
| |
240 testonly = true | |
241 sources = [ | |
242 "audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc ", | |
243 "audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc", | |
244 "audio_coding/audio_network_adaptor/controller_manager_unittest.cc", | |
245 "audio_coding/audio_network_adaptor/mock/mock_controller.h", | |
246 "audio_coding/audio_network_adaptor/mock/mock_controller_manager.h", | |
247 ] | |
248 deps = [ | |
249 "audio_coding:audio_network_adaptor", | |
250 "//testing/gmock", | |
251 "//testing/gtest", | |
252 ] | |
253 if (is_clang) { | |
254 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
255 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
256 } | |
257 } | |
258 | |
239 rtc_test("modules_unittests") { | 259 rtc_test("modules_unittests") { |
240 testonly = true | 260 testonly = true |
241 | 261 |
242 defines = audio_coding_defines | 262 defines = audio_coding_defines |
243 deps = [] | 263 deps = [] |
244 sources = [ | 264 sources = [ |
245 "audio_coding/acm2/acm_receiver_unittest_oldapi.cc", | 265 "audio_coding/acm2/acm_receiver_unittest_oldapi.cc", |
246 "audio_coding/acm2/audio_coding_module_unittest_oldapi.cc", | 266 "audio_coding/acm2/audio_coding_module_unittest_oldapi.cc", |
247 "audio_coding/acm2/call_statistics_unittest.cc", | 267 "audio_coding/acm2/call_statistics_unittest.cc", |
248 "audio_coding/acm2/codec_manager_unittest.cc", | 268 "audio_coding/acm2/codec_manager_unittest.cc", |
249 "audio_coding/acm2/initial_delay_manager_unittest.cc", | 269 "audio_coding/acm2/initial_delay_manager_unittest.cc", |
250 "audio_coding/acm2/rent_a_codec_unittest.cc", | 270 "audio_coding/acm2/rent_a_codec_unittest.cc", |
251 "audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc ", | |
252 "audio_coding/audio_network_adaptor/controller_manager_unittest.cc", | |
253 "audio_coding/audio_network_adaptor/mock/mock_controller.h", | |
254 "audio_coding/audio_network_adaptor/mock/mock_controller_manager.h", | |
255 "audio_coding/codecs/audio_decoder_factory_unittest.cc", | 271 "audio_coding/codecs/audio_decoder_factory_unittest.cc", |
256 "audio_coding/codecs/cng/audio_encoder_cng_unittest.cc", | 272 "audio_coding/codecs/cng/audio_encoder_cng_unittest.cc", |
257 "audio_coding/codecs/cng/cng_unittest.cc", | 273 "audio_coding/codecs/cng/cng_unittest.cc", |
258 "audio_coding/codecs/ilbc/ilbc_unittest.cc", | 274 "audio_coding/codecs/ilbc/ilbc_unittest.cc", |
259 "audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc", | 275 "audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc", |
260 "audio_coding/codecs/isac/fix/source/filters_unittest.cc", | 276 "audio_coding/codecs/isac/fix/source/filters_unittest.cc", |
261 "audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc", | 277 "audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc", |
262 "audio_coding/codecs/isac/fix/source/transform_unittest.cc", | 278 "audio_coding/codecs/isac/fix/source/transform_unittest.cc", |
263 "audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc", | 279 "audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc", |
264 "audio_coding/codecs/isac/main/source/isac_unittest.cc", | 280 "audio_coding/codecs/isac/main/source/isac_unittest.cc", |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
580 } | 596 } |
581 | 597 |
582 if (is_win) { | 598 if (is_win) { |
583 cflags = [ | 599 cflags = [ |
584 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 600 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
585 "/wd4373", # virtual function override. | 601 "/wd4373", # virtual function override. |
586 ] | 602 ] |
587 } | 603 } |
588 | 604 |
589 deps += [ | 605 deps += [ |
606 ":audio_network_adaptor_unittests", | |
590 "..:webrtc_common", | 607 "..:webrtc_common", |
591 "../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. | 608 "../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
592 "../common_audio", | 609 "../common_audio", |
593 "../common_video", | 610 "../common_video", |
594 "../system_wrappers:system_wrappers", | 611 "../system_wrappers:system_wrappers", |
595 "../test:rtp_test_utils", | 612 "../test:rtp_test_utils", |
596 "../test:test_common", | 613 "../test:test_common", |
597 "../test:test_support_main", | 614 "../test:test_support_main", |
598 "../test:test_support_main", | 615 "../test:test_support_main", |
599 "../test:video_test_common", | 616 "../test:video_test_common", |
600 "audio_coding", | 617 "audio_coding", |
601 "audio_coding:acm_receive_test", | 618 "audio_coding:acm_receive_test", |
602 "audio_coding:acm_send_test", | 619 "audio_coding:acm_send_test", |
603 "audio_coding:audio_network_adaptor", | |
604 "audio_coding:builtin_audio_decoder_factory", | 620 "audio_coding:builtin_audio_decoder_factory", |
605 "audio_coding:cng", | 621 "audio_coding:cng", |
606 "audio_coding:isac_fix", | 622 "audio_coding:isac_fix", |
607 "audio_coding:neteq", | 623 "audio_coding:neteq", |
608 "audio_coding:neteq_test_support", | 624 "audio_coding:neteq_test_support", |
609 "audio_coding:neteq_unittest_tools", | 625 "audio_coding:neteq_unittest_tools", |
610 "audio_coding:pcm16b", | 626 "audio_coding:pcm16b", |
611 "audio_coding:red", | 627 "audio_coding:red", |
612 "audio_coding:webrtc_opus", | 628 "audio_coding:webrtc_opus", |
613 "audio_conference_mixer", | 629 "audio_conference_mixer", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
663 sources += [ | 679 sources += [ |
664 "audio_device/ios/audio_device_unittest_ios.cc", | 680 "audio_device/ios/audio_device_unittest_ios.cc", |
665 "audio_device/ios/objc/RTCAudioSessionTest.mm", | 681 "audio_device/ios/objc/RTCAudioSessionTest.mm", |
666 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", | 682 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", |
667 ] | 683 ] |
668 | 684 |
669 ldflags = [ "-ObjC" ] | 685 ldflags = [ "-ObjC" ] |
670 } | 686 } |
671 } | 687 } |
672 } | 688 } |
OLD | NEW |