blob: b301b00e4cf7a87229036cbabbeb7ce1d6a38271 [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': [
15 'audioproc_debug_proto',
16 '<(webrtc_root)/base/base.gyp:rtc_base_approved',
17 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
18 ],
19 'sources': [
20 'test/audio_file_processor.cc',
21 'test/audio_file_processor.h',
22 'test/test_utils.cc',
23 'test/test_utils.h',
24 ],
25 },
26 {
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000027 'target_name': 'transient_suppression_test',
28 'type': 'executable',
29 'dependencies': [
30 '<(DEPTH)/testing/gtest.gyp:gtest',
31 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
32 '<(webrtc_root)/test/test.gyp:test_support',
33 '<(webrtc_root)/modules/modules.gyp:audio_processing',
34 ],
35 'sources': [
36 'transient/transient_suppression_test.cc',
37 'transient/file_utils.cc',
38 'transient/file_utils.h',
39 ],
40 }, # transient_suppression_test
41 {
42 'target_name': 'click_annotate',
43 'type': 'executable',
44 'dependencies': [
45 '<(webrtc_root)/modules/modules.gyp:audio_processing',
46 ],
47 'sources': [
48 'transient/click_annotate.cc',
49 'transient/file_utils.cc',
50 'transient/file_utils.h',
51 ],
52 }, # click_annotate
53 {
54 'target_name': 'nonlinear_beamformer_test',
55 'type': 'executable',
56 'dependencies': [
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070057 'audioproc_test_utils',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000058 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
59 '<(webrtc_root)/modules/modules.gyp:audio_processing',
60 ],
61 'sources': [
62 'beamformer/nonlinear_beamformer_test.cc',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000063 ],
64 }, # nonlinear_beamformer_test
ekmdb4fecf2015-06-22 17:49:08 -070065 {
66 'target_name': 'intelligibility_proc',
67 'type': 'executable',
68 'dependencies': [
69 'audioproc_test_utils',
70 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
71 '<(DEPTH)/testing/gtest.gyp:gtest',
72 '<(webrtc_root)/modules/modules.gyp:audio_processing',
73 '<(webrtc_root)/test/test.gyp:test_support',
74 ],
75 'sources': [
ekm35b72fb2015-07-10 14:11:52 -070076 'intelligibility/test/intelligibility_proc.cc',
ekmdb4fecf2015-06-22 17:49:08 -070077 ],
78 }, # intelligibility_proc
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000079 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000080 'conditions': [
81 ['enable_protobuf==1', {
82 'targets': [
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}