blob: 779f05339a971b10031e1cf22e3fe63bb1f782b8 [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',
henrik.lundin@webrtc.orgc1c92912014-12-16 13:41:36 +000014 'dependencies': [
15 'audio_encoder_interface',
16 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000017 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000018 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000019 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000020 ],
21 'direct_dependent_settings': {
22 'include_dirs': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000023 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000024 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000025 ],
26 },
27 'sources': [
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000028 'include/g711_interface.h',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000029 'include/audio_encoder_pcm.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000030 'g711_interface.c',
31 'g711.c',
32 'g711.h',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000033 'audio_encoder_pcm.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000034 ],
35 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000036 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000037 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000038 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000039 'targets': [
40 {
41 'target_name': 'g711_test',
42 'type': 'executable',
43 'dependencies': [
44 'G711',
45 ],
46 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000047 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000048 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000049 },
50 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000051 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000052 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000053}