OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | |
2 # | |
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 { | |
10 'targets': [ | |
11 { | |
12 'target_name': 'audioproc_test_utils', | |
13 'type': 'static_library', | |
14 'dependencies': [ | |
15 '<(webrtc_root)/base/base.gyp:rtc_base_approved', | |
16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
17 ], | |
18 'sources': [ | |
19 'test/audio_buffer_tools.cc', | |
20 'test/audio_buffer_tools.h', | |
21 'test/test_utils.cc', | |
22 'test/test_utils.h', | |
23 ], | |
24 }, | |
25 { | |
26 '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': [ | |
56 'audioproc_test_utils', | |
57 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
58 '<(webrtc_root)/modules/modules.gyp:audio_processing', | |
59 ], | |
60 'sources': [ | |
61 'beamformer/nonlinear_beamformer_test.cc', | |
62 ], | |
63 }, # nonlinear_beamformer_test | |
64 ], | |
65 'conditions': [ | |
66 ['enable_intelligibility_enhancer==1', { | |
67 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',], | |
68 'targets': [ | |
69 { | |
70 'target_name': 'intelligibility_proc', | |
71 'type': 'executable', | |
72 'dependencies': [ | |
73 'audioproc_test_utils', | |
74 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
75 '<(DEPTH)/testing/gtest.gyp:gtest', | |
76 '<(webrtc_root)/modules/modules.gyp:audio_processing', | |
77 '<(webrtc_root)/test/test.gyp:test_support', | |
78 ], | |
79 'sources': [ | |
80 'intelligibility/test/intelligibility_proc.cc', | |
81 ], | |
82 }, | |
83 ], | |
84 }, { | |
85 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=0',], | |
86 }], | |
87 ['enable_protobuf==1', { | |
88 'targets': [ | |
89 { | |
90 'target_name': 'audioproc_unittest_proto', | |
91 'type': 'static_library', | |
92 'sources': [ 'test/unittest.proto', ], | |
93 'variables': { | |
94 'proto_in_dir': 'test', | |
95 # Workaround to protect against gyp's pathname relativization when | |
96 # this file is included by modules.gyp. | |
97 'proto_out_protected': 'webrtc/modules/audio_processing', | |
98 'proto_out_dir': '<(proto_out_protected)', | |
99 }, | |
100 'includes': [ '../../build/protoc.gypi', ], | |
101 }, | |
102 { | |
103 'target_name': 'audioproc_protobuf_utils', | |
104 'type': 'static_library', | |
105 'dependencies': [ | |
106 'audioproc_debug_proto', | |
107 ], | |
108 'sources': [ | |
109 'test/protobuf_utils.cc', | |
110 'test/protobuf_utils.h', | |
111 ], | |
112 }, | |
113 { | |
114 'target_name': 'audioproc_f', | |
115 'type': 'executable', | |
116 'dependencies': [ | |
117 'audio_processing', | |
118 'audioproc_debug_proto', | |
119 'audioproc_test_utils', | |
120 'audioproc_protobuf_utils', | |
121 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | |
122 '<(webrtc_root)/test/test.gyp:test_support', | |
123 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
124 ], | |
125 'sources': [ | |
126 'test/audio_processing_simulator.cc', | |
127 'test/audio_processing_simulator.h', | |
128 'test/aec_dump_based_simulator.cc', | |
129 'test/aec_dump_based_simulator.h', | |
130 'test/wav_based_simulator.cc', | |
131 'test/wav_based_simulator.h', | |
132 'test/audioproc_float.cc', | |
133 ], | |
134 }, | |
135 { | |
136 'target_name': 'unpack_aecdump', | |
137 'type': 'executable', | |
138 'dependencies': [ | |
139 'audioproc_debug_proto', | |
140 'audioproc_test_utils', | |
141 'audioproc_protobuf_utils', | |
142 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
143 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
144 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
145 ], | |
146 'sources': [ 'test/unpack.cc', ], | |
147 }, | |
148 ], | |
149 }], | |
150 ], | |
151 } | |
OLD | NEW |