blob: 156a2edfcc0c1e4a59a876d918fe663ad2b316b2 [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_proto',
andrew@webrtc.orgcb181212011-10-26 00:27:17 +000013 'type': 'static_library',
14 'sources': [ 'test/unittest.proto', ],
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000015 'variables': {
andrew@webrtc.orgcb181212011-10-26 00:27:17 +000016 'proto_in_dir': 'test',
17 # Workaround to protect against gyp's pathname relativization when this
18 # file is included by modules.gyp.
19 'proto_out_protected': 'webrtc/audio_processing',
20 'proto_out_dir': '<(proto_out_protected)',
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000021 },
andrew@webrtc.org89088b92011-11-03 20:43:45 +000022 'includes': [ '../../build/protoc.gypi', ],
ajm@google.comf8dc8dc2011-07-29 17:29:08 +000023 },
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000024 ],
25 'conditions': [
26 ['enable_protobuf==1', {
27 'targets': [
28 {
29 'target_name': 'audioproc',
30 'type': 'executable',
31 'dependencies': [
32 'audio_processing',
andrew@webrtc.orgae7017d2011-12-03 01:43:29 +000033 'audioproc_debug_proto',
andrew@webrtc.orgb43502e2012-11-26 23:57:38 +000034 '<(DEPTH)/testing/gtest.gyp:gtest',
kma@webrtc.org0e739502012-12-07 15:26:28 +000035 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
36 '<(webrtc_root)/test/test.gyp:test_support',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000037 ],
38 'sources': [ 'test/process_test.cc', ],
39 },
40 {
41 'target_name': 'unpack_aecdump',
42 'type': 'executable',
43 'dependencies': [
44 'audioproc_debug_proto',
45 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
andrew@webrtc.org81cf5e42012-06-27 01:41:54 +000046 '<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000047 ],
48 'sources': [ 'test/unpack.cc', ],
49 },
niklase@google.com470e71d2011-07-07 08:21:25 +000050 ],
andrew@webrtc.org7bf26462011-12-03 00:03:31 +000051 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000052 ],
53}