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