blob: ac9f2e7b39b2c7c3250621bb12f2ee77720d7819 [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': 'ilbc',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000013 'type': 'static_library',
niklase@google.com470e71d2011-07-07 08:21:25 +000014 'dependencies': [
andrew@webrtc.org34235372013-04-30 23:43:26 +000015 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
henrik.lundin@webrtc.orgc1c92912014-12-16 13:41:36 +000016 'audio_encoder_interface',
niklase@google.com470e71d2011-07-07 08:21:25 +000017 ],
18 'include_dirs': [
Henrik Kjellander74640892015-10-29 11:31:02 +010019 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000020 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000021 ],
22 'direct_dependent_settings': {
23 'include_dirs': [
Henrik Kjellander74640892015-10-29 11:31:02 +010024 'include',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000025 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000026 ],
27 },
28 'sources': [
Henrik Kjellander74640892015-10-29 11:31:02 +010029 'include/audio_decoder_ilbc.h',
30 'include/audio_encoder_ilbc.h',
31 'include/ilbc.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000032 'abs_quant.c',
33 'abs_quant_loop.c',
kwibergfff9f172015-09-16 21:26:32 -070034 'audio_decoder_ilbc.cc',
kwiberg@webrtc.orgcb858ba2014-12-08 17:11:44 +000035 'audio_encoder_ilbc.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000036 'augmented_cb_corr.c',
37 'bw_expand.c',
38 'cb_construct.c',
39 'cb_mem_energy.c',
40 'cb_mem_energy_augmentation.c',
41 'cb_mem_energy_calc.c',
42 'cb_search.c',
43 'cb_search_core.c',
44 'cb_update_best_index.c',
45 'chebyshev.c',
46 'comp_corr.c',
47 'constants.c',
48 'create_augmented_vec.c',
49 'decode.c',
50 'decode_residual.c',
51 'decoder_interpolate_lsf.c',
52 'do_plc.c',
53 'encode.c',
54 'energy_inverse.c',
55 'enh_upsample.c',
56 'enhancer.c',
57 'enhancer_interface.c',
58 'filtered_cb_vecs.c',
59 'frame_classify.c',
60 'gain_dequant.c',
61 'gain_quant.c',
62 'get_cd_vec.c',
63 'get_lsp_poly.c',
64 'get_sync_seq.c',
65 'hp_input.c',
66 'hp_output.c',
67 'ilbc.c',
68 'index_conv_dec.c',
69 'index_conv_enc.c',
70 'init_decode.c',
71 'init_encode.c',
72 'interpolate.c',
73 'interpolate_samples.c',
74 'lpc_encode.c',
75 'lsf_check.c',
76 'lsf_interpolate_to_poly_dec.c',
77 'lsf_interpolate_to_poly_enc.c',
78 'lsf_to_lsp.c',
79 'lsf_to_poly.c',
80 'lsp_to_lsf.c',
81 'my_corr.c',
82 'nearest_neighbor.c',
83 'pack_bits.c',
84 'poly_to_lsf.c',
85 'poly_to_lsp.c',
86 'refiner.c',
87 'simple_interpolate_lsf.c',
88 'simple_lpc_analysis.c',
89 'simple_lsf_dequant.c',
90 'simple_lsf_quant.c',
91 'smooth.c',
92 'smooth_out_data.c',
93 'sort_sq.c',
94 'split_vq.c',
95 'state_construct.c',
96 'state_search.c',
97 'swap_bytes.c',
98 'unpack_bits.c',
99 'vq3.c',
100 'vq4.c',
101 'window32_w32.c',
102 'xcorr_coef.c',
103 'abs_quant.h',
104 'abs_quant_loop.h',
105 'augmented_cb_corr.h',
106 'bw_expand.h',
107 'cb_construct.h',
108 'cb_mem_energy.h',
109 'cb_mem_energy_augmentation.h',
110 'cb_mem_energy_calc.h',
111 'cb_search.h',
112 'cb_search_core.h',
113 'cb_update_best_index.h',
114 'chebyshev.h',
115 'comp_corr.h',
116 'constants.h',
117 'create_augmented_vec.h',
118 'decode.h',
119 'decode_residual.h',
120 'decoder_interpolate_lsf.h',
121 'do_plc.h',
122 'encode.h',
123 'energy_inverse.h',
124 'enh_upsample.h',
125 'enhancer.h',
126 'enhancer_interface.h',
127 'filtered_cb_vecs.h',
128 'frame_classify.h',
129 'gain_dequant.h',
130 'gain_quant.h',
131 'get_cd_vec.h',
132 'get_lsp_poly.h',
133 'get_sync_seq.h',
134 'hp_input.h',
135 'hp_output.h',
136 'defines.h',
137 'index_conv_dec.h',
138 'index_conv_enc.h',
139 'init_decode.h',
140 'init_encode.h',
141 'interpolate.h',
142 'interpolate_samples.h',
143 'lpc_encode.h',
144 'lsf_check.h',
145 'lsf_interpolate_to_poly_dec.h',
146 'lsf_interpolate_to_poly_enc.h',
147 'lsf_to_lsp.h',
148 'lsf_to_poly.h',
149 'lsp_to_lsf.h',
150 'my_corr.h',
151 'nearest_neighbor.h',
152 'pack_bits.h',
153 'poly_to_lsf.h',
154 'poly_to_lsp.h',
155 'refiner.h',
156 'simple_interpolate_lsf.h',
157 'simple_lpc_analysis.h',
158 'simple_lsf_dequant.h',
159 'simple_lsf_quant.h',
160 'smooth.h',
161 'smooth_out_data.h',
162 'sort_sq.h',
163 'split_vq.h',
164 'state_construct.h',
165 'state_search.h',
166 'swap_bytes.h',
167 'unpack_bits.h',
168 'vq3.h',
169 'vq4.h',
170 'window32_w32.h',
171 'xcorr_coef.h',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000172 ], # sources
Zeke Chin786dbdc2015-06-10 13:45:08 -0700173 }, # ilbc
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000174 ], # targets
175 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000176 ['include_tests==1', {
177 'targets': [
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000178 {
Zeke Chin786dbdc2015-06-10 13:45:08 -0700179 'target_name': 'ilbc_test',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000180 'type': 'executable',
181 'dependencies': [
Zeke Chin786dbdc2015-06-10 13:45:08 -0700182 'ilbc',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000183 ],
184 'sources': [
185 'test/iLBC_test.c',
186 ],
Zeke Chin786dbdc2015-06-10 13:45:08 -0700187 }, # ilbc_test
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000188 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000189 }], # include_tests
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000190 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +0000191}