| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 sources = modules_tests_resources | 47 sources = modules_tests_resources |
| 48 outputs = [ | 48 outputs = [ |
| 49 "{{bundle_resources_dir}}/{{source_file_part}}", | 49 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 50 ] | 50 ] |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 rtc_test("modules_tests") { | 54 rtc_test("modules_tests") { |
| 55 testonly = true | 55 testonly = true |
| 56 | 56 |
| 57 public_configs = [ "..:common_inherited_config" ] | |
| 58 | |
| 59 videoprocessor_defines = [] | 57 videoprocessor_defines = [] |
| 60 if (rtc_use_h264) { | 58 if (rtc_use_h264) { |
| 61 videoprocessor_defines += [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] | 59 videoprocessor_defines += [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] |
| 62 } | 60 } |
| 63 | 61 |
| 64 defines = audio_coding_defines + videoprocessor_defines | 62 defines = audio_coding_defines + videoprocessor_defines |
| 65 | 63 |
| 66 deps = [ | 64 deps = [ |
| 67 "..:webrtc_common", | 65 "..:webrtc_common", |
| 68 "../common_video", | 66 "../common_video", |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 "audio_processing/test/debug_dump_test.cc", | 557 "audio_processing/test/debug_dump_test.cc", |
| 560 "audio_processing/test/test_utils.h", | 558 "audio_processing/test/test_utils.h", |
| 561 "audio_processing/voice_detection_unittest.cc", | 559 "audio_processing/voice_detection_unittest.cc", |
| 562 ] | 560 ] |
| 563 } | 561 } |
| 564 | 562 |
| 565 if (rtc_build_libvpx) { | 563 if (rtc_build_libvpx) { |
| 566 deps += [ rtc_libvpx_dir ] | 564 deps += [ rtc_libvpx_dir ] |
| 567 } | 565 } |
| 568 | 566 |
| 569 public_configs = [ "..:common_inherited_config" ] | |
| 570 | |
| 571 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 567 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 572 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 568 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 573 | 569 |
| 574 if (is_clang) { | 570 if (is_clang) { |
| 575 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 571 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 576 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 572 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 577 } | 573 } |
| 578 | 574 |
| 579 if (is_win) { | 575 if (is_win) { |
| 580 cflags = [ | 576 cflags = [ |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 sources += [ | 655 sources += [ |
| 660 "audio_device/ios/audio_device_unittest_ios.cc", | 656 "audio_device/ios/audio_device_unittest_ios.cc", |
| 661 "audio_device/ios/objc/RTCAudioSessionTest.mm", | 657 "audio_device/ios/objc/RTCAudioSessionTest.mm", |
| 662 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", | 658 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", |
| 663 ] | 659 ] |
| 664 | 660 |
| 665 ldflags = [ "-ObjC" ] | 661 ldflags = [ "-ObjC" ] |
| 666 } | 662 } |
| 667 } | 663 } |
| 668 } | 664 } |
| OLD | NEW |