2012-04-12 12:13:50 +00:00
|
|
|
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
2011-07-07 08:21:25 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
{
|
2015-03-20 00:28:22 +00:00
|
|
|
'targets': [
|
2015-11-05 06:02:15 -08:00
|
|
|
{
|
|
|
|
|
'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',
|
|
|
|
|
],
|
|
|
|
|
},
|
2015-03-20 00:28:22 +00:00
|
|
|
{
|
|
|
|
|
'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': [
|
2015-05-07 22:17:51 -07:00
|
|
|
'audioproc_test_utils',
|
2015-03-20 00:28:22 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:audio_processing',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'beamformer/nonlinear_beamformer_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}, # nonlinear_beamformer_test
|
2015-06-22 17:49:08 -07:00
|
|
|
{
|
|
|
|
|
'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': [
|
2015-07-10 14:11:52 -07:00
|
|
|
'intelligibility/test/intelligibility_proc.cc',
|
2015-06-22 17:49:08 -07:00
|
|
|
],
|
|
|
|
|
}, # intelligibility_proc
|
2015-03-20 00:28:22 +00:00
|
|
|
],
|
2011-12-03 00:03:31 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['enable_protobuf==1', {
|
|
|
|
|
'targets': [
|
2014-03-13 00:57:52 +00:00
|
|
|
{
|
|
|
|
|
'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.
|
2016-02-09 08:13:06 -08:00
|
|
|
'proto_out_protected': 'webrtc/modules/audio_processing',
|
2014-03-13 00:57:52 +00:00
|
|
|
'proto_out_dir': '<(proto_out_protected)',
|
|
|
|
|
},
|
|
|
|
|
'includes': [ '../../build/protoc.gypi', ],
|
|
|
|
|
},
|
2015-05-07 22:17:51 -07:00
|
|
|
{
|
|
|
|
|
'target_name': 'audioproc_protobuf_utils',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'audioproc_debug_proto',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/protobuf_utils.cc',
|
|
|
|
|
'test/protobuf_utils.h',
|
|
|
|
|
],
|
|
|
|
|
},
|
2011-12-03 00:03:31 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'audioproc',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'audio_processing',
|
2011-12-03 01:43:29 +00:00
|
|
|
'audioproc_debug_proto',
|
2015-05-07 22:17:51 -07:00
|
|
|
'audioproc_test_utils',
|
|
|
|
|
'audioproc_protobuf_utils',
|
2012-11-26 23:57:38 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
2015-06-29 14:57:29 +02:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2012-12-07 15:26:28 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
2011-12-03 00:03:31 +00:00
|
|
|
],
|
|
|
|
|
'sources': [ 'test/process_test.cc', ],
|
|
|
|
|
},
|
2014-12-16 20:57:15 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'audioproc_f',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'audio_processing',
|
|
|
|
|
'audioproc_debug_proto',
|
2015-05-07 22:17:51 -07:00
|
|
|
'audioproc_test_utils',
|
|
|
|
|
'audioproc_protobuf_utils',
|
2015-06-29 14:57:29 +02:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2015-05-27 17:26:03 -07:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
2014-12-16 20:57:15 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
|
|
|
|
],
|
2015-11-20 00:11:53 -08:00
|
|
|
'sources': [
|
|
|
|
|
'test/audio_file_processor.cc',
|
|
|
|
|
'test/audio_file_processor.h',
|
|
|
|
|
'test/audioproc_float.cc',
|
|
|
|
|
],
|
2014-12-16 20:57:15 +00:00
|
|
|
},
|
2011-12-03 00:03:31 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'unpack_aecdump',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'audioproc_debug_proto',
|
2015-05-07 22:17:51 -07:00
|
|
|
'audioproc_test_utils',
|
|
|
|
|
'audioproc_protobuf_utils',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
2014-09-02 07:51:51 +00:00
|
|
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
2013-08-15 23:31:30 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2011-12-03 00:03:31 +00:00
|
|
|
],
|
|
|
|
|
'sources': [ 'test/unpack.cc', ],
|
|
|
|
|
},
|
2014-12-18 22:22:04 +00:00
|
|
|
],
|
|
|
|
|
}],
|
2011-07-07 08:21:25 +00:00
|
|
|
],
|
|
|
|
|
}
|