blob: 2b637cf9fa63f753cd3448c66ed48c9f7542c0a2 [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',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000026 'include/audio_encoder_pcm.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000027 'g711_interface.c',
28 'g711.c',
29 'g711.h',
henrik.lundin@webrtc.orgdef1e972014-10-21 12:48:29 +000030 'audio_encoder_pcm.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000031 ],
32 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000033 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000034 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000035 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000036 'targets': [
37 {
38 'target_name': 'g711_test',
39 'type': 'executable',
40 'dependencies': [
41 'G711',
42 ],
43 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000044 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000045 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000046 },
47 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000048 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000049 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000050}