bjornv@webrtc.org | 7056908 | 2012-04-12 12:13:50 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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 | { |
andrew@webrtc.org | bd8c865 | 2015-03-20 00:28:22 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
kjellander | f97bfed | 2015-11-05 06:02:15 -0800 | [diff] [blame] | 12 | 'target_name': 'audioproc_test_utils', |
| 13 | 'type': 'static_library', |
| 14 | 'dependencies': [ |
kjellander | f97bfed | 2015-11-05 06:02:15 -0800 | [diff] [blame] | 15 | '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 16 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 17 | ], |
| 18 | 'sources': [ |
peah | ca4cac7 | 2016-06-29 15:26:12 -0700 | [diff] [blame] | 19 | 'test/audio_buffer_tools.cc', |
| 20 | 'test/audio_buffer_tools.h', |
kjellander | f97bfed | 2015-11-05 06:02:15 -0800 | [diff] [blame] | 21 | 'test/test_utils.cc', |
| 22 | 'test/test_utils.h', |
| 23 | ], |
| 24 | }, |
| 25 | { |
andrew@webrtc.org | bd8c865 | 2015-03-20 00:28:22 +0000 | [diff] [blame] | 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': [ |
Andrew MacDonald | cb05b72 | 2015-05-07 22:17:51 -0700 | [diff] [blame] | 56 | 'audioproc_test_utils', |
andrew@webrtc.org | bd8c865 | 2015-03-20 00:28:22 +0000 | [diff] [blame] | 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', |
andrew@webrtc.org | bd8c865 | 2015-03-20 00:28:22 +0000 | [diff] [blame] | 62 | ], |
| 63 | }, # nonlinear_beamformer_test |
| 64 | ], |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 65 | 'conditions': [ |
peah | 1bcfce5 | 2016-08-26 07:16:04 -0700 | [diff] [blame^] | 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 | }], |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 87 | ['enable_protobuf==1', { |
| 88 | 'targets': [ |
| 89 | { |
andrew@webrtc.org | dd5d804 | 2014-03-13 00:57:52 +0000 | [diff] [blame] | 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. |
kjellander | 78ddd73 | 2016-02-09 08:13:06 -0800 | [diff] [blame] | 97 | 'proto_out_protected': 'webrtc/modules/audio_processing', |
andrew@webrtc.org | dd5d804 | 2014-03-13 00:57:52 +0000 | [diff] [blame] | 98 | 'proto_out_dir': '<(proto_out_protected)', |
| 99 | }, |
| 100 | 'includes': [ '../../build/protoc.gypi', ], |
| 101 | }, |
| 102 | { |
Andrew MacDonald | cb05b72 | 2015-05-07 22:17:51 -0700 | [diff] [blame] | 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 | { |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 114 | 'target_name': 'audioproc', |
| 115 | 'type': 'executable', |
| 116 | 'dependencies': [ |
| 117 | 'audio_processing', |
andrew@webrtc.org | ae7017d | 2011-12-03 01:43:29 +0000 | [diff] [blame] | 118 | 'audioproc_debug_proto', |
Andrew MacDonald | cb05b72 | 2015-05-07 22:17:51 -0700 | [diff] [blame] | 119 | 'audioproc_test_utils', |
| 120 | 'audioproc_protobuf_utils', |
andrew@webrtc.org | b43502e | 2012-11-26 23:57:38 +0000 | [diff] [blame] | 121 | '<(DEPTH)/testing/gtest.gyp:gtest', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 122 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
Bjorn Volcker | 1ca324f | 2015-06-29 14:57:29 +0200 | [diff] [blame] | 123 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
kma@webrtc.org | 0e73950 | 2012-12-07 15:26:28 +0000 | [diff] [blame] | 124 | '<(webrtc_root)/test/test.gyp:test_support', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 125 | ], |
| 126 | 'sources': [ 'test/process_test.cc', ], |
| 127 | }, |
| 128 | { |
andrew@webrtc.org | 08df9b2 | 2014-12-16 20:57:15 +0000 | [diff] [blame] | 129 | 'target_name': 'audioproc_f', |
| 130 | 'type': 'executable', |
| 131 | 'dependencies': [ |
| 132 | 'audio_processing', |
| 133 | 'audioproc_debug_proto', |
Andrew MacDonald | cb05b72 | 2015-05-07 22:17:51 -0700 | [diff] [blame] | 134 | 'audioproc_test_utils', |
| 135 | 'audioproc_protobuf_utils', |
Bjorn Volcker | 1ca324f | 2015-06-29 14:57:29 +0200 | [diff] [blame] | 136 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
Andrew MacDonald | b444b3f | 2015-05-27 17:26:03 -0700 | [diff] [blame] | 137 | '<(webrtc_root)/test/test.gyp:test_support', |
andrew@webrtc.org | 08df9b2 | 2014-12-16 20:57:15 +0000 | [diff] [blame] | 138 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 139 | ], |
aluebs | b0ad43b | 2015-11-20 00:11:53 -0800 | [diff] [blame] | 140 | 'sources': [ |
peah | 60a189f | 2016-05-24 20:54:40 -0700 | [diff] [blame] | 141 | 'test/audio_processing_simulator.cc', |
| 142 | 'test/audio_processing_simulator.h', |
| 143 | 'test/aec_dump_based_simulator.cc', |
| 144 | 'test/aec_dump_based_simulator.h', |
| 145 | 'test/wav_based_simulator.cc', |
| 146 | 'test/wav_based_simulator.h', |
aluebs | b0ad43b | 2015-11-20 00:11:53 -0800 | [diff] [blame] | 147 | 'test/audioproc_float.cc', |
| 148 | ], |
andrew@webrtc.org | 08df9b2 | 2014-12-16 20:57:15 +0000 | [diff] [blame] | 149 | }, |
| 150 | { |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 151 | 'target_name': 'unpack_aecdump', |
| 152 | 'type': 'executable', |
| 153 | 'dependencies': [ |
| 154 | 'audioproc_debug_proto', |
Andrew MacDonald | cb05b72 | 2015-05-07 22:17:51 -0700 | [diff] [blame] | 155 | 'audioproc_test_utils', |
| 156 | 'audioproc_protobuf_utils', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 157 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
aluebs@webrtc.org | 841f58f | 2014-09-02 07:51:51 +0000 | [diff] [blame] | 158 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 159 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 160 | ], |
| 161 | 'sources': [ 'test/unpack.cc', ], |
| 162 | }, |
aluebs@webrtc.org | 0c39e91 | 2014-12-18 22:22:04 +0000 | [diff] [blame] | 163 | ], |
| 164 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 165 | ], |
| 166 | } |