blob: 0d5bfacb0681d215a6a3e503f4819d658895affd [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{
niklase@google.com470e71d2011-07-07 08:21:25 +000010 'targets': [
11 {
andrew@webrtc.orgf5fb0952011-09-13 01:04:59 +000012 'target_name': 'audioproc_unittest',
niklase@google.com470e71d2011-07-07 08:21:25 +000013 'type': 'executable',
ajm@google.com59e41402011-07-28 17:34:04 +000014 'conditions': [
15 ['prefer_fixed_point==1', {
andrew@webrtc.org293d22b2012-01-30 22:04:26 +000016 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
ajm@google.com59e41402011-07-28 17:34:04 +000017 }, {
andrew@webrtc.org293d22b2012-01-30 22:04:26 +000018 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
ajm@google.com59e41402011-07-28 17:34:04 +000019 }],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000020 ['enable_protobuf==1', {
21 'defines': [ 'WEBRTC_AUDIOPROC_DEBUG_DUMP' ],
22 }],
ajm@google.com59e41402011-07-28 17:34:04 +000023 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000024 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000025 'audio_processing',
andrew@webrtc.orgcb181212011-10-26 00:27:17 +000026 'audioproc_unittest_proto',
kjellander@webrtc.org0403ef42011-11-17 08:35:47 +000027 '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',
xians@google.comd3185fe2011-09-12 12:24:39 +000028 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andrew@webrtc.org81cf5e42012-06-27 01:41:54 +000029 '<(webrtc_root)/test/test.gyp:test_support',
30 '<(DEPTH)/testing/gtest.gyp:gtest',
niklase@google.com470e71d2011-07-07 08:21:25 +000031 ],
bjornv@webrtc.org70569082012-04-12 12:13:50 +000032 'sources': [
bjornv@webrtc.org180f83f2012-04-18 07:01:10 +000033 'aec/system_delay_unittest.cc',
bjornv@webrtc.org70569082012-04-12 12:13:50 +000034 'test/unit_test.cc',
bjornv@webrtc.org4ade5502012-04-18 09:42:16 +000035 'utility/delay_estimator_unittest.cc',
bjornv@webrtc.org70569082012-04-12 12:13:50 +000036 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000037 },
38 {
andrew@webrtc.orgf5fb0952011-09-13 01:04:59 +000039 'target_name': 'audioproc_unittest_proto',
andrew@webrtc.orgcb181212011-10-26 00:27:17 +000040 'type': 'static_library',
41 'sources': [ 'test/unittest.proto', ],
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000042 'variables': {
andrew@webrtc.orgcb181212011-10-26 00:27:17 +000043 'proto_in_dir': 'test',
44 # Workaround to protect against gyp's pathname relativization when this
45 # file is included by modules.gyp.
46 'proto_out_protected': 'webrtc/audio_processing',
47 'proto_out_dir': '<(proto_out_protected)',
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000048 },
andrew@webrtc.org89088b92011-11-03 20:43:45 +000049 'includes': [ '../../build/protoc.gypi', ],
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000050 },
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000051 ],
52 'conditions': [
53 ['enable_protobuf==1', {
54 'targets': [
55 {
56 'target_name': 'audioproc',
57 'type': 'executable',
58 'dependencies': [
59 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +000060 'audioproc_debug_proto',
kma@webrtc.org4cd8f1f2012-11-26 22:02:47 +000061 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +000062 '<(DEPTH)/testing/gtest.gyp:gtest',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000063 ],
64 'sources': [ 'test/process_test.cc', ],
65 },
66 {
67 'target_name': 'unpack_aecdump',
68 'type': 'executable',
69 'dependencies': [
70 'audioproc_debug_proto',
71 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andrew@webrtc.org81cf5e42012-06-27 01:41:54 +000072 '<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000073 ],
74 'sources': [ 'test/unpack.cc', ],
75 },
niklase@google.com470e71d2011-07-07 08:21:25 +000076 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000077 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000078 ],
79}