kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # Copyright (c) 2014 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 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 9 | import("//build/config/arm.gni") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | import("../../build/webrtc.gni") |
| 11 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 12 | config("audio_coding_config") { |
| 13 | include_dirs = [ |
| 14 | "main/interface", |
| 15 | "../interface", |
| 16 | ] |
| 17 | } |
| 18 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 19 | source_set("audio_coding") { |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 20 | sources = [ |
| 21 | "main/acm2/acm_amr.cc", |
| 22 | "main/acm2/acm_amr.h", |
| 23 | "main/acm2/acm_amrwb.cc", |
| 24 | "main/acm2/acm_amrwb.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 25 | "main/acm2/acm_cng.cc", |
| 26 | "main/acm2/acm_cng.h", |
| 27 | "main/acm2/acm_codec_database.cc", |
| 28 | "main/acm2/acm_codec_database.h", |
| 29 | "main/acm2/acm_common_defs.h", |
| 30 | "main/acm2/acm_dtmf_playout.cc", |
| 31 | "main/acm2/acm_dtmf_playout.h", |
| 32 | "main/acm2/acm_g722.cc", |
| 33 | "main/acm2/acm_g722.h", |
| 34 | "main/acm2/acm_g7221.cc", |
| 35 | "main/acm2/acm_g7221.h", |
| 36 | "main/acm2/acm_g7221c.cc", |
| 37 | "main/acm2/acm_g7221c.h", |
| 38 | "main/acm2/acm_g729.cc", |
| 39 | "main/acm2/acm_g729.h", |
| 40 | "main/acm2/acm_g7291.cc", |
| 41 | "main/acm2/acm_g7291.h", |
| 42 | "main/acm2/acm_generic_codec.cc", |
| 43 | "main/acm2/acm_generic_codec.h", |
| 44 | "main/acm2/acm_gsmfr.cc", |
| 45 | "main/acm2/acm_gsmfr.h", |
| 46 | "main/acm2/acm_ilbc.cc", |
| 47 | "main/acm2/acm_ilbc.h", |
| 48 | "main/acm2/acm_isac.cc", |
| 49 | "main/acm2/acm_isac.h", |
| 50 | "main/acm2/acm_isac_macros.h", |
| 51 | "main/acm2/acm_opus.cc", |
| 52 | "main/acm2/acm_opus.h", |
| 53 | "main/acm2/acm_speex.cc", |
| 54 | "main/acm2/acm_speex.h", |
| 55 | "main/acm2/acm_pcm16b.cc", |
| 56 | "main/acm2/acm_pcm16b.h", |
| 57 | "main/acm2/acm_pcma.cc", |
| 58 | "main/acm2/acm_pcma.h", |
| 59 | "main/acm2/acm_pcmu.cc", |
| 60 | "main/acm2/acm_pcmu.h", |
| 61 | "main/acm2/acm_red.cc", |
| 62 | "main/acm2/acm_red.h", |
| 63 | "main/acm2/acm_receiver.cc", |
| 64 | "main/acm2/acm_receiver.h", |
| 65 | "main/acm2/acm_resampler.cc", |
| 66 | "main/acm2/acm_resampler.h", |
| 67 | "main/acm2/audio_coding_module.cc", |
| 68 | "main/acm2/audio_coding_module_impl.cc", |
| 69 | "main/acm2/audio_coding_module_impl.h", |
| 70 | "main/acm2/call_statistics.cc", |
| 71 | "main/acm2/call_statistics.h", |
| 72 | "main/acm2/initial_delay_manager.cc", |
| 73 | "main/acm2/initial_delay_manager.h", |
| 74 | "main/acm2/nack.cc", |
| 75 | "main/acm2/nack.h", |
| 76 | "main/interface/audio_coding_module.h", |
| 77 | "main/interface/audio_coding_module_typedefs.h", |
| 78 | ] |
| 79 | |
| 80 | defines = [] |
| 81 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 82 | configs += [ "../..:common_config" ] |
| 83 | |
| 84 | public_configs = [ |
| 85 | "../..:common_inherited_config", |
| 86 | ":audio_coding_config", |
| 87 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 88 | |
| 89 | if (is_clang) { |
| 90 | # Suppress warnings from Chrome's Clang plugins. |
| 91 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 92 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 93 | } |
| 94 | |
kjellander@webrtc.org | 8649fed | 2015-01-08 21:22:01 +0000 | [diff] [blame^] | 95 | if (is_win) { |
| 96 | cflags = [ |
| 97 | # TODO(kjellander): Bug 261: fix this warning. |
| 98 | "/wd4373", # virtual function override. |
| 99 | ] |
| 100 | } |
| 101 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 102 | deps = [ |
| 103 | ":cng", |
| 104 | ":g711", |
| 105 | ":g722", |
| 106 | ":ilbc", |
| 107 | ":isac", |
| 108 | ":isacfix", |
| 109 | ":neteq", |
| 110 | ":pcm16b", |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 111 | ":red", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 112 | "../../common_audio", |
| 113 | "../../system_wrappers", |
| 114 | ] |
| 115 | |
kjellander@webrtc.org | 6d08ca6 | 2014-09-07 17:36:10 +0000 | [diff] [blame] | 116 | if (rtc_include_opus) { |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 117 | defines += [ "WEBRTC_CODEC_OPUS" ] |
| 118 | deps += [ ":webrtc_opus" ] |
| 119 | } |
| 120 | } |
| 121 | |
kwiberg@webrtc.org | e04a93b | 2014-12-09 10:12:53 +0000 | [diff] [blame] | 122 | source_set("audio_decoder_interface") { |
| 123 | sources = [ |
| 124 | "codecs/audio_decoder.cc", |
| 125 | "codecs/audio_decoder.h", |
| 126 | ] |
| 127 | configs += [ "../..:common_config" ] |
| 128 | public_configs = [ "../..:common_inherited_config" ] |
| 129 | } |
| 130 | |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 131 | source_set("audio_encoder_interface") { |
| 132 | sources = [ |
| 133 | "codecs/audio_encoder.cc", |
| 134 | "codecs/audio_encoder.h", |
| 135 | ] |
| 136 | configs += [ "../..:common_config" ] |
| 137 | public_configs = [ "../..:common_inherited_config" ] |
| 138 | } |
| 139 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 140 | config("cng_config") { |
| 141 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 142 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 143 | "codecs/cng/include", |
| 144 | ] |
| 145 | } |
| 146 | |
| 147 | source_set("cng") { |
| 148 | sources = [ |
henrik.lundin@webrtc.org | ff1a3e3 | 2014-12-10 07:29:08 +0000 | [diff] [blame] | 149 | "codecs/cng/audio_encoder_cng.cc", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 150 | "codecs/cng/cng_helpfuns.c", |
| 151 | "codecs/cng/cng_helpfuns.h", |
henrik.lundin@webrtc.org | ff1a3e3 | 2014-12-10 07:29:08 +0000 | [diff] [blame] | 152 | "codecs/cng/include/audio_encoder_cng.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 153 | "codecs/cng/include/webrtc_cng.h", |
| 154 | "codecs/cng/webrtc_cng.c", |
| 155 | ] |
| 156 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 157 | configs += [ "../..:common_config" ] |
| 158 | |
| 159 | public_configs = [ |
| 160 | "../..:common_inherited_config", |
| 161 | ":cng_config", |
| 162 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 163 | |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 164 | deps = [ |
| 165 | "../../common_audio", |
| 166 | ":audio_encoder_interface", |
| 167 | ] |
| 168 | } |
| 169 | |
| 170 | config("red_config") { |
| 171 | include_dirs = [ |
| 172 | "codecs/red", |
| 173 | ] |
| 174 | } |
| 175 | |
| 176 | source_set("red") { |
| 177 | sources = [ |
| 178 | "codecs/red/audio_encoder_copy_red.cc", |
| 179 | "codecs/red/audio_encoder_copy_red.h", |
| 180 | ] |
| 181 | |
| 182 | configs += [ "../..:common_config" ] |
| 183 | |
| 184 | public_configs = [ |
| 185 | "../..:common_inherited_config", |
| 186 | ":red_config", |
| 187 | ] |
| 188 | |
| 189 | deps = [ |
| 190 | "../../common_audio", |
| 191 | ":audio_encoder_interface", |
| 192 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 193 | } |
| 194 | |
| 195 | config("g711_config") { |
| 196 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 197 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 198 | "codecs/g711/include", |
| 199 | ] |
| 200 | } |
| 201 | |
| 202 | source_set("g711") { |
| 203 | sources = [ |
henrik.lundin@webrtc.org | def1e97 | 2014-10-21 12:48:29 +0000 | [diff] [blame] | 204 | "codecs/g711/include/audio_encoder_pcm.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 205 | "codecs/g711/include/g711_interface.h", |
henrik.lundin@webrtc.org | def1e97 | 2014-10-21 12:48:29 +0000 | [diff] [blame] | 206 | "codecs/g711/audio_encoder_pcm.cc", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 207 | "codecs/g711/g711_interface.c", |
| 208 | "codecs/g711/g711.c", |
| 209 | "codecs/g711/g711.h", |
| 210 | ] |
| 211 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 212 | configs += [ "../..:common_config" ] |
| 213 | |
| 214 | public_configs = [ |
| 215 | "../..:common_inherited_config", |
| 216 | ":g711_config", |
| 217 | ] |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 218 | |
| 219 | deps = [ ":audio_encoder_interface" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 220 | } |
| 221 | |
| 222 | config("g722_config") { |
| 223 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 224 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 225 | "codecs/g722/include", |
| 226 | ] |
| 227 | } |
| 228 | |
| 229 | source_set("g722") { |
| 230 | sources = [ |
kwiberg@webrtc.org | 0cd5558 | 2014-12-02 11:45:51 +0000 | [diff] [blame] | 231 | "codecs/g722/audio_encoder_g722.cc", |
| 232 | "codecs/g722/include/audio_encoder_g722.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 233 | "codecs/g722/include/g722_interface.h", |
| 234 | "codecs/g722/g722_interface.c", |
| 235 | "codecs/g722/g722_encode.c", |
| 236 | "codecs/g722/g722_decode.c", |
| 237 | "codecs/g722/g722_enc_dec.h", |
| 238 | ] |
| 239 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 240 | configs += [ "../..:common_config" ] |
| 241 | |
| 242 | public_configs = [ |
| 243 | "../..:common_inherited_config", |
| 244 | ":g722_config", |
| 245 | ] |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 246 | |
| 247 | deps = [ ":audio_encoder_interface" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | config("ilbc_config") { |
| 251 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 252 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 253 | "codecs/ilbc/interface", |
| 254 | ] |
| 255 | } |
| 256 | |
| 257 | source_set("ilbc") { |
| 258 | sources = [ |
kwiberg@webrtc.org | cb858ba | 2014-12-08 17:11:44 +0000 | [diff] [blame] | 259 | "codecs/ilbc/audio_encoder_ilbc.cc", |
| 260 | "codecs/ilbc/include/audio_encoder_ilbc.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 261 | "codecs/ilbc/abs_quant.c", |
| 262 | "codecs/ilbc/abs_quant.h", |
| 263 | "codecs/ilbc/abs_quant_loop.c", |
| 264 | "codecs/ilbc/abs_quant_loop.h", |
| 265 | "codecs/ilbc/augmented_cb_corr.c", |
| 266 | "codecs/ilbc/augmented_cb_corr.h", |
| 267 | "codecs/ilbc/bw_expand.c", |
| 268 | "codecs/ilbc/bw_expand.h", |
| 269 | "codecs/ilbc/cb_construct.c", |
| 270 | "codecs/ilbc/cb_construct.h", |
| 271 | "codecs/ilbc/cb_mem_energy_augmentation.c", |
| 272 | "codecs/ilbc/cb_mem_energy_augmentation.h", |
| 273 | "codecs/ilbc/cb_mem_energy.c", |
| 274 | "codecs/ilbc/cb_mem_energy_calc.c", |
| 275 | "codecs/ilbc/cb_mem_energy_calc.h", |
| 276 | "codecs/ilbc/cb_mem_energy.h", |
| 277 | "codecs/ilbc/cb_search.c", |
| 278 | "codecs/ilbc/cb_search_core.c", |
| 279 | "codecs/ilbc/cb_search_core.h", |
| 280 | "codecs/ilbc/cb_search.h", |
| 281 | "codecs/ilbc/cb_update_best_index.c", |
| 282 | "codecs/ilbc/cb_update_best_index.h", |
| 283 | "codecs/ilbc/chebyshev.c", |
| 284 | "codecs/ilbc/chebyshev.h", |
| 285 | "codecs/ilbc/comp_corr.c", |
| 286 | "codecs/ilbc/comp_corr.h", |
| 287 | "codecs/ilbc/constants.c", |
| 288 | "codecs/ilbc/constants.h", |
| 289 | "codecs/ilbc/create_augmented_vec.c", |
| 290 | "codecs/ilbc/create_augmented_vec.h", |
| 291 | "codecs/ilbc/decode.c", |
| 292 | "codecs/ilbc/decode.h", |
| 293 | "codecs/ilbc/decode_residual.c", |
| 294 | "codecs/ilbc/decode_residual.h", |
| 295 | "codecs/ilbc/decoder_interpolate_lsf.c", |
| 296 | "codecs/ilbc/decoder_interpolate_lsf.h", |
| 297 | "codecs/ilbc/defines.h", |
| 298 | "codecs/ilbc/do_plc.c", |
| 299 | "codecs/ilbc/do_plc.h", |
| 300 | "codecs/ilbc/encode.c", |
| 301 | "codecs/ilbc/encode.h", |
| 302 | "codecs/ilbc/energy_inverse.c", |
| 303 | "codecs/ilbc/energy_inverse.h", |
| 304 | "codecs/ilbc/enhancer.c", |
| 305 | "codecs/ilbc/enhancer.h", |
| 306 | "codecs/ilbc/enhancer_interface.c", |
| 307 | "codecs/ilbc/enhancer_interface.h", |
| 308 | "codecs/ilbc/enh_upsample.c", |
| 309 | "codecs/ilbc/enh_upsample.h", |
| 310 | "codecs/ilbc/filtered_cb_vecs.c", |
| 311 | "codecs/ilbc/filtered_cb_vecs.h", |
| 312 | "codecs/ilbc/frame_classify.c", |
| 313 | "codecs/ilbc/frame_classify.h", |
| 314 | "codecs/ilbc/gain_dequant.c", |
| 315 | "codecs/ilbc/gain_dequant.h", |
| 316 | "codecs/ilbc/gain_quant.c", |
| 317 | "codecs/ilbc/gain_quant.h", |
| 318 | "codecs/ilbc/get_cd_vec.c", |
| 319 | "codecs/ilbc/get_cd_vec.h", |
| 320 | "codecs/ilbc/get_lsp_poly.c", |
| 321 | "codecs/ilbc/get_lsp_poly.h", |
| 322 | "codecs/ilbc/get_sync_seq.c", |
| 323 | "codecs/ilbc/get_sync_seq.h", |
| 324 | "codecs/ilbc/hp_input.c", |
| 325 | "codecs/ilbc/hp_input.h", |
| 326 | "codecs/ilbc/hp_output.c", |
| 327 | "codecs/ilbc/hp_output.h", |
| 328 | "codecs/ilbc/ilbc.c", |
| 329 | "codecs/ilbc/index_conv_dec.c", |
| 330 | "codecs/ilbc/index_conv_dec.h", |
| 331 | "codecs/ilbc/index_conv_enc.c", |
| 332 | "codecs/ilbc/index_conv_enc.h", |
| 333 | "codecs/ilbc/init_decode.c", |
| 334 | "codecs/ilbc/init_decode.h", |
| 335 | "codecs/ilbc/init_encode.c", |
| 336 | "codecs/ilbc/init_encode.h", |
| 337 | "codecs/ilbc/interface/ilbc.h", |
| 338 | "codecs/ilbc/interpolate.c", |
| 339 | "codecs/ilbc/interpolate.h", |
| 340 | "codecs/ilbc/interpolate_samples.c", |
| 341 | "codecs/ilbc/interpolate_samples.h", |
| 342 | "codecs/ilbc/lpc_encode.c", |
| 343 | "codecs/ilbc/lpc_encode.h", |
| 344 | "codecs/ilbc/lsf_check.c", |
| 345 | "codecs/ilbc/lsf_check.h", |
| 346 | "codecs/ilbc/lsf_interpolate_to_poly_dec.c", |
| 347 | "codecs/ilbc/lsf_interpolate_to_poly_dec.h", |
| 348 | "codecs/ilbc/lsf_interpolate_to_poly_enc.c", |
| 349 | "codecs/ilbc/lsf_interpolate_to_poly_enc.h", |
| 350 | "codecs/ilbc/lsf_to_lsp.c", |
| 351 | "codecs/ilbc/lsf_to_lsp.h", |
| 352 | "codecs/ilbc/lsf_to_poly.c", |
| 353 | "codecs/ilbc/lsf_to_poly.h", |
| 354 | "codecs/ilbc/lsp_to_lsf.c", |
| 355 | "codecs/ilbc/lsp_to_lsf.h", |
| 356 | "codecs/ilbc/my_corr.c", |
| 357 | "codecs/ilbc/my_corr.h", |
| 358 | "codecs/ilbc/nearest_neighbor.c", |
| 359 | "codecs/ilbc/nearest_neighbor.h", |
| 360 | "codecs/ilbc/pack_bits.c", |
| 361 | "codecs/ilbc/pack_bits.h", |
| 362 | "codecs/ilbc/poly_to_lsf.c", |
| 363 | "codecs/ilbc/poly_to_lsf.h", |
| 364 | "codecs/ilbc/poly_to_lsp.c", |
| 365 | "codecs/ilbc/poly_to_lsp.h", |
| 366 | "codecs/ilbc/refiner.c", |
| 367 | "codecs/ilbc/refiner.h", |
| 368 | "codecs/ilbc/simple_interpolate_lsf.c", |
| 369 | "codecs/ilbc/simple_interpolate_lsf.h", |
| 370 | "codecs/ilbc/simple_lpc_analysis.c", |
| 371 | "codecs/ilbc/simple_lpc_analysis.h", |
| 372 | "codecs/ilbc/simple_lsf_dequant.c", |
| 373 | "codecs/ilbc/simple_lsf_dequant.h", |
| 374 | "codecs/ilbc/simple_lsf_quant.c", |
| 375 | "codecs/ilbc/simple_lsf_quant.h", |
| 376 | "codecs/ilbc/smooth.c", |
| 377 | "codecs/ilbc/smooth.h", |
| 378 | "codecs/ilbc/smooth_out_data.c", |
| 379 | "codecs/ilbc/smooth_out_data.h", |
| 380 | "codecs/ilbc/sort_sq.c", |
| 381 | "codecs/ilbc/sort_sq.h", |
| 382 | "codecs/ilbc/split_vq.c", |
| 383 | "codecs/ilbc/split_vq.h", |
| 384 | "codecs/ilbc/state_construct.c", |
| 385 | "codecs/ilbc/state_construct.h", |
| 386 | "codecs/ilbc/state_search.c", |
| 387 | "codecs/ilbc/state_search.h", |
| 388 | "codecs/ilbc/swap_bytes.c", |
| 389 | "codecs/ilbc/swap_bytes.h", |
| 390 | "codecs/ilbc/unpack_bits.c", |
| 391 | "codecs/ilbc/unpack_bits.h", |
| 392 | "codecs/ilbc/vq3.c", |
| 393 | "codecs/ilbc/vq3.h", |
| 394 | "codecs/ilbc/vq4.c", |
| 395 | "codecs/ilbc/vq4.h", |
| 396 | "codecs/ilbc/window32_w32.c", |
| 397 | "codecs/ilbc/window32_w32.h", |
| 398 | "codecs/ilbc/xcorr_coef.c", |
| 399 | "codecs/ilbc/xcorr_coef.h", |
| 400 | ] |
| 401 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 402 | configs += [ "../..:common_config" ] |
| 403 | |
| 404 | public_configs = [ |
| 405 | "../..:common_inherited_config", |
| 406 | ":ilbc_config", |
| 407 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 408 | |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 409 | deps = [ |
| 410 | "../../common_audio", |
| 411 | ":audio_encoder_interface", |
| 412 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 413 | } |
| 414 | |
| 415 | config("isac_config") { |
| 416 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 417 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 418 | "codecs/isac/main/interface", |
| 419 | ] |
| 420 | } |
| 421 | |
| 422 | source_set("isac") { |
| 423 | sources = [ |
kwiberg@webrtc.org | 88bdec8 | 2014-12-16 12:49:37 +0000 | [diff] [blame] | 424 | "codecs/isac/audio_encoder_isac_t.h", |
| 425 | "codecs/isac/audio_encoder_isac_t_impl.h", |
kwiberg@webrtc.org | b3ad8cf | 2014-12-11 10:08:19 +0000 | [diff] [blame] | 426 | "codecs/isac/main/interface/audio_encoder_isac.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 427 | "codecs/isac/main/interface/isac.h", |
| 428 | "codecs/isac/main/source/arith_routines.c", |
| 429 | "codecs/isac/main/source/arith_routines.h", |
| 430 | "codecs/isac/main/source/arith_routines_hist.c", |
| 431 | "codecs/isac/main/source/arith_routines_logist.c", |
kwiberg@webrtc.org | b3ad8cf | 2014-12-11 10:08:19 +0000 | [diff] [blame] | 432 | "codecs/isac/main/source/audio_encoder_isac.cc", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 433 | "codecs/isac/main/source/bandwidth_estimator.c", |
| 434 | "codecs/isac/main/source/bandwidth_estimator.h", |
| 435 | "codecs/isac/main/source/codec.h", |
| 436 | "codecs/isac/main/source/crc.c", |
| 437 | "codecs/isac/main/source/crc.h", |
| 438 | "codecs/isac/main/source/decode_bwe.c", |
| 439 | "codecs/isac/main/source/decode.c", |
| 440 | "codecs/isac/main/source/encode.c", |
| 441 | "codecs/isac/main/source/encode_lpc_swb.c", |
| 442 | "codecs/isac/main/source/encode_lpc_swb.h", |
| 443 | "codecs/isac/main/source/entropy_coding.c", |
| 444 | "codecs/isac/main/source/entropy_coding.h", |
| 445 | "codecs/isac/main/source/fft.c", |
| 446 | "codecs/isac/main/source/fft.h", |
| 447 | "codecs/isac/main/source/filterbanks.c", |
| 448 | "codecs/isac/main/source/filterbank_tables.c", |
| 449 | "codecs/isac/main/source/filterbank_tables.h", |
| 450 | "codecs/isac/main/source/filter_functions.c", |
| 451 | "codecs/isac/main/source/intialize.c", |
| 452 | "codecs/isac/main/source/isac.c", |
| 453 | "codecs/isac/main/source/lattice.c", |
| 454 | "codecs/isac/main/source/lpc_analysis.c", |
| 455 | "codecs/isac/main/source/lpc_analysis.h", |
| 456 | "codecs/isac/main/source/lpc_gain_swb_tables.c", |
| 457 | "codecs/isac/main/source/lpc_gain_swb_tables.h", |
| 458 | "codecs/isac/main/source/lpc_shape_swb12_tables.c", |
| 459 | "codecs/isac/main/source/lpc_shape_swb12_tables.h", |
| 460 | "codecs/isac/main/source/lpc_shape_swb16_tables.c", |
| 461 | "codecs/isac/main/source/lpc_shape_swb16_tables.h", |
| 462 | "codecs/isac/main/source/lpc_tables.c", |
| 463 | "codecs/isac/main/source/lpc_tables.h", |
| 464 | "codecs/isac/main/source/os_specific_inline.h", |
| 465 | "codecs/isac/main/source/pitch_estimator.c", |
| 466 | "codecs/isac/main/source/pitch_estimator.h", |
| 467 | "codecs/isac/main/source/pitch_filter.c", |
| 468 | "codecs/isac/main/source/pitch_gain_tables.c", |
| 469 | "codecs/isac/main/source/pitch_gain_tables.h", |
| 470 | "codecs/isac/main/source/pitch_lag_tables.c", |
| 471 | "codecs/isac/main/source/pitch_lag_tables.h", |
| 472 | "codecs/isac/main/source/settings.h", |
| 473 | "codecs/isac/main/source/spectrum_ar_model_tables.c", |
| 474 | "codecs/isac/main/source/spectrum_ar_model_tables.h", |
| 475 | "codecs/isac/main/source/structs.h", |
| 476 | "codecs/isac/main/source/transform.c", |
| 477 | ] |
| 478 | |
kwiberg@webrtc.org | b3ad8cf | 2014-12-11 10:08:19 +0000 | [diff] [blame] | 479 | if (is_clang) { |
| 480 | # Suppress warnings from Chrome's Clang plugins. |
| 481 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 482 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 483 | } |
| 484 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 485 | if (is_linux) { |
| 486 | libs = [ "m" ] |
| 487 | } |
| 488 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 489 | configs += [ "../..:common_config" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 490 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 491 | public_configs = [ |
| 492 | "../..:common_inherited_config", |
| 493 | ":isac_config", |
| 494 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 495 | |
kwiberg@webrtc.org | b3ad8cf | 2014-12-11 10:08:19 +0000 | [diff] [blame] | 496 | deps = [ |
| 497 | ":audio_decoder_interface", |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 498 | ":audio_encoder_interface", |
kwiberg@webrtc.org | b3ad8cf | 2014-12-11 10:08:19 +0000 | [diff] [blame] | 499 | "../../common_audio", |
| 500 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 501 | } |
| 502 | |
| 503 | config("isac_fix_config") { |
| 504 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 505 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 506 | "codecs/isac/fix/interface", |
| 507 | ] |
| 508 | } |
| 509 | |
| 510 | source_set("isacfix") { |
| 511 | sources = [ |
kwiberg@webrtc.org | 88bdec8 | 2014-12-16 12:49:37 +0000 | [diff] [blame] | 512 | "codecs/isac/audio_encoder_isac_t.h", |
| 513 | "codecs/isac/audio_encoder_isac_t_impl.h", |
| 514 | "codecs/isac/fix/interface/audio_encoder_isacfix.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 515 | "codecs/isac/fix/interface/isacfix.h", |
| 516 | "codecs/isac/fix/source/arith_routines.c", |
| 517 | "codecs/isac/fix/source/arith_routines_hist.c", |
| 518 | "codecs/isac/fix/source/arith_routines_logist.c", |
| 519 | "codecs/isac/fix/source/arith_routins.h", |
kwiberg@webrtc.org | 88bdec8 | 2014-12-16 12:49:37 +0000 | [diff] [blame] | 520 | "codecs/isac/fix/source/audio_encoder_isacfix.cc", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 521 | "codecs/isac/fix/source/bandwidth_estimator.c", |
| 522 | "codecs/isac/fix/source/bandwidth_estimator.h", |
| 523 | "codecs/isac/fix/source/codec.h", |
| 524 | "codecs/isac/fix/source/decode_bwe.c", |
| 525 | "codecs/isac/fix/source/decode.c", |
| 526 | "codecs/isac/fix/source/decode_plc.c", |
| 527 | "codecs/isac/fix/source/encode.c", |
| 528 | "codecs/isac/fix/source/entropy_coding.c", |
| 529 | "codecs/isac/fix/source/entropy_coding.h", |
| 530 | "codecs/isac/fix/source/fft.c", |
| 531 | "codecs/isac/fix/source/fft.h", |
| 532 | "codecs/isac/fix/source/filterbanks.c", |
| 533 | "codecs/isac/fix/source/filterbank_tables.c", |
| 534 | "codecs/isac/fix/source/filterbank_tables.h", |
| 535 | "codecs/isac/fix/source/filters.c", |
| 536 | "codecs/isac/fix/source/initialize.c", |
| 537 | "codecs/isac/fix/source/isacfix.c", |
| 538 | "codecs/isac/fix/source/lattice.c", |
| 539 | "codecs/isac/fix/source/lpc_masking_model.c", |
| 540 | "codecs/isac/fix/source/lpc_masking_model.h", |
| 541 | "codecs/isac/fix/source/lpc_tables.c", |
| 542 | "codecs/isac/fix/source/lpc_tables.h", |
| 543 | "codecs/isac/fix/source/pitch_estimator.c", |
| 544 | "codecs/isac/fix/source/pitch_estimator.h", |
| 545 | "codecs/isac/fix/source/pitch_filter.c", |
| 546 | "codecs/isac/fix/source/pitch_gain_tables.c", |
| 547 | "codecs/isac/fix/source/pitch_gain_tables.h", |
| 548 | "codecs/isac/fix/source/pitch_lag_tables.c", |
| 549 | "codecs/isac/fix/source/pitch_lag_tables.h", |
| 550 | "codecs/isac/fix/source/settings.h", |
| 551 | "codecs/isac/fix/source/spectrum_ar_model_tables.c", |
| 552 | "codecs/isac/fix/source/spectrum_ar_model_tables.h", |
| 553 | "codecs/isac/fix/source/structs.h", |
| 554 | "codecs/isac/fix/source/transform.c", |
| 555 | "codecs/isac/fix/source/transform_tables.c", |
| 556 | ] |
| 557 | |
kwiberg@webrtc.org | 88bdec8 | 2014-12-16 12:49:37 +0000 | [diff] [blame] | 558 | if (is_clang) { |
| 559 | # Suppress warnings from Chrome's Clang plugins. |
| 560 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 561 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 562 | } |
| 563 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 564 | if (!is_win) { |
| 565 | defines = [ "WEBRTC_LINUX" ] |
| 566 | } |
| 567 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 568 | configs += [ "../..:common_config" ] |
| 569 | |
| 570 | public_configs = [ |
| 571 | "../..:common_inherited_config", |
| 572 | ":isac_fix_config", |
| 573 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 574 | |
| 575 | deps = [ |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 576 | ":audio_encoder_interface", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 577 | "../../common_audio", |
| 578 | "../../system_wrappers", |
| 579 | ] |
| 580 | |
kjellander@webrtc.org | 6d08ca6 | 2014-09-07 17:36:10 +0000 | [diff] [blame] | 581 | if (rtc_build_armv7_neon) { |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 582 | deps += [ ":isac_neon" ] |
| 583 | |
| 584 | # Enable compilation for the ARM v7 Neon instruction set. This is needed |
| 585 | # since //build/config/arm.gni only enables Neon for iOS, not Android. |
| 586 | # This provides the same functionality as webrtc/build/arm_neon.gypi. |
| 587 | # TODO(kjellander): Investigate if this can be moved into webrtc.gni or |
| 588 | # //build/config/arm.gni instead, to reduce code duplication. |
| 589 | # Remove the -mfpu=vfpv3-d16 cflag. |
| 590 | configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| 591 | cflags = [ |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 592 | "-mfpu=neon", |
| 593 | ] |
| 594 | |
| 595 | sources += [ |
| 596 | "codecs/isac/fix/source/lattice_armv7.S", |
| 597 | "codecs/isac/fix/source/pitch_filter_armv6.S", |
| 598 | ] |
| 599 | } else { |
| 600 | sources += [ "codecs/isac/fix/source/pitch_filter_c.c" ] |
| 601 | } |
| 602 | |
| 603 | if (cpu_arch == "mipsel") { |
| 604 | sources += [ |
| 605 | "codecs/isac/fix/source/entropy_coding_mips.c", |
| 606 | "codecs/isac/fix/source/filters_mips.c", |
| 607 | "codecs/isac/fix/source/lattice_mips.c", |
| 608 | "codecs/isac/fix/source/pitch_estimator_mips.c", |
| 609 | "codecs/isac/fix/source/transform_mips.c", |
| 610 | ] |
| 611 | if (mips_dsp_rev > 0) { |
| 612 | sources += [ "codecs/isac/fix/source/filterbanks_mips.c" ] |
| 613 | } |
| 614 | if (mips_dsp_rev > 1) { |
| 615 | sources += [ |
| 616 | "codecs/isac/fix/source/lpc_masking_model_mips.c", |
| 617 | "codecs/isac/fix/source/pitch_filter_mips.c", |
| 618 | ] |
| 619 | } else { |
| 620 | sources += [ "codecs/isac/fix/source/pitch_filter_c.c" ] |
| 621 | } |
kjellander@webrtc.org | b8caf6a | 2014-09-30 18:05:02 +0000 | [diff] [blame] | 622 | } else { |
| 623 | sources += [ "codecs/isac/fix/source/pitch_estimator_c.c" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 624 | } |
| 625 | |
kjellander@webrtc.org | b8caf6a | 2014-09-30 18:05:02 +0000 | [diff] [blame] | 626 | if (!rtc_build_armv7_neon && cpu_arch != "mipsel") { |
| 627 | sources += [ "codecs/isac/fix/source/lattice_c.c" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 628 | } |
| 629 | } |
| 630 | |
kjellander@webrtc.org | 6d08ca6 | 2014-09-07 17:36:10 +0000 | [diff] [blame] | 631 | if (rtc_build_armv7_neon) { |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 632 | source_set("isac_neon") { |
| 633 | sources = [ |
| 634 | "codecs/isac/fix/source/entropy_coding_neon.c", |
| 635 | "codecs/isac/fix/source/filterbanks_neon.S", |
| 636 | "codecs/isac/fix/source/filters_neon.S", |
| 637 | "codecs/isac/fix/source/lattice_neon.S", |
| 638 | "codecs/isac/fix/source/lpc_masking_model_neon.S", |
| 639 | "codecs/isac/fix/source/transform_neon.S", |
| 640 | ] |
| 641 | |
| 642 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 643 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 644 | ] |
| 645 | |
| 646 | # Disable LTO in audio_processing_neon target due to compiler bug. |
kjellander@webrtc.org | 6d08ca6 | 2014-09-07 17:36:10 +0000 | [diff] [blame] | 647 | if (rtc_use_lto) { |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 648 | cflags -= [ |
| 649 | "-flto", |
| 650 | "-ffat-lto-objects", |
| 651 | ] |
| 652 | } |
| 653 | |
| 654 | # Enable compilation for the ARM v7 Neon instruction set. This is needed |
| 655 | # since //build/config/arm.gni only enables Neon for iOS, not Android. |
| 656 | # This provides the same functionality as webrtc/build/arm_neon.gypi. |
| 657 | # TODO(kjellander): Investigate if this can be moved into webrtc.gni or |
| 658 | # //build/config/arm.gni instead, to reduce code duplication. |
| 659 | # Remove the -mfpu=vfpv3-d16 cflag. |
| 660 | configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| 661 | cflags = [ |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 662 | "-mfpu=neon", |
| 663 | ] |
| 664 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 665 | configs += [ "../..:common_config" ] |
| 666 | public_configs = [ "../..:common_inherited_config" ] |
| 667 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 668 | deps = [ "../../common_audio" ] |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | config("pcm16b_config") { |
| 673 | include_dirs = [ |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 674 | "../../..", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 675 | "codecs/pcm16b/include", |
| 676 | ] |
| 677 | } |
| 678 | |
| 679 | source_set("pcm16b") { |
| 680 | sources = [ |
henrik.lundin@webrtc.org | 817e50d | 2014-12-11 10:47:19 +0000 | [diff] [blame] | 681 | "codecs/pcm16b/include/audio_encoder_pcm16b.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 682 | "codecs/pcm16b/include/pcm16b.h", |
henrik.lundin@webrtc.org | 817e50d | 2014-12-11 10:47:19 +0000 | [diff] [blame] | 683 | "codecs/pcm16b/audio_encoder_pcm16b.cc", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 684 | "codecs/pcm16b/pcm16b.c", |
| 685 | ] |
| 686 | |
henrik.lundin@webrtc.org | 817e50d | 2014-12-11 10:47:19 +0000 | [diff] [blame] | 687 | deps = [ |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 688 | ":audio_encoder_interface", |
henrik.lundin@webrtc.org | 817e50d | 2014-12-11 10:47:19 +0000 | [diff] [blame] | 689 | ":g711", |
| 690 | ] |
| 691 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 692 | configs += [ "../..:common_config" ] |
| 693 | |
| 694 | public_configs = [ |
| 695 | "../..:common_inherited_config", |
| 696 | ":pcm16b_config", |
| 697 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 698 | } |
| 699 | |
| 700 | config("opus_config") { |
andresp@webrtc.org | 262e676 | 2014-09-04 13:28:48 +0000 | [diff] [blame] | 701 | include_dirs = [ "../../.." ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 702 | } |
| 703 | |
| 704 | source_set("webrtc_opus") { |
| 705 | sources = [ |
kwiberg@webrtc.org | 663fdd0 | 2014-10-29 07:28:36 +0000 | [diff] [blame] | 706 | "codecs/opus/audio_encoder_opus.cc", |
| 707 | "codecs/opus/interface/audio_encoder_opus.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 708 | "codecs/opus/interface/opus_interface.h", |
| 709 | "codecs/opus/opus_inst.h", |
| 710 | "codecs/opus/opus_interface.c", |
| 711 | ] |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 712 | |
| 713 | deps = [ ":audio_encoder_interface" ] |
| 714 | |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 715 | if (build_with_mozilla) { |
| 716 | include_dirs = [ getenv("DIST") + "/include/opus" ] |
| 717 | } else { |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 718 | configs += [ "../..:common_config" ] |
| 719 | public_configs = [ "../..:common_inherited_config" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 720 | |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 721 | deps += [ "//third_party/opus" ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 722 | } |
| 723 | } |
| 724 | |
| 725 | config("neteq_config") { |
| 726 | include_dirs = [ |
| 727 | # Need Opus header files for the audio classifier. |
| 728 | "//third_party/opus/src/celt", |
| 729 | "//third_party/opus/src/src", |
| 730 | ] |
| 731 | } |
| 732 | |
| 733 | source_set("neteq") { |
| 734 | sources = [ |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 735 | "neteq/interface/neteq.h", |
| 736 | "neteq/accelerate.cc", |
| 737 | "neteq/accelerate.h", |
| 738 | "neteq/audio_classifier.cc", |
| 739 | "neteq/audio_classifier.h", |
| 740 | "neteq/audio_decoder_impl.cc", |
| 741 | "neteq/audio_decoder_impl.h", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 742 | "neteq/audio_multi_vector.cc", |
| 743 | "neteq/audio_multi_vector.h", |
| 744 | "neteq/audio_vector.cc", |
| 745 | "neteq/audio_vector.h", |
| 746 | "neteq/background_noise.cc", |
| 747 | "neteq/background_noise.h", |
| 748 | "neteq/buffer_level_filter.cc", |
| 749 | "neteq/buffer_level_filter.h", |
| 750 | "neteq/comfort_noise.cc", |
| 751 | "neteq/comfort_noise.h", |
| 752 | "neteq/decision_logic.cc", |
| 753 | "neteq/decision_logic.h", |
| 754 | "neteq/decision_logic_fax.cc", |
| 755 | "neteq/decision_logic_fax.h", |
| 756 | "neteq/decision_logic_normal.cc", |
| 757 | "neteq/decision_logic_normal.h", |
| 758 | "neteq/decoder_database.cc", |
| 759 | "neteq/decoder_database.h", |
| 760 | "neteq/defines.h", |
| 761 | "neteq/delay_manager.cc", |
| 762 | "neteq/delay_manager.h", |
| 763 | "neteq/delay_peak_detector.cc", |
| 764 | "neteq/delay_peak_detector.h", |
| 765 | "neteq/dsp_helper.cc", |
| 766 | "neteq/dsp_helper.h", |
| 767 | "neteq/dtmf_buffer.cc", |
| 768 | "neteq/dtmf_buffer.h", |
| 769 | "neteq/dtmf_tone_generator.cc", |
| 770 | "neteq/dtmf_tone_generator.h", |
| 771 | "neteq/expand.cc", |
| 772 | "neteq/expand.h", |
| 773 | "neteq/merge.cc", |
| 774 | "neteq/merge.h", |
| 775 | "neteq/neteq_impl.cc", |
| 776 | "neteq/neteq_impl.h", |
| 777 | "neteq/neteq.cc", |
| 778 | "neteq/statistics_calculator.cc", |
| 779 | "neteq/statistics_calculator.h", |
| 780 | "neteq/normal.cc", |
| 781 | "neteq/normal.h", |
| 782 | "neteq/packet_buffer.cc", |
| 783 | "neteq/packet_buffer.h", |
| 784 | "neteq/payload_splitter.cc", |
| 785 | "neteq/payload_splitter.h", |
| 786 | "neteq/post_decode_vad.cc", |
| 787 | "neteq/post_decode_vad.h", |
| 788 | "neteq/preemptive_expand.cc", |
| 789 | "neteq/preemptive_expand.h", |
| 790 | "neteq/random_vector.cc", |
| 791 | "neteq/random_vector.h", |
| 792 | "neteq/rtcp.cc", |
| 793 | "neteq/rtcp.h", |
| 794 | "neteq/sync_buffer.cc", |
| 795 | "neteq/sync_buffer.h", |
| 796 | "neteq/timestamp_scaler.cc", |
| 797 | "neteq/timestamp_scaler.h", |
| 798 | "neteq/time_stretch.cc", |
| 799 | "neteq/time_stretch.h", |
| 800 | ] |
| 801 | |
kjellander@webrtc.org | f21ea91 | 2014-09-28 17:37:22 +0000 | [diff] [blame] | 802 | configs += [ "../..:common_config" ] |
| 803 | |
| 804 | public_configs = [ |
| 805 | "../..:common_inherited_config", |
| 806 | ":neteq_config", |
| 807 | ] |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 808 | |
| 809 | forward_dependent_configs_from = [ "//third_party/opus" ] |
| 810 | |
| 811 | if (is_clang) { |
| 812 | # Suppress warnings from Chrome's Clang plugins. |
| 813 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 814 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 815 | } |
| 816 | |
| 817 | deps = [ |
kwiberg@webrtc.org | e04a93b | 2014-12-09 10:12:53 +0000 | [diff] [blame] | 818 | ":audio_decoder_interface", |
kjellander@webrtc.org | 524b8f7 | 2014-08-31 20:32:53 +0000 | [diff] [blame] | 819 | ":cng", |
| 820 | ":g711", |
| 821 | ":g722", |
| 822 | ":ilbc", |
| 823 | ":isac", |
| 824 | ":isacfix", |
| 825 | ":pcm16b", |
| 826 | "../../common_audio", |
| 827 | "../../system_wrappers", |
| 828 | "//third_party/opus", |
| 829 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 830 | } |