blob: d35d7874e7f9dd6be31798629f8f385284655db6 [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 {
Zeke Chin786dbdc2015-06-10 13:45:08 -070012 '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',
kwiberg6faf5be2015-09-22 06:16:51 -070029 'include/audio_decoder_pcm.h',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000030 'include/audio_encoder_pcm.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000031 'g711_interface.c',
32 'g711.c',
33 'g711.h',
kwiberg6faf5be2015-09-22 06:16:51 -070034 'audio_decoder_pcm.cc',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000035 'audio_encoder_pcm.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000036 ],
37 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000038 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000039 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000040 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000041 'targets': [
42 {
43 'target_name': 'g711_test',
44 'type': 'executable',
45 'dependencies': [
Zeke Chin786dbdc2015-06-10 13:45:08 -070046 'g711',
xians@google.come1cfd5f2011-08-05 16:14:02 +000047 ],
48 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000049 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000050 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000051 },
52 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000053 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000054 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000055}