| Index: webrtc/modules/audio_processing/BUILD.gn
|
| diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn
|
| index e249c858fa40896812b7ffa76d675ebcd50b0d17..037e6bbf85dab92e0ca20cd2b85733aff09c404d 100644
|
| --- a/webrtc/modules/audio_processing/BUILD.gn
|
| +++ b/webrtc/modules/audio_processing/BUILD.gn
|
| @@ -211,8 +211,7 @@ source_set("audio_processing") {
|
| configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
| if (is_clang) {
|
| - # Suppress warnings from Chrome's Clang plugins.
|
| - # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| + # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| @@ -295,3 +294,46 @@ if (rtc_build_with_neon) {
|
| }
|
| }
|
| }
|
| +
|
| +if (rtc_include_tests) {
|
| + source_set("audioproc_test_utils") {
|
| + testonly = true
|
| + sources = [
|
| + "test/test_utils.cc",
|
| + "test/test_utils.h",
|
| + ]
|
| +
|
| + configs += [ "../..:common_config" ]
|
| + public_configs = [ "../..:common_inherited_config" ]
|
| +
|
| + if (is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| + configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| +
|
| + deps = [
|
| + "../../base:rtc_base_approved",
|
| + "../../common_audio",
|
| + ]
|
| + }
|
| +
|
| + if (rtc_enable_protobuf) {
|
| + proto_library("audioproc_unittest_proto") {
|
| + sources = [
|
| + "test/unittest.proto",
|
| + ]
|
| + proto_out_dir = "webrtc/modules/audio_processing"
|
| + }
|
| +
|
| + source_set("audioproc_protobuf_utils") {
|
| + sources = [
|
| + "test/protobuf_utils.cc",
|
| + "test/protobuf_utils.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":audioproc_unittest_proto",
|
| + ]
|
| + }
|
| + }
|
| +}
|
|
|