blob: ffb0574588253d9f06fb64706915703750f6aa95 [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 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000018 'sources': [
niklase@google.com470e71d2011-07-07 08:21:25 +000019 'abs_quant.c',
20 'abs_quant_loop.c',
kwibergfff9f172015-09-16 21:26:32 -070021 'audio_decoder_ilbc.cc',
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010022 'audio_decoder_ilbc.h',
kwiberg@webrtc.orgcb858ba2014-12-08 17:11:44 +000023 'audio_encoder_ilbc.cc',
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010024 'audio_encoder_ilbc.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000025 'augmented_cb_corr.c',
26 'bw_expand.c',
27 'cb_construct.c',
28 'cb_mem_energy.c',
29 'cb_mem_energy_augmentation.c',
30 'cb_mem_energy_calc.c',
31 'cb_search.c',
32 'cb_search_core.c',
33 'cb_update_best_index.c',
34 'chebyshev.c',
35 'comp_corr.c',
36 'constants.c',
37 'create_augmented_vec.c',
38 'decode.c',
39 'decode_residual.c',
40 'decoder_interpolate_lsf.c',
41 'do_plc.c',
42 'encode.c',
43 'energy_inverse.c',
44 'enh_upsample.c',
45 'enhancer.c',
46 'enhancer_interface.c',
47 'filtered_cb_vecs.c',
48 'frame_classify.c',
49 'gain_dequant.c',
50 'gain_quant.c',
51 'get_cd_vec.c',
52 'get_lsp_poly.c',
53 'get_sync_seq.c',
54 'hp_input.c',
55 'hp_output.c',
56 'ilbc.c',
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010057 'ilbc.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000058 'index_conv_dec.c',
59 'index_conv_enc.c',
60 'init_decode.c',
61 'init_encode.c',
62 'interpolate.c',
63 'interpolate_samples.c',
64 'lpc_encode.c',
65 'lsf_check.c',
66 'lsf_interpolate_to_poly_dec.c',
67 'lsf_interpolate_to_poly_enc.c',
68 'lsf_to_lsp.c',
69 'lsf_to_poly.c',
70 'lsp_to_lsf.c',
71 'my_corr.c',
72 'nearest_neighbor.c',
73 'pack_bits.c',
74 'poly_to_lsf.c',
75 'poly_to_lsp.c',
76 'refiner.c',
77 'simple_interpolate_lsf.c',
78 'simple_lpc_analysis.c',
79 'simple_lsf_dequant.c',
80 'simple_lsf_quant.c',
81 'smooth.c',
82 'smooth_out_data.c',
83 'sort_sq.c',
84 'split_vq.c',
85 'state_construct.c',
86 'state_search.c',
87 'swap_bytes.c',
88 'unpack_bits.c',
89 'vq3.c',
90 'vq4.c',
91 'window32_w32.c',
92 'xcorr_coef.c',
93 'abs_quant.h',
94 'abs_quant_loop.h',
95 'augmented_cb_corr.h',
96 'bw_expand.h',
97 'cb_construct.h',
98 'cb_mem_energy.h',
99 'cb_mem_energy_augmentation.h',
100 'cb_mem_energy_calc.h',
101 'cb_search.h',
102 'cb_search_core.h',
103 'cb_update_best_index.h',
104 'chebyshev.h',
105 'comp_corr.h',
106 'constants.h',
107 'create_augmented_vec.h',
108 'decode.h',
109 'decode_residual.h',
110 'decoder_interpolate_lsf.h',
111 'do_plc.h',
112 'encode.h',
113 'energy_inverse.h',
114 'enh_upsample.h',
115 'enhancer.h',
116 'enhancer_interface.h',
117 'filtered_cb_vecs.h',
118 'frame_classify.h',
119 'gain_dequant.h',
120 'gain_quant.h',
121 'get_cd_vec.h',
122 'get_lsp_poly.h',
123 'get_sync_seq.h',
124 'hp_input.h',
125 'hp_output.h',
126 'defines.h',
127 'index_conv_dec.h',
128 'index_conv_enc.h',
129 'init_decode.h',
130 'init_encode.h',
131 'interpolate.h',
132 'interpolate_samples.h',
133 'lpc_encode.h',
134 'lsf_check.h',
135 'lsf_interpolate_to_poly_dec.h',
136 'lsf_interpolate_to_poly_enc.h',
137 'lsf_to_lsp.h',
138 'lsf_to_poly.h',
139 'lsp_to_lsf.h',
140 'my_corr.h',
141 'nearest_neighbor.h',
142 'pack_bits.h',
143 'poly_to_lsf.h',
144 'poly_to_lsp.h',
145 'refiner.h',
146 'simple_interpolate_lsf.h',
147 'simple_lpc_analysis.h',
148 'simple_lsf_dequant.h',
149 'simple_lsf_quant.h',
150 'smooth.h',
151 'smooth_out_data.h',
152 'sort_sq.h',
153 'split_vq.h',
154 'state_construct.h',
155 'state_search.h',
156 'swap_bytes.h',
157 'unpack_bits.h',
158 'vq3.h',
159 'vq4.h',
160 'window32_w32.h',
161 'xcorr_coef.h',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000162 ], # sources
Zeke Chin786dbdc2015-06-10 13:45:08 -0700163 }, # ilbc
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000164 ], # targets
165 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000166 ['include_tests==1', {
167 'targets': [
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000168 {
Zeke Chin786dbdc2015-06-10 13:45:08 -0700169 'target_name': 'ilbc_test',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000170 'type': 'executable',
171 'dependencies': [
Zeke Chin786dbdc2015-06-10 13:45:08 -0700172 'ilbc',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000173 ],
174 'sources': [
175 'test/iLBC_test.c',
176 ],
Zeke Chin786dbdc2015-06-10 13:45:08 -0700177 }, # ilbc_test
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000178 ], # targets
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000179 }], # include_tests
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +0000180 ], # conditions
niklase@google.com470e71d2011-07-07 08:21:25 +0000181}