niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | # 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.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'G711', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 14 | 'dependencies': [ |
| 15 | 'audio_encoder_interface', |
| 16 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 17 | 'include_dirs': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 18 | 'include', |
pbos@webrtc.org | 57eb858 | 2013-11-11 10:20:27 +0000 | [diff] [blame] | 19 | '<(webrtc_root)', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 20 | ], |
| 21 | 'direct_dependent_settings': { |
| 22 | 'include_dirs': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 23 | 'include', |
pbos@webrtc.org | 57eb858 | 2013-11-11 10:20:27 +0000 | [diff] [blame] | 24 | '<(webrtc_root)', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 25 | ], |
| 26 | }, |
| 27 | 'sources': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 28 | 'include/g711_interface.h', |
henrik.lundin@webrtc.org | def1e97 | 2014-10-21 12:48:29 +0000 | [diff] [blame] | 29 | 'include/audio_encoder_pcm.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 30 | 'g711_interface.c', |
| 31 | 'g711.c', |
| 32 | 'g711.h', |
henrik.lundin@webrtc.org | def1e97 | 2014-10-21 12:48:29 +0000 | [diff] [blame] | 33 | 'audio_encoder_pcm.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 34 | ], |
| 35 | }, |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 36 | ], # targets |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 37 | 'conditions': [ |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 38 | ['include_tests==1', { |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 39 | 'targets': [ |
| 40 | { |
| 41 | 'target_name': 'g711_test', |
| 42 | 'type': 'executable', |
| 43 | 'dependencies': [ |
| 44 | 'G711', |
| 45 | ], |
| 46 | 'sources': [ |
kjellander@webrtc.org | 7f3c724 | 2012-01-12 10:23:41 +0000 | [diff] [blame] | 47 | 'test/testG711.cc', |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 48 | ], |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 49 | }, |
| 50 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 51 | }], # include_tests |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 52 | ], # conditions |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 53 | } |