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': 'ilbc', | 12 'target_name': 'ilbc', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
| 15 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
15 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
16 'audio_encoder_interface', | 17 'audio_encoder_interface', |
17 ], | 18 ], |
18 'sources': [ | 19 'sources': [ |
19 'abs_quant.c', | 20 'abs_quant.c', |
20 'abs_quant_loop.c', | 21 'abs_quant_loop.c', |
21 'audio_decoder_ilbc.cc', | 22 'audio_decoder_ilbc.cc', |
22 'audio_decoder_ilbc.h', | 23 'audio_decoder_ilbc.h', |
23 'audio_encoder_ilbc.cc', | 24 'audio_encoder_ilbc.cc', |
24 'audio_encoder_ilbc.h', | 25 'audio_encoder_ilbc.h', |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 'conditions': [ | 166 'conditions': [ |
166 ['include_tests==1', { | 167 ['include_tests==1', { |
167 'targets': [ | 168 'targets': [ |
168 { | 169 { |
169 'target_name': 'ilbc_test', | 170 'target_name': 'ilbc_test', |
170 'type': 'executable', | 171 'type': 'executable', |
171 'dependencies': [ | 172 'dependencies': [ |
172 'ilbc', | 173 'ilbc', |
173 ], | 174 ], |
174 'sources': [ | 175 'sources': [ |
| 176 # The empty .cc file is a hack to get GYP to use the C++ |
| 177 # linker even though all sources here are .c files; this |
| 178 # is necessary because we transitively depend on |
| 179 # rtc_base_approved, which calls the C++ standard library. |
| 180 'test/empty.cc', |
175 'test/iLBC_test.c', | 181 'test/iLBC_test.c', |
176 ], | 182 ], |
177 }, # ilbc_test | 183 }, # ilbc_test |
178 ], # targets | 184 ], # targets |
179 }], # include_tests | 185 }], # include_tests |
180 ], # conditions | 186 ], # conditions |
181 } | 187 } |
OLD | NEW |