| 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 configs += [ "..:common_config" ] | |
| 58 public_configs = [ "..:common_inherited_config" ] | 57 public_configs = [ "..:common_inherited_config" ] |
| 59 | 58 |
| 60 videoprocessor_defines = [] | 59 videoprocessor_defines = [] |
| 61 if (rtc_use_h264) { | 60 if (rtc_use_h264) { |
| 62 videoprocessor_defines += [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] | 61 videoprocessor_defines += [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] |
| 63 } | 62 } |
| 64 | 63 |
| 65 defines = audio_coding_defines + videoprocessor_defines | 64 defines = audio_coding_defines + videoprocessor_defines |
| 66 | 65 |
| 67 deps = [ | 66 deps = [ |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 "audio_processing/test/debug_dump_test.cc", | 559 "audio_processing/test/debug_dump_test.cc", |
| 561 "audio_processing/test/test_utils.h", | 560 "audio_processing/test/test_utils.h", |
| 562 "audio_processing/voice_detection_unittest.cc", | 561 "audio_processing/voice_detection_unittest.cc", |
| 563 ] | 562 ] |
| 564 } | 563 } |
| 565 | 564 |
| 566 if (rtc_build_libvpx) { | 565 if (rtc_build_libvpx) { |
| 567 deps += [ rtc_libvpx_dir ] | 566 deps += [ rtc_libvpx_dir ] |
| 568 } | 567 } |
| 569 | 568 |
| 570 configs += [ "..:common_config" ] | |
| 571 public_configs = [ "..:common_inherited_config" ] | 569 public_configs = [ "..:common_inherited_config" ] |
| 572 | 570 |
| 573 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 571 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 574 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 572 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 575 | 573 |
| 576 if (is_clang) { | 574 if (is_clang) { |
| 577 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 575 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 578 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 576 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 579 } | 577 } |
| 580 | 578 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 sources += [ | 659 sources += [ |
| 662 "audio_device/ios/audio_device_unittest_ios.cc", | 660 "audio_device/ios/audio_device_unittest_ios.cc", |
| 663 "audio_device/ios/objc/RTCAudioSessionTest.mm", | 661 "audio_device/ios/objc/RTCAudioSessionTest.mm", |
| 664 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", | 662 "video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc", |
| 665 ] | 663 ] |
| 666 | 664 |
| 667 ldflags = [ "-ObjC" ] | 665 ldflags = [ "-ObjC" ] |
| 668 } | 666 } |
| 669 } | 667 } |
| 670 } | 668 } |
| OLD | NEW |