blob: 87598edeef45fbec8aa99264433d6c6dc973b2e8 [file] [log] [blame]
bjornv@webrtc.org70569082012-04-12 12:13:50 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
niklase@google.com470e71d2011-07-07 08:21:25 +00002#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000010 'targets': [
11 {
kjellanderf97bfed2015-11-05 06:02:15 -080012 'target_name': 'audioproc_test_utils',
13 'type': 'static_library',
14 'dependencies': [
kjellanderf97bfed2015-11-05 06:02:15 -080015 '<(webrtc_root)/base/base.gyp:rtc_base_approved',
16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
17 ],
18 'sources': [
peahca4cac72016-06-29 15:26:12 -070019 'test/audio_buffer_tools.cc',
20 'test/audio_buffer_tools.h',
kjellanderf97bfed2015-11-05 06:02:15 -080021 'test/test_utils.cc',
22 'test/test_utils.h',
23 ],
24 },
25 {
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000026 'target_name': 'transient_suppression_test',
27 'type': 'executable',
28 'dependencies': [
29 '<(DEPTH)/testing/gtest.gyp:gtest',
30 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
31 '<(webrtc_root)/test/test.gyp:test_support',
32 '<(webrtc_root)/modules/modules.gyp:audio_processing',
33 ],
34 'sources': [
35 'transient/transient_suppression_test.cc',
36 'transient/file_utils.cc',
37 'transient/file_utils.h',
38 ],
39 }, # transient_suppression_test
40 {
41 'target_name': 'click_annotate',
42 'type': 'executable',
43 'dependencies': [
44 '<(webrtc_root)/modules/modules.gyp:audio_processing',
45 ],
46 'sources': [
47 'transient/click_annotate.cc',
48 'transient/file_utils.cc',
49 'transient/file_utils.h',
50 ],
51 }, # click_annotate
52 {
53 'target_name': 'nonlinear_beamformer_test',
54 'type': 'executable',
55 'dependencies': [
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070056 'audioproc_test_utils',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000057 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
58 '<(webrtc_root)/modules/modules.gyp:audio_processing',
59 ],
60 'sources': [
61 'beamformer/nonlinear_beamformer_test.cc',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000062 ],
63 }, # nonlinear_beamformer_test
ekmdb4fecf2015-06-22 17:49:08 -070064 {
65 'target_name': 'intelligibility_proc',
66 'type': 'executable',
67 'dependencies': [
68 'audioproc_test_utils',
69 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
70 '<(DEPTH)/testing/gtest.gyp:gtest',
71 '<(webrtc_root)/modules/modules.gyp:audio_processing',
72 '<(webrtc_root)/test/test.gyp:test_support',
73 ],
74 'sources': [
ekm35b72fb2015-07-10 14:11:52 -070075 'intelligibility/test/intelligibility_proc.cc',
ekmdb4fecf2015-06-22 17:49:08 -070076 ],
77 }, # intelligibility_proc
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000078 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000079 'conditions': [
80 ['enable_protobuf==1', {
81 'targets': [
82 {
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +000083 'target_name': 'audioproc_unittest_proto',
84 'type': 'static_library',
85 'sources': [ 'test/unittest.proto', ],
86 'variables': {
87 'proto_in_dir': 'test',
88 # Workaround to protect against gyp's pathname relativization when
89 # this file is included by modules.gyp.
kjellander78ddd732016-02-09 08:13:06 -080090 'proto_out_protected': 'webrtc/modules/audio_processing',
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +000091 'proto_out_dir': '<(proto_out_protected)',
92 },
93 'includes': [ '../../build/protoc.gypi', ],
94 },
95 {
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070096 'target_name': 'audioproc_protobuf_utils',
97 'type': 'static_library',
98 'dependencies': [
99 'audioproc_debug_proto',
100 ],
101 'sources': [
102 'test/protobuf_utils.cc',
103 'test/protobuf_utils.h',
104 ],
105 },
106 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000107 'target_name': 'audioproc',
108 'type': 'executable',
109 'dependencies': [
110 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +0000111 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700112 'audioproc_test_utils',
113 'audioproc_protobuf_utils',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +0000114 '<(DEPTH)/testing/gtest.gyp:gtest',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000115 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200116 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
kma@webrtc.org0e739502012-12-07 15:26:28 +0000117 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000118 ],
119 'sources': [ 'test/process_test.cc', ],
120 },
121 {
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000122 'target_name': 'audioproc_f',
123 'type': 'executable',
124 'dependencies': [
125 'audio_processing',
126 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700127 'audioproc_test_utils',
128 'audioproc_protobuf_utils',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200129 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
Andrew MacDonaldb444b3f2015-05-27 17:26:03 -0700130 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000131 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
132 ],
aluebsb0ad43b2015-11-20 00:11:53 -0800133 'sources': [
peah60a189f2016-05-24 20:54:40 -0700134 'test/audio_processing_simulator.cc',
135 'test/audio_processing_simulator.h',
136 'test/aec_dump_based_simulator.cc',
137 'test/aec_dump_based_simulator.h',
138 'test/wav_based_simulator.cc',
139 'test/wav_based_simulator.h',
aluebsb0ad43b2015-11-20 00:11:53 -0800140 'test/audioproc_float.cc',
141 ],
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000142 },
143 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000144 'target_name': 'unpack_aecdump',
145 'type': 'executable',
146 'dependencies': [
147 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700148 'audioproc_test_utils',
149 'audioproc_protobuf_utils',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000150 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
aluebs@webrtc.org841f58f2014-09-02 07:51:51 +0000151 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +0000152 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000153 ],
154 'sources': [ 'test/unpack.cc', ],
155 },
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +0000156 ],
157 }],
niklase@google.com470e71d2011-07-07 08:21:25 +0000158 ],
159}