blob: f672226e4bd6c429eae595fe5cd616573f48130f [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': [
kjellanderf97bfed2015-11-05 06:02:15 -080019 'test/test_utils.cc',
20 'test/test_utils.h',
21 ],
22 },
23 {
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000024 'target_name': 'transient_suppression_test',
25 'type': 'executable',
26 'dependencies': [
27 '<(DEPTH)/testing/gtest.gyp:gtest',
28 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
29 '<(webrtc_root)/test/test.gyp:test_support',
30 '<(webrtc_root)/modules/modules.gyp:audio_processing',
31 ],
32 'sources': [
33 'transient/transient_suppression_test.cc',
34 'transient/file_utils.cc',
35 'transient/file_utils.h',
36 ],
37 }, # transient_suppression_test
38 {
39 'target_name': 'click_annotate',
40 'type': 'executable',
41 'dependencies': [
42 '<(webrtc_root)/modules/modules.gyp:audio_processing',
43 ],
44 'sources': [
45 'transient/click_annotate.cc',
46 'transient/file_utils.cc',
47 'transient/file_utils.h',
48 ],
49 }, # click_annotate
50 {
51 'target_name': 'nonlinear_beamformer_test',
52 'type': 'executable',
53 'dependencies': [
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070054 'audioproc_test_utils',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000055 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
56 '<(webrtc_root)/modules/modules.gyp:audio_processing',
57 ],
58 'sources': [
59 'beamformer/nonlinear_beamformer_test.cc',
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000060 ],
61 }, # nonlinear_beamformer_test
ekmdb4fecf2015-06-22 17:49:08 -070062 {
63 'target_name': 'intelligibility_proc',
64 'type': 'executable',
65 'dependencies': [
66 'audioproc_test_utils',
67 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
68 '<(DEPTH)/testing/gtest.gyp:gtest',
69 '<(webrtc_root)/modules/modules.gyp:audio_processing',
70 '<(webrtc_root)/test/test.gyp:test_support',
71 ],
72 'sources': [
ekm35b72fb2015-07-10 14:11:52 -070073 'intelligibility/test/intelligibility_proc.cc',
ekmdb4fecf2015-06-22 17:49:08 -070074 ],
kjellander@webrtc.org66a99282016-02-18 20:30:14 +010075 'conditions': [
76 ['OS=="ios"', {
77 'xcode_settings': {
78 'WARNING_CFLAGS': [
79 # Suppress compiler warnings about deprecated that triggered
80 # when moving from ios_deployment_target 7.0 to 9.0.
81 # See webrtc:5549 for more details.
82 '-Wno-deprecated-declarations',
83 ],
84 },
85 }],
86 ],
ekmdb4fecf2015-06-22 17:49:08 -070087 }, # intelligibility_proc
andrew@webrtc.orgbd8c8652015-03-20 00:28:22 +000088 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000089 'conditions': [
90 ['enable_protobuf==1', {
91 'targets': [
92 {
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +000093 'target_name': 'audioproc_unittest_proto',
94 'type': 'static_library',
95 'sources': [ 'test/unittest.proto', ],
96 'variables': {
97 'proto_in_dir': 'test',
98 # Workaround to protect against gyp's pathname relativization when
99 # this file is included by modules.gyp.
kjellander78ddd732016-02-09 08:13:06 -0800100 'proto_out_protected': 'webrtc/modules/audio_processing',
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000101 'proto_out_dir': '<(proto_out_protected)',
102 },
103 'includes': [ '../../build/protoc.gypi', ],
104 },
105 {
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700106 'target_name': 'audioproc_protobuf_utils',
107 'type': 'static_library',
108 'dependencies': [
109 'audioproc_debug_proto',
110 ],
111 'sources': [
112 'test/protobuf_utils.cc',
113 'test/protobuf_utils.h',
114 ],
115 },
116 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000117 'target_name': 'audioproc',
118 'type': 'executable',
119 'dependencies': [
120 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +0000121 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700122 'audioproc_test_utils',
123 'audioproc_protobuf_utils',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +0000124 '<(DEPTH)/testing/gtest.gyp:gtest',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000125 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200126 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
kma@webrtc.org0e739502012-12-07 15:26:28 +0000127 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000128 ],
129 'sources': [ 'test/process_test.cc', ],
130 },
131 {
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000132 'target_name': 'audioproc_f',
133 'type': 'executable',
134 'dependencies': [
135 'audio_processing',
136 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700137 'audioproc_test_utils',
138 'audioproc_protobuf_utils',
Bjorn Volcker1ca324f2015-06-29 14:57:29 +0200139 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
Andrew MacDonaldb444b3f2015-05-27 17:26:03 -0700140 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000141 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
142 ],
aluebsb0ad43b2015-11-20 00:11:53 -0800143 'sources': [
144 'test/audio_file_processor.cc',
145 'test/audio_file_processor.h',
146 'test/audioproc_float.cc',
147 ],
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000148 },
149 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000150 'target_name': 'unpack_aecdump',
151 'type': 'executable',
152 'dependencies': [
153 'audioproc_debug_proto',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -0700154 'audioproc_test_utils',
155 'audioproc_protobuf_utils',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000156 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
aluebs@webrtc.org841f58f2014-09-02 07:51:51 +0000157 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +0000158 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +0000159 ],
160 'sources': [ 'test/unpack.cc', ],
161 },
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +0000162 ],
163 }],
niklase@google.com470e71d2011-07-07 08:21:25 +0000164 ],
165}