diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-10-29 08:02:21 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-10-29 08:02:21 +0000 |
commit | 8d5c0cdb2147aef65430175f298fa0c62f7b142c (patch) | |
tree | 19f89d5ad7a69095718898a2c2cf876ec72da26a /webrtc/modules/audio_processing/Android.bp | |
parent | 7ae782ba204882ef65781f3b407b66293479e655 (diff) | |
parent | b3654bfbddedd7bbc3bff9f49134d28506eb6758 (diff) | |
download | webrtc-8d5c0cdb2147aef65430175f298fa0c62f7b142c.tar.gz |
Snap for 4422293 from b3654bfbddedd7bbc3bff9f49134d28506eb6758 to pi-release
Change-Id: If10df1c6b04b31d48c100d4ca6d626f90e9babe2
Diffstat (limited to 'webrtc/modules/audio_processing/Android.bp')
-rw-r--r-- | webrtc/modules/audio_processing/Android.bp | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/webrtc/modules/audio_processing/Android.bp b/webrtc/modules/audio_processing/Android.bp new file mode 100644 index 0000000000..618387c1da --- /dev/null +++ b/webrtc/modules/audio_processing/Android.bp @@ -0,0 +1,114 @@ +// Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. +// +// Use of this source code is governed by a BSD-style license +// that can be found in the LICENSE file in the root of the source +// tree. An additional intellectual property rights grant can be found +// in the file PATENTS. All contributing project authors may +// be found in the AUTHORS file in the root of the source tree. + +subdirs = ["*"] + +cc_library_static { + name: "libwebrtc_apm", + defaults: ["webrtc_flags"], + + srcs: [ + "./**/*.proto", + "audio_buffer.cc", + "audio_processing_impl.cc", + "echo_cancellation_impl.cc", + "echo_control_mobile_impl.cc", + "gain_control_impl.cc", + "high_pass_filter_impl.cc", + "level_estimator_impl.cc", + "noise_suppression_impl.cc", + "rms_level.cc", + "splitting_filter.cc", + "three_band_filter_bank.cc", + "processing_component.cc", + "voice_detection_impl.cc", + ], + + cflags: [ + "-DWEBRTC_NS_FIXED", + "-DWEBRTC_ANDROID_PLATFORM_BUILD", + "-DWEBRTC_AUDIOPROC_DEBUG_DUMP", + + // floating point + // "-DWEBRTC_NS_FLOAT", + ], + + local_include_dirs: ["include"], + header_libs: ["libwebrtc_modules_headers"], + static_libs: [ + "libwebrtc_spl", + "libwebrtc_vad", + "libwebrtc_system_wrappers", + ], +} + +// apm process test app +cc_test { + name: "webrtc_apm_process_test", + defaults: ["webrtc_flags"], + + srcs: [ + "**/*.proto", + "test/process_test.cc", + "test/test_utils.cc", + "test/protobuf_utils.cc", + ":webrtc_common_audio_wav", + ":webrtc_system_wrappers_tick_util", + ":webrtc_test_testsupport_fileutils", + ":webrtc_test_testsupport_perf_test", + ], + + cflags: [ + "-DWEBRTC_ANDROID_PLATFORM_BUILD", + "-DWEBRTC_AUDIOPROC_DEBUG_DUMP", + ], + + local_include_dirs: ["include"], + + shared_libs: [ + "libutils", + "libwebrtc_audio_preprocessing", + ], + + arch: { + arm: { + instruction_set: "thumb", + }, + }, +} + +// apm unit test app +cc_test { + name: "webrtc_apm_unit_test", + defaults: ["webrtc_flags"], + + srcs: [ + "**/*.proto", + "test/audio_processing_unittest.cc", + "test/protobuf_utils.cc", + "test/test_utils.cc", + ":webrtc_common_audio_resampler_push_resampler", + ":webrtc_test_testsupport_fileutils", + ], + + cflags: [ + "-DWEBRTC_AUDIOPROC_FIXED_PROFILE", + "-DWEBRTC_ANDROID_PLATFORM_BUILD", + "-DWEBRTC_AUDIOPROC_DEBUG_DUMP", + ], + + local_include_dirs: ["include"], + + shared_libs: ["libwebrtc_audio_preprocessing"], + + arch: { + arm: { + instruction_set: "thumb", + }, + }, +} |