blob: dcee4be9057b17b1c72de9d457a72f7f70486547 [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 {
12 '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',
niklase@google.com470e71d2011-07-07 08:21:25 +000016 ],
17 'include_dirs': [
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +000018 'interface',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000019 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000020 ],
21 'direct_dependent_settings': {
22 'include_dirs': [
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +000023 'interface',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000024 '<(webrtc_root)',
niklase@google.com470e71d2011-07-07 08:21:25 +000025 ],
26 },
27 'sources': [
kwiberg@webrtc.orgcb858ba2014-12-08 17:11:44 +000028 'interface/audio_encoder_ilbc.h',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +000029 'interface/ilbc.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000030 'abs_quant.c',
31 'abs_quant_loop.c',
kwiberg@webrtc.orgcb858ba2014-12-08 17:11:44 +000032 'audio_encoder_ilbc.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000033 'augmented_cb_corr.c',
34 'bw_expand.c',
35 'cb_construct.c',
36 'cb_mem_energy.c',
37 'cb_mem_energy_augmentation.c',
38 'cb_mem_energy_calc.c',
39 'cb_search.c',
40 'cb_search_core.c',
41 'cb_update_best_index.c',
42 'chebyshev.c',
43 'comp_corr.c',
44 'constants.c',
45 'create_augmented_vec.c',
46 'decode.c',
47 'decode_residual.c',
48 'decoder_interpolate_lsf.c',
49 'do_plc.c',
50 'encode.c',
51 'energy_inverse.c',
52 'enh_upsample.c',
53 'enhancer.c',
54 'enhancer_interface.c',
55 'filtered_cb_vecs.c',
56 'frame_classify.c',
57 'gain_dequant.c',
58 'gain_quant.c',
59 'get_cd_vec.c',
60 'get_lsp_poly.c',
61 'get_sync_seq.c',
62 'hp_input.c',
63 'hp_output.c',
64 'ilbc.c',
65 'index_conv_dec.c',
66 'index_conv_enc.c',
67 'init_decode.c',
68 'init_encode.c',
69 'interpolate.c',
70 'interpolate_samples.c',
71 'lpc_encode.c',
72 'lsf_check.c',
73 'lsf_interpolate_to_poly_dec.c',
74 'lsf_interpolate_to_poly_enc.c',
75 'lsf_to_lsp.c',
76 'lsf_to_poly.c',
77 'lsp_to_lsf.c',
78 'my_corr.c',
79 'nearest_neighbor.c',
80 'pack_bits.c',
81 'poly_to_lsf.c',
82 'poly_to_lsp.c',
83 'refiner.c',
84 'simple_interpolate_lsf.c',
85 'simple_lpc_analysis.c',
86 'simple_lsf_dequant.c',
87 'simple_lsf_quant.c',
88 'smooth.c',
89 'smooth_out_data.c',
90 'sort_sq.c',
91 'split_vq.c',
92 'state_construct.c',
93 'state_search.c',
94 'swap_bytes.c',
95 'unpack_bits.c',
96 'vq3.c',
97 'vq4.c',
98 'window32_w32.c',
99 'xcorr_coef.c',
100 'abs_quant.h',
101 'abs_quant_loop.h',
102 'augmented_cb_corr.h',
103 'bw_expand.h',
104 'cb_construct.h',
105 'cb_mem_energy.h',
106 'cb_mem_energy_augmentation.h',
107 'cb_mem_energy_calc.h',
108 'cb_search.h',
109 'cb_search_core.h',
110 'cb_update_best_index.h',
111 'chebyshev.h',
112 'comp_corr.h',
113 'constants.h',
114 'create_augmented_vec.h',
115 'decode.h',
116 'decode_residual.h',
117 'decoder_interpolate_lsf.h',
118 'do_plc.h',
119 'encode.h',
120 'energy_inverse.h',
121 'enh_upsample.h',
122 'enhancer.h',
123 'enhancer_interface.h',
124 'filtered_cb_vecs.h',
125 'frame_classify.h',
126 'gain_dequant.h',
127 'gain_quant.h',
128 'get_cd_vec.h',
129 'get_lsp_poly.h',
130 'get_sync_seq.h',
131 'hp_input.h',
132 'hp_output.h',
133 'defines.h',
134 'index_conv_dec.h',
135 'index_conv_enc.h',
136 'init_decode.h',
137 'init_encode.h',
138 'interpolate.h',
139 'interpolate_samples.h',
140 'lpc_encode.h',
141 'lsf_check.h',
142 'lsf_interpolate_to_poly_dec.h',
143 'lsf_interpolate_to_poly_enc.h',
144 'lsf_to_lsp.h',
145 'lsf_to_poly.h',
146 'lsp_to_lsf.h',
147 'my_corr.h',
148 'nearest_neighbor.h',
149 'pack_bits.h',
150 'poly_to_lsf.h',
151 'poly_to_lsp.h',
152 'refiner.h',
153 'simple_interpolate_lsf.h',
154 'simple_lpc_analysis.h',
155 'simple_lsf_dequant.h',
156 'simple_lsf_quant.h',
157 'smooth.h',
158 'smooth_out_data.h',
159 'sort_sq.h',
160 'split_vq.h',
161 'state_construct.h',
162 'state_search.h',
163 'swap_bytes.h',
164 'unpack_bits.h',
165 'vq3.h',
166 'vq4.h',
167 'window32_w32.h',
168 'xcorr_coef.h',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000169 ], # sources
170 }, # iLBC
171 ], # targets
172 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000173 ['include_tests==1', {
174 'targets': [
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000175 {
176 'target_name': 'iLBCtest',
177 'type': 'executable',
178 'dependencies': [
179 'iLBC',
180 ],
181 'sources': [
182 'test/iLBC_test.c',
183 ],
184 }, # iLBCtest
185 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000186 }], # include_tests
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000187 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +0000188}