blob: c39b4af1d1eb7b330b2027f7af5cf55917be421a [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',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000013 'type': 'static_library',
niklase@google.com470e71d2011-07-07 08:21:25 +000014 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000015 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000016 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000017 ],
18 'direct_dependent_settings': {
19 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000020 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000021 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000022 ],
23 },
24 'sources': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000025 'include/g711_interface.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000026 'g711_interface.c',
27 'g711.c',
28 'g711.h',
29 ],
30 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000031 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000032 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000033 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000034 'targets': [
35 {
36 'target_name': 'g711_test',
37 'type': 'executable',
38 'dependencies': [
39 'G711',
40 ],
41 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000042 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000043 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000044 },
45 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000046 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000047 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000048}