blob: 0a3393b5600ff35b77bc294632c18ab18190fa38 [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.org7bf26462011-12-03 00:03:31 +000010 'conditions': [
11 ['enable_protobuf==1', {
12 'targets': [
13 {
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +000014 'target_name': 'audioproc_unittest_proto',
15 'type': 'static_library',
16 'sources': [ 'test/unittest.proto', ],
17 'variables': {
18 'proto_in_dir': 'test',
19 # Workaround to protect against gyp's pathname relativization when
20 # this file is included by modules.gyp.
21 'proto_out_protected': 'webrtc/audio_processing',
22 'proto_out_dir': '<(proto_out_protected)',
23 },
24 'includes': [ '../../build/protoc.gypi', ],
25 },
26 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000027 'target_name': 'audioproc',
28 'type': 'executable',
29 'dependencies': [
30 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +000031 'audioproc_debug_proto',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +000032 '<(DEPTH)/testing/gtest.gyp:gtest',
kma@webrtc.org0e739502012-12-07 15:26:28 +000033 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
34 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000035 ],
36 'sources': [ 'test/process_test.cc', ],
37 },
38 {
andrew@webrtc.org08df9b22014-12-16 20:57:15 +000039 'target_name': 'audioproc_f',
40 'type': 'executable',
41 'dependencies': [
42 'audio_processing',
43 'audioproc_debug_proto',
44 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
45 ],
46 'sources': [ 'test/audioproc_float.cc', ],
47 },
48 {
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000049 'target_name': 'unpack_aecdump',
50 'type': 'executable',
51 'dependencies': [
52 'audioproc_debug_proto',
53 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
aluebs@webrtc.org841f58f2014-09-02 07:51:51 +000054 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000055 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000056 ],
57 'sources': [ 'test/unpack.cc', ],
58 },
pbos@webrtc.org788acd12014-12-15 09:41:24 +000059 {
60 'target_name': 'transient_suppression_test',
61 'type': 'executable',
62 'dependencies': [
63 '<(DEPTH)/testing/gtest.gyp:gtest',
64 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
65 '<(webrtc_root)/test/test.gyp:test_support',
66 '<(webrtc_root)/modules/modules.gyp:audio_processing',
67 ],
68 'sources': [
69 'transient/transient_suppression_test.cc',
70 'transient/file_utils.cc',
71 'transient/file_utils.h',
72 ],
73 }, # transient_suppression_test
74 {
75 'target_name': 'click_annotate',
76 'type': 'executable',
77 'dependencies': [
78 '<(webrtc_root)/modules/modules.gyp:audio_processing',
79 ],
80 'sources': [
81 'transient/click_annotate.cc',
82 'transient/file_utils.cc',
83 'transient/file_utils.h',
84 ],
85 }, # click_annotate
niklase@google.com470e71d2011-07-07 08:21:25 +000086 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000087 }],
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +000088 ['rtc_use_openmax_dl==1', {
89 'targets': [
90 {
91 'target_name': 'beamformer_test',
92 'type': 'executable',
93 'dependencies': [
94 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
95 '<(webrtc_root)/modules/modules.gyp:audio_processing',
96 ],
97 'sources': [
98 'beamformer/beamformer_test.cc',
99 'beamformer/pcm_utils.cc',
100 'beamformer/pcm_utils.h',
101 ],
102 }, # beamformer_test
103 ],
104 }],
niklase@google.com470e71d2011-07-07 08:21:25 +0000105 ],
106}