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': [ | |
18 'include', | |
19 '<(webrtc_root)', | |
20 ], | |
21 'direct_dependent_settings': { | |
22 'include_dirs': [ | |
23 'include', | |
24 '<(webrtc_root)', | |
25 ], | |
26 }, | |
27 'sources': [ | 17 'sources': [ |
28 'include/g711_interface.h', | 18 'audio_decoder_pcm.cc', |
29 'include/audio_decoder_pcm.h', | 19 'audio_decoder_pcm.h', |
30 'include/audio_encoder_pcm.h', | 20 'audio_encoder_pcm.cc', |
| 21 'audio_encoder_pcm.h', |
31 'g711_interface.c', | 22 'g711_interface.c', |
| 23 'g711_interface.h', |
32 'g711.c', | 24 'g711.c', |
33 'g711.h', | 25 'g711.h', |
34 'audio_decoder_pcm.cc', | |
35 'audio_encoder_pcm.cc', | |
36 ], | 26 ], |
37 }, | 27 }, |
38 ], # targets | 28 ], # targets |
39 'conditions': [ | 29 'conditions': [ |
40 ['include_tests==1', { | 30 ['include_tests==1', { |
41 'targets': [ | 31 'targets': [ |
42 { | 32 { |
43 'target_name': 'g711_test', | 33 'target_name': 'g711_test', |
44 'type': 'executable', | 34 'type': 'executable', |
45 'dependencies': [ | 35 'dependencies': [ |
46 'g711', | 36 'g711', |
47 ], | 37 ], |
48 'sources': [ | 38 'sources': [ |
49 'test/testG711.cc', | 39 'test/testG711.cc', |
50 ], | 40 ], |
51 }, | 41 }, |
52 ], # targets | 42 ], # targets |
53 }], # include_tests | 43 }], # include_tests |
54 ], # conditions | 44 ], # conditions |
55 } | 45 } |
OLD | NEW |