blob: 4b902809eaa2f78ae26de552c5f725bd43d47776 [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 'sources': [
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010018 'audio_decoder_pcm.cc',
19 'audio_decoder_pcm.h',
20 'audio_encoder_pcm.cc',
21 'audio_encoder_pcm.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000022 'g711_interface.c',
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010023 'g711_interface.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000024 'g711.c',
25 'g711.h',
26 ],
27 },
xians@google.come1cfd5f2011-08-05 16:14:02 +000028 ], # targets
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000029 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000030 ['include_tests==1', {
xians@google.come1cfd5f2011-08-05 16:14:02 +000031 'targets': [
32 {
33 'target_name': 'g711_test',
34 'type': 'executable',
35 'dependencies': [
Zeke Chin786dbdc2015-06-10 13:45:08 -070036 'g711',
xians@google.come1cfd5f2011-08-05 16:14:02 +000037 ],
38 'sources': [
kjellander@webrtc.org7f3c7242012-01-12 10:23:41 +000039 'test/testG711.cc',
xians@google.come1cfd5f2011-08-05 16:14:02 +000040 ],
xians@google.come1cfd5f2011-08-05 16:14:02 +000041 },
42 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000043 }], # include_tests
xians@google.come1cfd5f2011-08-05 16:14:02 +000044 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +000045}