Files
platform-external-webrtc/webrtc/modules/audio_processing/audio_processing_tests.gypi
kjellander b7a5c16d2c Revert of Add aecdump support to audioproc_f. (patchset #8 id:200001 of https://codereview.webrtc.org/1409943002/ )
This is the second revert. The first attempt in https://codereview.webrtc.org/1423693008/
was missing a subtle curly brace caused by a merge conflict.
I'm going to let this one go through the CQ.

Reason for revert:
This breaks iOS GYP generation as described on http://www.webrtc.org/native-code/ios
I'm going to drive getting the build_with_libjingle=1 setting removed from the bots to match the official instructions.

See https://code.google.com/p/webrtc/issues/detail?id=4653 for more context, as this is exactly what that issue tries to solve.

Original issue's description:
> Add aecdump support to audioproc_f.
>
> Add a new interface to abstract away file operations. This CL temporarily
> removes support for dumping the output of reverse streams. It will be easy to
> restore in the new framework, although we may decide to only allow it with
> the aecdump format.
>
> We also now require the user to specify the output format, rather than
> defaulting to the input format.
>
> TEST=Bit-exact output to the previous audioproc_f version using an input wav
> file, and to the legacy audioproc using an aecdump file.
>
> Committed: https://crrev.com/bdafe31b86e9819b0adb9041f87e6194b7422b08
> Cr-Commit-Position: refs/heads/master@{#10460}

TBR=aluebs@webrtc.org,peah@webrtc.org,andrew@webrtc.org
BUG=

Review URL: https://codereview.webrtc.org/1412963007

Cr-Commit-Position: refs/heads/master@{#10532}
2015-11-05 20:33:25 +00:00

150 lines
4.9 KiB
Python

# Copyright (c) 2012 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.
{
'targets': [
{
'target_name': 'audioproc_test_utils',
'type': 'static_library',
'dependencies': [
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
],
'sources': [
'test/test_utils.cc',
'test/test_utils.h',
],
},
{
'target_name': 'transient_suppression_test',
'type': 'executable',
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
'<(webrtc_root)/test/test.gyp:test_support',
'<(webrtc_root)/modules/modules.gyp:audio_processing',
],
'sources': [
'transient/transient_suppression_test.cc',
'transient/file_utils.cc',
'transient/file_utils.h',
],
}, # transient_suppression_test
{
'target_name': 'click_annotate',
'type': 'executable',
'dependencies': [
'<(webrtc_root)/modules/modules.gyp:audio_processing',
],
'sources': [
'transient/click_annotate.cc',
'transient/file_utils.cc',
'transient/file_utils.h',
],
}, # click_annotate
{
'target_name': 'nonlinear_beamformer_test',
'type': 'executable',
'dependencies': [
'audioproc_test_utils',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
'<(webrtc_root)/modules/modules.gyp:audio_processing',
],
'sources': [
'beamformer/nonlinear_beamformer_test.cc',
],
}, # nonlinear_beamformer_test
{
'target_name': 'intelligibility_proc',
'type': 'executable',
'dependencies': [
'audioproc_test_utils',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/modules/modules.gyp:audio_processing',
'<(webrtc_root)/test/test.gyp:test_support',
],
'sources': [
'intelligibility/test/intelligibility_proc.cc',
],
}, # intelligibility_proc
],
'conditions': [
['enable_protobuf==1', {
'targets': [
{
'target_name': 'audioproc_unittest_proto',
'type': 'static_library',
'sources': [ 'test/unittest.proto', ],
'variables': {
'proto_in_dir': 'test',
# Workaround to protect against gyp's pathname relativization when
# this file is included by modules.gyp.
'proto_out_protected': 'webrtc/audio_processing',
'proto_out_dir': '<(proto_out_protected)',
},
'includes': [ '../../build/protoc.gypi', ],
},
{
'target_name': 'audioproc_protobuf_utils',
'type': 'static_library',
'dependencies': [
'audioproc_debug_proto',
],
'sources': [
'test/protobuf_utils.cc',
'test/protobuf_utils.h',
],
},
{
'target_name': 'audioproc',
'type': 'executable',
'dependencies': [
'audio_processing',
'audioproc_debug_proto',
'audioproc_test_utils',
'audioproc_protobuf_utils',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
'<(webrtc_root)/test/test.gyp:test_support',
],
'sources': [ 'test/process_test.cc', ],
},
{
'target_name': 'audioproc_f',
'type': 'executable',
'dependencies': [
'audio_processing',
'audioproc_debug_proto',
'audioproc_test_utils',
'audioproc_protobuf_utils',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
'<(webrtc_root)/test/test.gyp:test_support',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
],
'sources': [ 'test/audioproc_float.cc', ],
},
{
'target_name': 'unpack_aecdump',
'type': 'executable',
'dependencies': [
'audioproc_debug_proto',
'audioproc_test_utils',
'audioproc_protobuf_utils',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
],
'sources': [ 'test/unpack.cc', ],
},
],
}],
],
}