blob: 81b065de29d308c71222947bac82624e6ddd673b [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001# Copyright (c) 2011 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{
niklase@google.com470e71d2011-07-07 08:21:25 +000010 'targets': [
11 {
12 'target_name': 'G711',
13 'type': '<(library)',
14 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000015 'include',
niklase@google.com470e71d2011-07-07 08:21:25 +000016 ],
17 'direct_dependent_settings': {
18 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000019 'include',
niklase@google.com470e71d2011-07-07 08:21:25 +000020 ],
21 },
22 'sources': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000023 'include/g711_interface.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000024 'g711_interface.c',
25 'g711.c',
26 'g711.h',
27 ],
28 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000029 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000030 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000031 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000032 'targets': [
33 {
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000034 'target_name': 'g711_unittests',
35 'type': 'executable',
36 'dependencies': [
37 'G711',
38 '<(webrtc_root)/../test/test.gyp:test_support_main',
kjellander@webrtc.org274c2ef2011-11-21 09:36:28 +000039 '<(webrtc_root)/../testing/gtest.gyp:gtest',
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000040 ],
41 'sources': [
42 'g711_unittest.cc',
43 ],
44 },
45 {
xians@google.come1cfd5f2011-08-05 16:14:02 +000046 'target_name': 'g711_test',
47 'type': 'executable',
48 'dependencies': [
49 'G711',
50 ],
51 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000052 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000053 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000054 },
55 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000056 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000057 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000058}
59
60# Local Variables:
61# tab-width:2
62# indent-tabs-mode:nil
63# End:
64# vim: set expandtab tabstop=2 shiftwidth=2: