OLD | NEW |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'g711', | 12 'target_name': 'g711', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
15 'audio_encoder_interface', | 15 'audio_encoder_interface', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 'include', | 18 'include', |
19 '<(webrtc_root)', | 19 '<(webrtc_root)', |
20 ], | 20 ], |
21 'direct_dependent_settings': { | 21 'direct_dependent_settings': { |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 'include', | 23 'include', |
24 '<(webrtc_root)', | 24 '<(webrtc_root)', |
25 ], | 25 ], |
26 }, | 26 }, |
27 'sources': [ | 27 'sources': [ |
28 'include/g711_interface.h', | 28 'include/g711_interface.h', |
| 29 'include/audio_decoder_pcm.h', |
29 'include/audio_encoder_pcm.h', | 30 'include/audio_encoder_pcm.h', |
30 'g711_interface.c', | 31 'g711_interface.c', |
31 'g711.c', | 32 'g711.c', |
32 'g711.h', | 33 'g711.h', |
| 34 'audio_decoder_pcm.cc', |
33 'audio_encoder_pcm.cc', | 35 'audio_encoder_pcm.cc', |
34 ], | 36 ], |
35 }, | 37 }, |
36 ], # targets | 38 ], # targets |
37 'conditions': [ | 39 'conditions': [ |
38 ['include_tests==1', { | 40 ['include_tests==1', { |
39 'targets': [ | 41 'targets': [ |
40 { | 42 { |
41 'target_name': 'g711_test', | 43 'target_name': 'g711_test', |
42 'type': 'executable', | 44 'type': 'executable', |
43 'dependencies': [ | 45 'dependencies': [ |
44 'g711', | 46 'g711', |
45 ], | 47 ], |
46 'sources': [ | 48 'sources': [ |
47 'test/testG711.cc', | 49 'test/testG711.cc', |
48 ], | 50 ], |
49 }, | 51 }, |
50 ], # targets | 52 ], # targets |
51 }], # include_tests | 53 }], # include_tests |
52 ], # conditions | 54 ], # conditions |
53 } | 55 } |
OLD | NEW |