blob: 536649d2b0745b4c99cdd285573d069428ff91af [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 {
12 'target_name': 'transient_suppression_test',
13 'type': 'executable',
14 'dependencies': [
15 '<(DEPTH)/testing/gtest.gyp:gtest',
16 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
17 '<(webrtc_root)/test/test.gyp:test_support',
18 '<(webrtc_root)/modules/modules.gyp:audio_processing',
19 ],
20 'sources': [
21 'transient/transient_suppression_test.cc',
22 'transient/file_utils.cc',
23 'transient/file_utils.h',
24 ],
25 }, # transient_suppression_test
26 {
27 'target_name': 'click_annotate',
28 'type': 'executable',
29 'dependencies': [
30 '<(webrtc_root)/modules/modules.gyp:audio_processing',
31 ],
32 'sources': [
33 'transient/click_annotate.cc',
34 'transient/file_utils.cc',
35 'transient/file_utils.h',
36 ],
37 }, # click_annotate
38 {
39 'target_name': 'nonlinear_beamformer_test',
40 'type': 'executable',
41 'dependencies': [
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070042 'audioproc_test_utils',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000043 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
44 '<(webrtc_root)/modules/modules.gyp:audio_processing',
45 ],
46 'sources': [
47 'beamformer/nonlinear_beamformer_test.cc',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000048 ],
49 }, # nonlinear_beamformer_test
ekmdb4fecf2015-06-22 17:49:08 -070050 {
51 'target_name': 'intelligibility_proc',
52 'type': 'executable',
53 'dependencies': [
54 'audioproc_test_utils',
55 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
56 '<(DEPTH)/testing/gtest.gyp:gtest',
57 '<(webrtc_root)/modules/modules.gyp:audio_processing',
58 '<(webrtc_root)/test/test.gyp:test_support',
59 ],
60 'sources': [
ekm35b72fb2015-07-10 14:11:52 -070061 'intelligibility/test/intelligibility_proc.cc',
ekmdb4fecf2015-06-22 17:49:08 -070062 ],
63 }, # intelligibility_proc
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000064 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000065 'conditions': [
66 ['enable_protobuf==1', {
67 'targets': [
68 {
Henrik Kjellandere2a89252015-11-04 19:56:52 +010069 'target_name': 'audioproc_test_utils',
70 'type': 'static_library',
71 'dependencies': [
72 'audioproc_debug_proto',
73 '<(webrtc_root)/base/base.gyp:rtc_base_approved',
74 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
75 ],
76 'sources': [
77 'test/audio_file_processor.cc',
78 'test/audio_file_processor.h',
79 'test/test_utils.cc',
80 'test/test_utils.h',
81 ],
82 },
83 {
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +000084 'target_name': 'audioproc_unittest_proto',
85 'type': 'static_library',
86 'sources': [ 'test/unittest.proto', ],
87 'variables': {
88 'proto_in_dir': 'test',
89 # Workaround to protect against gyp's pathname relativization when
90 # this file is included by modules.gyp.
91 'proto_out_protected': 'webrtc/audio_processing',
92 'proto_out_dir': '<(proto_out_protected)',
93 },
94 'includes': [ '../../build/protoc.gypi', ],
95 },
96 {
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070097 'target_name': 'audioproc_protobuf_utils',
98 'type': 'static_library',
99 'dependencies': [
100 'audioproc_debug_proto',
101 ],
102 'sources': [
103 'test/protobuf_utils.cc',
104 'test/protobuf_utils.h',
105 ],
106 },
107 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000108 'target_name': 'audioproc',
109 'type': 'executable',
110 'dependencies': [
111 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +0000112 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700113 'audioproc_test_utils',
114 'audioproc_protobuf_utils',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +0000115 '<(DEPTH)/testing/gtest.gyp:gtest',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000116 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200117 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
kma@webrtc.org0e739502012-12-07 15:26:28 +0000118 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000119 ],
120 'sources': [ 'test/process_test.cc', ],
121 },
122 {
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000123 'target_name': 'audioproc_f',
124 'type': 'executable',
125 'dependencies': [
126 'audio_processing',
127 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700128 'audioproc_test_utils',
129 'audioproc_protobuf_utils',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200130 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
Andrew MacDonaldb444b3f2015-05-27 17:26:03 -0700131 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000132 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
133 ],
134 'sources': [ 'test/audioproc_float.cc', ],
135 },
136 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000137 'target_name': 'unpack_aecdump',
138 'type': 'executable',
139 'dependencies': [
140 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700141 'audioproc_test_utils',
142 'audioproc_protobuf_utils',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000143 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
aluebs@webrtc.org841f58f2014-09-02 07:51:51 +0000144 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +0000145 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000146 ],
147 'sources': [ 'test/unpack.cc', ],
148 },
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +0000149 ],
150 }],
niklase@google.com470e71d2011-07-07 08:21:25 +0000151 ],
152}