| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
| 11 import("//build/config/arm.gni") | 11 import("//build/config/arm.gni") |
| 12 import("//testing/test.gni") | |
| 13 import("//third_party/protobuf/proto_library.gni") | 12 import("//third_party/protobuf/proto_library.gni") |
| 14 | 13 |
| 15 audio_codec_deps = [ | 14 audio_codec_deps = [ |
| 16 ":cng", | 15 ":cng", |
| 17 ":g711", | 16 ":g711", |
| 18 ":pcm16b", | 17 ":pcm16b", |
| 19 ] | 18 ] |
| 20 if (rtc_include_ilbc) { | 19 if (rtc_include_ilbc) { |
| 21 audio_codec_deps += [ ":ilbc" ] | 20 audio_codec_deps += [ ":ilbc" ] |
| 22 } | 21 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 33 } | 32 } |
| 34 if (!build_with_mozilla && !build_with_chromium) { | 33 if (!build_with_mozilla && !build_with_chromium) { |
| 35 audio_codec_deps += [ ":red" ] | 34 audio_codec_deps += [ ":red" ] |
| 36 } | 35 } |
| 37 audio_coding_deps = audio_codec_deps + [ | 36 audio_coding_deps = audio_codec_deps + [ |
| 38 "../..:webrtc_common", | 37 "../..:webrtc_common", |
| 39 "../../common_audio", | 38 "../../common_audio", |
| 40 "../../system_wrappers", | 39 "../../system_wrappers", |
| 41 ] | 40 ] |
| 42 | 41 |
| 43 source_set("audio_decoder_factory_interface") { | 42 rtc_source_set("audio_decoder_factory_interface") { |
| 44 sources = [ | 43 sources = [ |
| 45 "codecs/audio_decoder_factory.h", | 44 "codecs/audio_decoder_factory.h", |
| 46 "codecs/audio_format.cc", | 45 "codecs/audio_format.cc", |
| 47 "codecs/audio_format.h", | 46 "codecs/audio_format.h", |
| 48 ] | 47 ] |
| 49 configs += [ "../..:common_config" ] | 48 configs += [ "../..:common_config" ] |
| 50 public_configs = [ "../..:common_inherited_config" ] | 49 public_configs = [ "../..:common_inherited_config" ] |
| 51 deps = [ | 50 deps = [ |
| 52 "../..:webrtc_common", | 51 "../..:webrtc_common", |
| 53 ] | 52 ] |
| 54 } | 53 } |
| 55 | 54 |
| 56 source_set("builtin_audio_decoder_factory") { | 55 rtc_source_set("builtin_audio_decoder_factory") { |
| 57 sources = [ | 56 sources = [ |
| 58 "codecs/builtin_audio_decoder_factory.cc", | 57 "codecs/builtin_audio_decoder_factory.cc", |
| 59 "codecs/builtin_audio_decoder_factory.h", | 58 "codecs/builtin_audio_decoder_factory.h", |
| 60 ] | 59 ] |
| 61 configs += [ "../..:common_config" ] | 60 configs += [ "../..:common_config" ] |
| 62 public_configs = [ "../..:common_inherited_config" ] | 61 public_configs = [ "../..:common_inherited_config" ] |
| 63 deps = [ | 62 deps = [ |
| 64 "../..:webrtc_common", | 63 "../..:webrtc_common", |
| 65 ":audio_decoder_factory_interface", | 64 ":audio_decoder_factory_interface", |
| 66 ] + audio_codec_deps | 65 ] + audio_codec_deps |
| 67 defines = audio_codec_defines | 66 defines = audio_codec_defines |
| 68 } | 67 } |
| 69 | 68 |
| 70 source_set("rent_a_codec") { | 69 rtc_source_set("rent_a_codec") { |
| 71 sources = [ | 70 sources = [ |
| 72 "acm2/acm_codec_database.cc", | 71 "acm2/acm_codec_database.cc", |
| 73 "acm2/acm_codec_database.h", | 72 "acm2/acm_codec_database.h", |
| 74 "acm2/rent_a_codec.cc", | 73 "acm2/rent_a_codec.cc", |
| 75 "acm2/rent_a_codec.h", | 74 "acm2/rent_a_codec.h", |
| 76 ] | 75 ] |
| 77 configs += [ "../..:common_config" ] | 76 configs += [ "../..:common_config" ] |
| 78 public_configs = [ "../..:common_inherited_config" ] | 77 public_configs = [ "../..:common_inherited_config" ] |
| 79 deps = [ "../..:webrtc_common" ] + audio_codec_deps | 78 deps = [ "../..:webrtc_common" ] + audio_codec_deps |
| 80 defines = audio_codec_defines | 79 defines = audio_codec_defines |
| 81 } | 80 } |
| 82 | 81 |
| 83 config("audio_coding_config") { | 82 config("audio_coding_config") { |
| 84 include_dirs = [ | 83 include_dirs = [ |
| 85 "include", | 84 "include", |
| 86 "../include", | 85 "../include", |
| 87 ] | 86 ] |
| 88 } | 87 } |
| 89 | 88 |
| 90 source_set("audio_coding") { | 89 rtc_source_set("audio_coding") { |
| 91 sources = [ | 90 sources = [ |
| 92 "acm2/acm_common_defs.h", | 91 "acm2/acm_common_defs.h", |
| 93 "acm2/acm_receiver.cc", | 92 "acm2/acm_receiver.cc", |
| 94 "acm2/acm_receiver.h", | 93 "acm2/acm_receiver.h", |
| 95 "acm2/acm_resampler.cc", | 94 "acm2/acm_resampler.cc", |
| 96 "acm2/acm_resampler.h", | 95 "acm2/acm_resampler.h", |
| 97 "acm2/audio_coding_module.cc", | 96 "acm2/audio_coding_module.cc", |
| 98 "acm2/call_statistics.cc", | 97 "acm2/call_statistics.cc", |
| 99 "acm2/call_statistics.h", | 98 "acm2/call_statistics.h", |
| 100 "acm2/codec_manager.cc", | 99 "acm2/codec_manager.cc", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 128 } | 127 } |
| 129 | 128 |
| 130 deps = audio_coding_deps + [ | 129 deps = audio_coding_deps + [ |
| 131 ":neteq", | 130 ":neteq", |
| 132 ":rent_a_codec", | 131 ":rent_a_codec", |
| 133 "../..:rtc_event_log", | 132 "../..:rtc_event_log", |
| 134 ] | 133 ] |
| 135 defines = audio_coding_defines | 134 defines = audio_coding_defines |
| 136 } | 135 } |
| 137 | 136 |
| 138 source_set("audio_decoder_interface") { | 137 rtc_source_set("audio_decoder_interface") { |
| 139 sources = [ | 138 sources = [ |
| 140 "codecs/audio_decoder.cc", | 139 "codecs/audio_decoder.cc", |
| 141 "codecs/audio_decoder.h", | 140 "codecs/audio_decoder.h", |
| 142 ] | 141 ] |
| 143 configs += [ "../..:common_config" ] | 142 configs += [ "../..:common_config" ] |
| 144 public_configs = [ "../..:common_inherited_config" ] | 143 public_configs = [ "../..:common_inherited_config" ] |
| 145 deps = [ | 144 deps = [ |
| 146 "../..:webrtc_common", | 145 "../..:webrtc_common", |
| 147 "../../base:rtc_base_approved", | 146 "../../base:rtc_base_approved", |
| 148 ] | 147 ] |
| 149 } | 148 } |
| 150 | 149 |
| 151 source_set("audio_encoder_interface") { | 150 rtc_source_set("audio_encoder_interface") { |
| 152 sources = [ | 151 sources = [ |
| 153 "codecs/audio_encoder.cc", | 152 "codecs/audio_encoder.cc", |
| 154 "codecs/audio_encoder.h", | 153 "codecs/audio_encoder.h", |
| 155 ] | 154 ] |
| 156 configs += [ "../..:common_config" ] | 155 configs += [ "../..:common_config" ] |
| 157 public_configs = [ "../..:common_inherited_config" ] | 156 public_configs = [ "../..:common_inherited_config" ] |
| 158 deps = [ | 157 deps = [ |
| 159 "../..:webrtc_common", | 158 "../..:webrtc_common", |
| 160 "../../base:rtc_base_approved", | 159 "../../base:rtc_base_approved", |
| 161 ] | 160 ] |
| 162 } | 161 } |
| 163 | 162 |
| 164 config("cng_config") { | 163 config("cng_config") { |
| 165 include_dirs = [ | 164 include_dirs = [ |
| 166 "../../..", | 165 "../../..", |
| 167 "codecs/cng/include", | 166 "codecs/cng/include", |
| 168 ] | 167 ] |
| 169 } | 168 } |
| 170 | 169 |
| 171 source_set("cng") { | 170 rtc_source_set("cng") { |
| 172 sources = [ | 171 sources = [ |
| 173 "codecs/cng/audio_encoder_cng.cc", | 172 "codecs/cng/audio_encoder_cng.cc", |
| 174 "codecs/cng/audio_encoder_cng.h", | 173 "codecs/cng/audio_encoder_cng.h", |
| 175 "codecs/cng/webrtc_cng.cc", | 174 "codecs/cng/webrtc_cng.cc", |
| 176 "codecs/cng/webrtc_cng.h", | 175 "codecs/cng/webrtc_cng.h", |
| 177 ] | 176 ] |
| 178 | 177 |
| 179 configs += [ "../..:common_config" ] | 178 configs += [ "../..:common_config" ] |
| 180 | 179 |
| 181 public_configs = [ | 180 public_configs = [ |
| 182 "../..:common_inherited_config", | 181 "../..:common_inherited_config", |
| 183 ":cng_config", | 182 ":cng_config", |
| 184 ] | 183 ] |
| 185 | 184 |
| 186 deps = [ | 185 deps = [ |
| 187 ":audio_encoder_interface", | 186 ":audio_encoder_interface", |
| 188 "../../common_audio", | 187 "../../common_audio", |
| 189 ] | 188 ] |
| 190 } | 189 } |
| 191 | 190 |
| 192 config("red_config") { | 191 config("red_config") { |
| 193 include_dirs = [ "codecs/red" ] | 192 include_dirs = [ "codecs/red" ] |
| 194 } | 193 } |
| 195 | 194 |
| 196 source_set("red") { | 195 rtc_source_set("red") { |
| 197 sources = [ | 196 sources = [ |
| 198 "codecs/red/audio_encoder_copy_red.cc", | 197 "codecs/red/audio_encoder_copy_red.cc", |
| 199 "codecs/red/audio_encoder_copy_red.h", | 198 "codecs/red/audio_encoder_copy_red.h", |
| 200 ] | 199 ] |
| 201 | 200 |
| 202 configs += [ "../..:common_config" ] | 201 configs += [ "../..:common_config" ] |
| 203 | 202 |
| 204 public_configs = [ | 203 public_configs = [ |
| 205 "../..:common_inherited_config", | 204 "../..:common_inherited_config", |
| 206 ":red_config", | 205 ":red_config", |
| 207 ] | 206 ] |
| 208 | 207 |
| 209 deps = [ | 208 deps = [ |
| 210 ":audio_encoder_interface", | 209 ":audio_encoder_interface", |
| 211 "../../common_audio", | 210 "../../common_audio", |
| 212 ] | 211 ] |
| 213 } | 212 } |
| 214 | 213 |
| 215 config("g711_config") { | 214 config("g711_config") { |
| 216 include_dirs = [ | 215 include_dirs = [ |
| 217 "../../..", | 216 "../../..", |
| 218 "codecs/g711/include", | 217 "codecs/g711/include", |
| 219 ] | 218 ] |
| 220 } | 219 } |
| 221 | 220 |
| 222 source_set("g711") { | 221 rtc_source_set("g711") { |
| 223 sources = [ | 222 sources = [ |
| 224 "codecs/g711/audio_decoder_pcm.cc", | 223 "codecs/g711/audio_decoder_pcm.cc", |
| 225 "codecs/g711/audio_decoder_pcm.h", | 224 "codecs/g711/audio_decoder_pcm.h", |
| 226 "codecs/g711/audio_encoder_pcm.cc", | 225 "codecs/g711/audio_encoder_pcm.cc", |
| 227 "codecs/g711/audio_encoder_pcm.h", | 226 "codecs/g711/audio_encoder_pcm.h", |
| 228 "codecs/g711/g711.c", | 227 "codecs/g711/g711.c", |
| 229 "codecs/g711/g711.h", | 228 "codecs/g711/g711.h", |
| 230 "codecs/g711/g711_interface.c", | 229 "codecs/g711/g711_interface.c", |
| 231 "codecs/g711/g711_interface.h", | 230 "codecs/g711/g711_interface.h", |
| 232 ] | 231 ] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 244 ] | 243 ] |
| 245 } | 244 } |
| 246 | 245 |
| 247 config("g722_config") { | 246 config("g722_config") { |
| 248 include_dirs = [ | 247 include_dirs = [ |
| 249 "../../..", | 248 "../../..", |
| 250 "codecs/g722/include", | 249 "codecs/g722/include", |
| 251 ] | 250 ] |
| 252 } | 251 } |
| 253 | 252 |
| 254 source_set("g722") { | 253 rtc_source_set("g722") { |
| 255 sources = [ | 254 sources = [ |
| 256 "codecs/g722/audio_decoder_g722.cc", | 255 "codecs/g722/audio_decoder_g722.cc", |
| 257 "codecs/g722/audio_decoder_g722.h", | 256 "codecs/g722/audio_decoder_g722.h", |
| 258 "codecs/g722/audio_encoder_g722.cc", | 257 "codecs/g722/audio_encoder_g722.cc", |
| 259 "codecs/g722/audio_encoder_g722.h", | 258 "codecs/g722/audio_encoder_g722.h", |
| 260 "codecs/g722/g722_decode.c", | 259 "codecs/g722/g722_decode.c", |
| 261 "codecs/g722/g722_enc_dec.h", | 260 "codecs/g722/g722_enc_dec.h", |
| 262 "codecs/g722/g722_encode.c", | 261 "codecs/g722/g722_encode.c", |
| 263 "codecs/g722/g722_interface.c", | 262 "codecs/g722/g722_interface.c", |
| 264 "codecs/g722/g722_interface.h", | 263 "codecs/g722/g722_interface.h", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 277 ] | 276 ] |
| 278 } | 277 } |
| 279 | 278 |
| 280 config("ilbc_config") { | 279 config("ilbc_config") { |
| 281 include_dirs = [ | 280 include_dirs = [ |
| 282 "../../..", | 281 "../../..", |
| 283 "codecs/ilbc/include", | 282 "codecs/ilbc/include", |
| 284 ] | 283 ] |
| 285 } | 284 } |
| 286 | 285 |
| 287 source_set("ilbc") { | 286 rtc_source_set("ilbc") { |
| 288 sources = [ | 287 sources = [ |
| 289 "codecs/ilbc/abs_quant.c", | 288 "codecs/ilbc/abs_quant.c", |
| 290 "codecs/ilbc/abs_quant.h", | 289 "codecs/ilbc/abs_quant.h", |
| 291 "codecs/ilbc/abs_quant_loop.c", | 290 "codecs/ilbc/abs_quant_loop.c", |
| 292 "codecs/ilbc/abs_quant_loop.h", | 291 "codecs/ilbc/abs_quant_loop.h", |
| 293 "codecs/ilbc/audio_decoder_ilbc.cc", | 292 "codecs/ilbc/audio_decoder_ilbc.cc", |
| 294 "codecs/ilbc/audio_decoder_ilbc.h", | 293 "codecs/ilbc/audio_decoder_ilbc.h", |
| 295 "codecs/ilbc/audio_encoder_ilbc.cc", | 294 "codecs/ilbc/audio_encoder_ilbc.cc", |
| 296 "codecs/ilbc/audio_encoder_ilbc.h", | 295 "codecs/ilbc/audio_encoder_ilbc.h", |
| 297 "codecs/ilbc/augmented_cb_corr.c", | 296 "codecs/ilbc/augmented_cb_corr.c", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 ] | 438 ] |
| 440 | 439 |
| 441 deps = [ | 440 deps = [ |
| 442 ":audio_decoder_interface", | 441 ":audio_decoder_interface", |
| 443 ":audio_encoder_interface", | 442 ":audio_encoder_interface", |
| 444 "../../base:rtc_base_approved", | 443 "../../base:rtc_base_approved", |
| 445 "../../common_audio", | 444 "../../common_audio", |
| 446 ] | 445 ] |
| 447 } | 446 } |
| 448 | 447 |
| 449 source_set("isac_common") { | 448 rtc_source_set("isac_common") { |
| 450 sources = [ | 449 sources = [ |
| 451 "codecs/isac/audio_encoder_isac_t.h", | 450 "codecs/isac/audio_encoder_isac_t.h", |
| 452 "codecs/isac/audio_encoder_isac_t_impl.h", | 451 "codecs/isac/audio_encoder_isac_t_impl.h", |
| 453 "codecs/isac/locked_bandwidth_info.cc", | 452 "codecs/isac/locked_bandwidth_info.cc", |
| 454 "codecs/isac/locked_bandwidth_info.h", | 453 "codecs/isac/locked_bandwidth_info.h", |
| 455 ] | 454 ] |
| 456 public_configs = [ "../..:common_inherited_config" ] | 455 public_configs = [ "../..:common_inherited_config" ] |
| 457 } | 456 } |
| 458 | 457 |
| 459 config("isac_config") { | 458 config("isac_config") { |
| 460 include_dirs = [ | 459 include_dirs = [ |
| 461 "../../..", | 460 "../../..", |
| 462 "codecs/isac/main/include", | 461 "codecs/isac/main/include", |
| 463 ] | 462 ] |
| 464 } | 463 } |
| 465 | 464 |
| 466 source_set("isac") { | 465 rtc_source_set("isac") { |
| 467 sources = [ | 466 sources = [ |
| 468 "codecs/isac/main/include/audio_decoder_isac.h", | 467 "codecs/isac/main/include/audio_decoder_isac.h", |
| 469 "codecs/isac/main/include/audio_encoder_isac.h", | 468 "codecs/isac/main/include/audio_encoder_isac.h", |
| 470 "codecs/isac/main/include/isac.h", | 469 "codecs/isac/main/include/isac.h", |
| 471 "codecs/isac/main/source/arith_routines.c", | 470 "codecs/isac/main/source/arith_routines.c", |
| 472 "codecs/isac/main/source/arith_routines.h", | 471 "codecs/isac/main/source/arith_routines.h", |
| 473 "codecs/isac/main/source/arith_routines_hist.c", | 472 "codecs/isac/main/source/arith_routines_hist.c", |
| 474 "codecs/isac/main/source/arith_routines_logist.c", | 473 "codecs/isac/main/source/arith_routines_logist.c", |
| 475 "codecs/isac/main/source/audio_decoder_isac.cc", | 474 "codecs/isac/main/source/audio_decoder_isac.cc", |
| 476 "codecs/isac/main/source/audio_encoder_isac.cc", | 475 "codecs/isac/main/source/audio_encoder_isac.cc", |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 ] | 541 ] |
| 543 } | 542 } |
| 544 | 543 |
| 545 config("isac_fix_config") { | 544 config("isac_fix_config") { |
| 546 include_dirs = [ | 545 include_dirs = [ |
| 547 "../../..", | 546 "../../..", |
| 548 "codecs/isac/fix/include", | 547 "codecs/isac/fix/include", |
| 549 ] | 548 ] |
| 550 } | 549 } |
| 551 | 550 |
| 552 source_set("isac_fix") { | 551 rtc_source_set("isac_fix") { |
| 553 sources = [ | 552 sources = [ |
| 554 "codecs/isac/fix/include/audio_decoder_isacfix.h", | 553 "codecs/isac/fix/include/audio_decoder_isacfix.h", |
| 555 "codecs/isac/fix/include/audio_encoder_isacfix.h", | 554 "codecs/isac/fix/include/audio_encoder_isacfix.h", |
| 556 "codecs/isac/fix/include/isacfix.h", | 555 "codecs/isac/fix/include/isacfix.h", |
| 557 "codecs/isac/fix/source/arith_routines.c", | 556 "codecs/isac/fix/source/arith_routines.c", |
| 558 "codecs/isac/fix/source/arith_routines_hist.c", | 557 "codecs/isac/fix/source/arith_routines_hist.c", |
| 559 "codecs/isac/fix/source/arith_routines_logist.c", | 558 "codecs/isac/fix/source/arith_routines_logist.c", |
| 560 "codecs/isac/fix/source/arith_routins.h", | 559 "codecs/isac/fix/source/arith_routins.h", |
| 561 "codecs/isac/fix/source/audio_decoder_isacfix.cc", | 560 "codecs/isac/fix/source/audio_decoder_isacfix.cc", |
| 562 "codecs/isac/fix/source/audio_encoder_isacfix.cc", | 561 "codecs/isac/fix/source/audio_encoder_isacfix.cc", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 sources += [ | 653 sources += [ |
| 655 "codecs/isac/fix/source/lpc_masking_model_mips.c", | 654 "codecs/isac/fix/source/lpc_masking_model_mips.c", |
| 656 "codecs/isac/fix/source/pitch_filter_mips.c", | 655 "codecs/isac/fix/source/pitch_filter_mips.c", |
| 657 ] | 656 ] |
| 658 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] | 657 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] |
| 659 } | 658 } |
| 660 } | 659 } |
| 661 } | 660 } |
| 662 | 661 |
| 663 if (rtc_build_with_neon) { | 662 if (rtc_build_with_neon) { |
| 664 source_set("isac_neon") { | 663 rtc_source_set("isac_neon") { |
| 665 sources = [ | 664 sources = [ |
| 666 "codecs/isac/fix/source/entropy_coding_neon.c", | 665 "codecs/isac/fix/source/entropy_coding_neon.c", |
| 667 "codecs/isac/fix/source/filterbanks_neon.c", | 666 "codecs/isac/fix/source/filterbanks_neon.c", |
| 668 "codecs/isac/fix/source/filters_neon.c", | 667 "codecs/isac/fix/source/filters_neon.c", |
| 669 "codecs/isac/fix/source/lattice_neon.c", | 668 "codecs/isac/fix/source/lattice_neon.c", |
| 670 "codecs/isac/fix/source/transform_neon.c", | 669 "codecs/isac/fix/source/transform_neon.c", |
| 671 ] | 670 ] |
| 672 | 671 |
| 673 if (current_cpu != "arm64") { | 672 if (current_cpu != "arm64") { |
| 674 # Enable compilation for the NEON instruction set. This is needed | 673 # Enable compilation for the NEON instruction set. This is needed |
| 675 # since //build/config/arm.gni only enables NEON for iOS, not Android. | 674 # since //build/config/arm.gni only enables NEON for iOS, not Android. |
| 676 # This provides the same functionality as webrtc/build/arm_neon.gypi. | 675 # This provides the same functionality as webrtc/build/arm_neon.gypi. |
| 677 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] | 676 configs_suppressions += [ "//build/config/compiler:compiler_arm_fpu" ] |
| 678 cflags = [ "-mfpu=neon" ] | 677 cflags = [ "-mfpu=neon" ] |
| 679 } | 678 } |
| 680 | 679 |
| 681 # Disable LTO on NEON targets due to compiler bug. | 680 # Disable LTO on NEON targets due to compiler bug. |
| 682 # TODO(fdegans): Enable this. See crbug.com/408997. | 681 # TODO(fdegans): Enable this. See crbug.com/408997. |
| 683 if (rtc_use_lto) { | 682 if (rtc_use_lto) { |
| 684 cflags -= [ | 683 cflags -= [ |
| 685 "-flto", | 684 "-flto", |
| 686 "-ffat-lto-objects", | 685 "-ffat-lto-objects", |
| 687 ] | 686 ] |
| 688 } | 687 } |
| 689 | 688 |
| 690 configs += [ "../..:common_config" ] | 689 configs += [ "../..:common_config" ] |
| 691 public_configs = [ "../..:common_inherited_config" ] | 690 public_configs = [ "../..:common_inherited_config" ] |
| 692 | 691 |
| 693 deps = [ | 692 deps = [ |
| 694 "../../common_audio", | 693 "../../common_audio", |
| 695 ] | 694 ] |
| 696 } | 695 } |
| 697 } | 696 } |
| 698 | 697 |
| 699 config("pcm16b_config") { | 698 config("pcm16b_config") { |
| 700 include_dirs = [ | 699 include_dirs = [ |
| 701 "../../..", | 700 "../../..", |
| 702 "codecs/pcm16b/include", | 701 "codecs/pcm16b/include", |
| 703 ] | 702 ] |
| 704 } | 703 } |
| 705 | 704 |
| 706 source_set("pcm16b") { | 705 rtc_source_set("pcm16b") { |
| 707 sources = [ | 706 sources = [ |
| 708 "codecs/pcm16b/audio_decoder_pcm16b.cc", | 707 "codecs/pcm16b/audio_decoder_pcm16b.cc", |
| 709 "codecs/pcm16b/audio_decoder_pcm16b.h", | 708 "codecs/pcm16b/audio_decoder_pcm16b.h", |
| 710 "codecs/pcm16b/audio_encoder_pcm16b.cc", | 709 "codecs/pcm16b/audio_encoder_pcm16b.cc", |
| 711 "codecs/pcm16b/audio_encoder_pcm16b.h", | 710 "codecs/pcm16b/audio_encoder_pcm16b.h", |
| 712 "codecs/pcm16b/pcm16b.c", | 711 "codecs/pcm16b/pcm16b.c", |
| 713 "codecs/pcm16b/pcm16b.h", | 712 "codecs/pcm16b/pcm16b.h", |
| 714 ] | 713 ] |
| 715 | 714 |
| 716 deps = [ | 715 deps = [ |
| 717 ":audio_decoder_interface", | 716 ":audio_decoder_interface", |
| 718 ":audio_encoder_interface", | 717 ":audio_encoder_interface", |
| 719 ":g711", | 718 ":g711", |
| 720 ] | 719 ] |
| 721 | 720 |
| 722 configs += [ "../..:common_config" ] | 721 configs += [ "../..:common_config" ] |
| 723 | 722 |
| 724 public_configs = [ | 723 public_configs = [ |
| 725 "../..:common_inherited_config", | 724 "../..:common_inherited_config", |
| 726 ":pcm16b_config", | 725 ":pcm16b_config", |
| 727 ] | 726 ] |
| 728 } | 727 } |
| 729 | 728 |
| 730 config("opus_config") { | 729 config("opus_config") { |
| 731 include_dirs = [ "../../.." ] | 730 include_dirs = [ "../../.." ] |
| 732 } | 731 } |
| 733 | 732 |
| 734 source_set("webrtc_opus") { | 733 rtc_source_set("webrtc_opus") { |
| 735 sources = [ | 734 sources = [ |
| 736 "codecs/opus/audio_decoder_opus.cc", | 735 "codecs/opus/audio_decoder_opus.cc", |
| 737 "codecs/opus/audio_decoder_opus.h", | 736 "codecs/opus/audio_decoder_opus.h", |
| 738 "codecs/opus/audio_encoder_opus.cc", | 737 "codecs/opus/audio_encoder_opus.cc", |
| 739 "codecs/opus/audio_encoder_opus.h", | 738 "codecs/opus/audio_encoder_opus.h", |
| 740 "codecs/opus/opus_inst.h", | 739 "codecs/opus/opus_inst.h", |
| 741 "codecs/opus/opus_interface.c", | 740 "codecs/opus/opus_interface.c", |
| 742 "codecs/opus/opus_interface.h", | 741 "codecs/opus/opus_interface.h", |
| 743 ] | 742 ] |
| 744 | 743 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 761 } | 760 } |
| 762 | 761 |
| 763 config("neteq_config") { | 762 config("neteq_config") { |
| 764 include_dirs = [ | 763 include_dirs = [ |
| 765 # Need Opus header files for the audio classifier. | 764 # Need Opus header files for the audio classifier. |
| 766 "//third_party/opus/src/celt", | 765 "//third_party/opus/src/celt", |
| 767 "//third_party/opus/src/src", | 766 "//third_party/opus/src/src", |
| 768 ] | 767 ] |
| 769 } | 768 } |
| 770 | 769 |
| 771 source_set("neteq") { | 770 rtc_source_set("neteq") { |
| 772 sources = [ | 771 sources = [ |
| 773 "neteq/accelerate.cc", | 772 "neteq/accelerate.cc", |
| 774 "neteq/accelerate.h", | 773 "neteq/accelerate.h", |
| 775 "neteq/audio_classifier.cc", | 774 "neteq/audio_classifier.cc", |
| 776 "neteq/audio_classifier.h", | 775 "neteq/audio_classifier.h", |
| 777 "neteq/audio_decoder_impl.cc", | 776 "neteq/audio_decoder_impl.cc", |
| 778 "neteq/audio_decoder_impl.h", | 777 "neteq/audio_decoder_impl.h", |
| 779 "neteq/audio_multi_vector.cc", | 778 "neteq/audio_multi_vector.cc", |
| 780 "neteq/audio_multi_vector.h", | 779 "neteq/audio_multi_vector.h", |
| 781 "neteq/audio_vector.cc", | 780 "neteq/audio_vector.cc", |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 } else { | 880 } else { |
| 882 defines += [ "WEBRTC_CODEC_ISAC" ] | 881 defines += [ "WEBRTC_CODEC_ISAC" ] |
| 883 deps += [ ":isac" ] | 882 deps += [ ":isac" ] |
| 884 } | 883 } |
| 885 defines += [ "WEBRTC_CODEC_G722" ] | 884 defines += [ "WEBRTC_CODEC_G722" ] |
| 886 deps += [ ":g722" ] | 885 deps += [ ":g722" ] |
| 887 } | 886 } |
| 888 } | 887 } |
| 889 | 888 |
| 890 if (rtc_include_tests) { | 889 if (rtc_include_tests) { |
| 891 source_set("acm_receive_test") { | 890 rtc_source_set("acm_receive_test") { |
| 892 testonly = true | 891 testonly = true |
| 893 sources = [ | 892 sources = [ |
| 894 "acm2/acm_receive_test_oldapi.cc", | 893 "acm2/acm_receive_test_oldapi.cc", |
| 895 "acm2/acm_receive_test_oldapi.h", | 894 "acm2/acm_receive_test_oldapi.h", |
| 896 ] | 895 ] |
| 897 | 896 |
| 898 configs += [ "../..:common_config" ] | 897 configs += [ "../..:common_config" ] |
| 899 public_configs = [ "../..:common_inherited_config" ] | 898 public_configs = [ "../..:common_inherited_config" ] |
| 900 | 899 |
| 901 defines = audio_coding_defines | 900 defines = audio_coding_defines |
| 902 | 901 |
| 903 deps = audio_coding_deps + [ | 902 deps = audio_coding_deps + [ |
| 904 ":audio_coding", | 903 ":audio_coding", |
| 905 ":neteq_unittest_tools", | 904 ":neteq_unittest_tools", |
| 906 "//testing/gtest", | 905 "//testing/gtest", |
| 907 ] | 906 ] |
| 908 } | 907 } |
| 909 | 908 |
| 910 source_set("acm_send_test") { | 909 rtc_source_set("acm_send_test") { |
| 911 testonly = true | 910 testonly = true |
| 912 sources = [ | 911 sources = [ |
| 913 "acm2/acm_send_test_oldapi.cc", | 912 "acm2/acm_send_test_oldapi.cc", |
| 914 "acm2/acm_send_test_oldapi.h", | 913 "acm2/acm_send_test_oldapi.h", |
| 915 ] | 914 ] |
| 916 | 915 |
| 917 configs += [ "../..:common_config" ] | 916 configs += [ "../..:common_config" ] |
| 918 public_configs = [ "../..:common_inherited_config" ] | 917 public_configs = [ "../..:common_inherited_config" ] |
| 919 | 918 |
| 920 defines = audio_coding_defines | 919 defines = audio_coding_defines |
| 921 | 920 |
| 922 deps = audio_coding_deps + [ | 921 deps = audio_coding_deps + [ |
| 923 ":audio_coding", | 922 ":audio_coding", |
| 924 ":neteq_unittest_tools", | 923 ":neteq_unittest_tools", |
| 925 "//testing/gtest", | 924 "//testing/gtest", |
| 926 ] | 925 ] |
| 927 } | 926 } |
| 928 | 927 |
| 929 executable("delay_test") { | 928 rtc_executable("delay_test") { |
| 930 testonly = true | 929 testonly = true |
| 931 sources = [ | 930 sources = [ |
| 932 "test/Channel.cc", | 931 "test/Channel.cc", |
| 933 "test/PCMFile.cc", | 932 "test/PCMFile.cc", |
| 934 "test/delay_test.cc", | 933 "test/delay_test.cc", |
| 935 "test/utility.cc", | 934 "test/utility.cc", |
| 936 ] | 935 ] |
| 937 | 936 |
| 938 configs += [ "../..:common_config" ] | 937 configs += [ "../..:common_config" ] |
| 939 public_configs = [ "../..:common_inherited_config" ] | 938 public_configs = [ "../..:common_inherited_config" ] |
| 940 | 939 |
| 941 deps = [ | 940 deps = [ |
| 942 ":audio_coding", | 941 ":audio_coding", |
| 943 "../../:webrtc_common", | 942 "../../:webrtc_common", |
| 944 "../../system_wrappers", | 943 "../../system_wrappers", |
| 945 "../../system_wrappers:system_wrappers_default", | 944 "../../system_wrappers:system_wrappers_default", |
| 946 "../../test:test_support", | 945 "../../test:test_support", |
| 947 "../rtp_rtcp", | 946 "../rtp_rtcp", |
| 948 "//build/config/sanitizers:deps", | 947 "//build/config/sanitizers:deps", |
| 949 "//testing/gtest", | 948 "//testing/gtest", |
| 950 "//third_party/gflags:gflags", | 949 "//third_party/gflags:gflags", |
| 951 ] | 950 ] |
| 952 } # delay_test | 951 } # delay_test |
| 953 | 952 |
| 954 executable("insert_packet_with_timing") { | 953 rtc_executable("insert_packet_with_timing") { |
| 955 testonly = true | 954 testonly = true |
| 956 sources = [ | 955 sources = [ |
| 957 "test/Channel.cc", | 956 "test/Channel.cc", |
| 958 "test/PCMFile.cc", | 957 "test/PCMFile.cc", |
| 959 "test/insert_packet_with_timing.cc", | 958 "test/insert_packet_with_timing.cc", |
| 960 ] | 959 ] |
| 961 | 960 |
| 962 configs += [ "../..:common_config" ] | 961 configs += [ "../..:common_config" ] |
| 963 public_configs = [ "../..:common_inherited_config" ] | 962 public_configs = [ "../..:common_inherited_config" ] |
| 964 | 963 |
| 965 if (is_clang) { | 964 if (is_clang) { |
| 966 # Suppress warnings from Chrome's Clang plugins. | 965 # Suppress warnings from Chrome's Clang plugins. |
| 967 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 966 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 968 configs -= [ "//build/config/clang:find_bad_constructs" ] | 967 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 969 } | 968 } |
| 970 | 969 |
| 971 deps = [ | 970 deps = [ |
| 972 ":audio_coding", | 971 ":audio_coding", |
| 973 "../../:webrtc_common", | 972 "../../:webrtc_common", |
| 974 "../../system_wrappers", | 973 "../../system_wrappers", |
| 975 "../../system_wrappers:system_wrappers_default", | 974 "../../system_wrappers:system_wrappers_default", |
| 976 "../../test:test_support", | 975 "../../test:test_support", |
| 977 "../rtp_rtcp", | 976 "../rtp_rtcp", |
| 978 "//build/config/sanitizers:deps", | 977 "//build/config/sanitizers:deps", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 989 if (is_ios) { | 988 if (is_ios) { |
| 990 bundle_data("audio_decoder_unittests_bundle_data") { | 989 bundle_data("audio_decoder_unittests_bundle_data") { |
| 991 testonly = true | 990 testonly = true |
| 992 sources = audio_decoder_unittests_resources | 991 sources = audio_decoder_unittests_resources |
| 993 outputs = [ | 992 outputs = [ |
| 994 "{{bundle_resources_dir}}/{{source_file_part}}", | 993 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 995 ] | 994 ] |
| 996 } | 995 } |
| 997 } | 996 } |
| 998 | 997 |
| 999 test("audio_decoder_unittests") { | 998 rtc_test("audio_decoder_unittests") { |
| 1000 testonly = true | 999 testonly = true |
| 1001 sources = [ | 1000 sources = [ |
| 1002 "neteq/audio_decoder_unittest.cc", | 1001 "neteq/audio_decoder_unittest.cc", |
| 1003 ] | 1002 ] |
| 1004 | 1003 |
| 1005 configs += [ "../..:common_config" ] | 1004 configs += [ "../..:common_config" ] |
| 1006 public_configs = [ "../..:common_inherited_config" ] | 1005 public_configs = [ "../..:common_inherited_config" ] |
| 1007 | 1006 |
| 1008 if (is_clang) { | 1007 if (is_clang) { |
| 1009 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1008 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 1010 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1009 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1011 } | 1010 } |
| 1012 | 1011 |
| 1013 deps = [] | 1012 deps = [] |
| 1014 | 1013 |
| 1015 defines = neteq_defines | 1014 defines = neteq_defines |
| 1016 | 1015 |
| 1017 deps += audio_coding_deps | 1016 deps += audio_coding_deps |
| 1018 deps += [ | 1017 deps += [ |
| 1019 ":audio_decoder_interface", | 1018 ":audio_decoder_interface", |
| 1020 ":isac", | 1019 ":isac", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1037 } # audio_decoder_unittests | 1036 } # audio_decoder_unittests |
| 1038 | 1037 |
| 1039 if (rtc_enable_protobuf) { | 1038 if (rtc_enable_protobuf) { |
| 1040 proto_library("neteq_unittest_proto") { | 1039 proto_library("neteq_unittest_proto") { |
| 1041 sources = [ | 1040 sources = [ |
| 1042 "neteq/neteq_unittest.proto", | 1041 "neteq/neteq_unittest.proto", |
| 1043 ] | 1042 ] |
| 1044 proto_out_dir = "webrtc/audio_coding/neteq" | 1043 proto_out_dir = "webrtc/audio_coding/neteq" |
| 1045 } | 1044 } |
| 1046 | 1045 |
| 1047 source_set("rtc_event_log_source") { | 1046 rtc_source_set("rtc_event_log_source") { |
| 1048 testonly = true | 1047 testonly = true |
| 1049 sources = [ | 1048 sources = [ |
| 1050 "neteq/tools/rtc_event_log_source.cc", | 1049 "neteq/tools/rtc_event_log_source.cc", |
| 1051 "neteq/tools/rtc_event_log_source.h", | 1050 "neteq/tools/rtc_event_log_source.h", |
| 1052 ] | 1051 ] |
| 1053 | 1052 |
| 1054 if (is_clang) { | 1053 if (is_clang) { |
| 1055 # Suppress warnings from the Chromium Clang plugins | 1054 # Suppress warnings from the Chromium Clang plugins |
| 1056 # (bugs.webrtc.org/163). | 1055 # (bugs.webrtc.org/163). |
| 1057 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1056 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1058 } | 1057 } |
| 1059 | 1058 |
| 1060 deps = [ | 1059 deps = [ |
| 1061 "../../:rtc_event_log_parser", | 1060 "../../:rtc_event_log_parser", |
| 1062 ] | 1061 ] |
| 1063 public_deps = [ | 1062 public_deps = [ |
| 1064 "../../:rtc_event_log_proto", | 1063 "../../:rtc_event_log_proto", |
| 1065 ] | 1064 ] |
| 1066 } | 1065 } |
| 1067 | 1066 |
| 1068 test("neteq_rtpplay") { | 1067 rtc_test("neteq_rtpplay") { |
| 1069 testonly = true | 1068 testonly = true |
| 1070 defines = [] | 1069 defines = [] |
| 1071 deps = [] | 1070 deps = [] |
| 1072 sources = [ | 1071 sources = [ |
| 1073 "neteq/tools/neteq_rtpplay.cc", | 1072 "neteq/tools/neteq_rtpplay.cc", |
| 1074 ] | 1073 ] |
| 1075 | 1074 |
| 1076 if (is_clang) { | 1075 if (is_clang) { |
| 1077 # Suppress warnings from the Chromium Clang plugins | 1076 # Suppress warnings from the Chromium Clang plugins |
| 1078 # (bugs.webrtc.org/163). | 1077 # (bugs.webrtc.org/163). |
| 1079 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1078 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1080 } | 1079 } |
| 1081 | 1080 |
| 1082 if (is_win) { | 1081 if (is_win) { |
| 1083 cflags = [ | 1082 cflags = [ |
| 1084 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 1083 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 1085 "/wd4373", # virtual function override. | 1084 "/wd4373", # virtual function override. |
| 1086 ] | 1085 ] |
| 1087 } | 1086 } |
| 1088 | 1087 |
| 1089 deps += [ | 1088 deps += [ |
| 1090 ":neteq", | 1089 ":neteq", |
| 1091 ":neteq_unittest_tools", | 1090 ":neteq_unittest_tools", |
| 1092 "../../system_wrappers:system_wrappers_default", | 1091 "../../system_wrappers:system_wrappers_default", |
| 1093 "../../test:test_support", | 1092 "../../test:test_support", |
| 1094 "//third_party/gflags", | 1093 "//third_party/gflags", |
| 1095 ] | 1094 ] |
| 1096 } | 1095 } |
| 1097 } | 1096 } |
| 1098 | 1097 |
| 1099 test("audio_codec_speed_tests") { | 1098 rtc_test("audio_codec_speed_tests") { |
| 1100 testonly = true | 1099 testonly = true |
| 1101 defines = [] | 1100 defines = [] |
| 1102 deps = [] | 1101 deps = [] |
| 1103 sources = [ | 1102 sources = [ |
| 1104 "codecs/isac/fix/test/isac_speed_test.cc", | 1103 "codecs/isac/fix/test/isac_speed_test.cc", |
| 1105 "codecs/opus/opus_speed_test.cc", | 1104 "codecs/opus/opus_speed_test.cc", |
| 1106 "codecs/tools/audio_codec_speed_test.cc", | 1105 "codecs/tools/audio_codec_speed_test.cc", |
| 1107 "codecs/tools/audio_codec_speed_test.h", | 1106 "codecs/tools/audio_codec_speed_test.h", |
| 1108 ] | 1107 ] |
| 1109 | 1108 |
| 1110 if (is_clang) { | 1109 if (is_clang) { |
| 1111 # Suppress warnings from the Chromium Clang plugins | 1110 # Suppress warnings from the Chromium Clang plugins |
| 1112 # (bugs.webrtc.org/163). | 1111 # (bugs.webrtc.org/163). |
| 1113 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1112 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1114 } | 1113 } |
| 1115 | 1114 |
| 1116 if (is_android) { | 1115 if (is_android) { |
| 1117 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1116 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 1118 shard_timeout = 900 | 1117 shard_timeout = 900 |
| 1119 } | 1118 } |
| 1120 | 1119 |
| 1121 deps += [ | 1120 deps += [ |
| 1122 ":isac_fix", | 1121 ":isac_fix", |
| 1123 ":webrtc_opus", | 1122 ":webrtc_opus", |
| 1124 "../../system_wrappers:system_wrappers_default", | 1123 "../../system_wrappers:system_wrappers_default", |
| 1125 "../../test:test_support_main", | 1124 "../../test:test_support_main", |
| 1126 "../audio_processing/", | 1125 "../audio_processing/", |
| 1127 "//testing/gtest", | 1126 "//testing/gtest", |
| 1128 ] | 1127 ] |
| 1129 } | 1128 } |
| 1130 | 1129 |
| 1131 source_set("neteq_test_support") { | 1130 rtc_source_set("neteq_test_support") { |
| 1132 testonly = true | 1131 testonly = true |
| 1133 sources = [ | 1132 sources = [ |
| 1134 "neteq/tools/neteq_external_decoder_test.cc", | 1133 "neteq/tools/neteq_external_decoder_test.cc", |
| 1135 "neteq/tools/neteq_external_decoder_test.h", | 1134 "neteq/tools/neteq_external_decoder_test.h", |
| 1136 "neteq/tools/neteq_performance_test.cc", | 1135 "neteq/tools/neteq_performance_test.cc", |
| 1137 "neteq/tools/neteq_performance_test.h", | 1136 "neteq/tools/neteq_performance_test.h", |
| 1138 ] | 1137 ] |
| 1139 | 1138 |
| 1140 configs += [ "../..:common_config" ] | 1139 configs += [ "../..:common_config" ] |
| 1141 public_configs = [ "../..:common_inherited_config" ] | 1140 public_configs = [ "../..:common_inherited_config" ] |
| 1142 | 1141 |
| 1143 if (!is_debug) { | 1142 if (!is_debug) { |
| 1144 configs -= [ "//build/config/compiler:default_optimization" ] | 1143 configs_suppressions += [ "//build/config/compiler:default_optimization" ] |
| 1145 configs += [ "//build/config/compiler:optimize_max" ] | 1144 configs += [ "//build/config/compiler:optimize_max" ] |
| 1146 } | 1145 } |
| 1147 | 1146 |
| 1148 if (is_clang) { | 1147 if (is_clang) { |
| 1149 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1148 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 1150 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1149 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1151 } | 1150 } |
| 1152 | 1151 |
| 1153 deps = [ | 1152 deps = [ |
| 1154 ":neteq", | 1153 ":neteq", |
| 1155 ":neteq_unittest_tools", | 1154 ":neteq_unittest_tools", |
| 1156 ":pcm16b", | 1155 ":pcm16b", |
| 1157 "//testing/gtest", | 1156 "//testing/gtest", |
| 1158 "//third_party/gflags", | 1157 "//third_party/gflags", |
| 1159 ] | 1158 ] |
| 1160 } | 1159 } |
| 1161 | 1160 |
| 1162 source_set("neteq_quality_test_support") { | 1161 rtc_source_set("neteq_quality_test_support") { |
| 1163 testonly = true | 1162 testonly = true |
| 1164 sources = [ | 1163 sources = [ |
| 1165 "neteq/tools/neteq_quality_test.cc", | 1164 "neteq/tools/neteq_quality_test.cc", |
| 1166 "neteq/tools/neteq_quality_test.h", | 1165 "neteq/tools/neteq_quality_test.h", |
| 1167 ] | 1166 ] |
| 1168 | 1167 |
| 1169 configs += [ "../..:common_config" ] | 1168 configs += [ "../..:common_config" ] |
| 1170 public_configs = [ "../..:common_inherited_config" ] | 1169 public_configs = [ "../..:common_inherited_config" ] |
| 1171 | 1170 |
| 1172 if (is_clang) { | 1171 if (is_clang) { |
| 1173 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1172 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 1174 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1173 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1175 } | 1174 } |
| 1176 | 1175 |
| 1177 deps = [ | 1176 deps = [ |
| 1178 ":neteq", | 1177 ":neteq", |
| 1179 ":neteq_unittest_tools", | 1178 ":neteq_unittest_tools", |
| 1180 "//testing/gtest", | 1179 "//testing/gtest", |
| 1181 "//third_party/gflags", | 1180 "//third_party/gflags", |
| 1182 ] | 1181 ] |
| 1183 } | 1182 } |
| 1184 | 1183 |
| 1185 config("neteq_unittest_tools_config") { | 1184 config("neteq_unittest_tools_config") { |
| 1186 include_dirs = [ "tools" ] | 1185 include_dirs = [ "tools" ] |
| 1187 } | 1186 } |
| 1188 | 1187 |
| 1189 source_set("neteq_unittest_tools") { | 1188 rtc_source_set("neteq_unittest_tools") { |
| 1190 testonly = true | 1189 testonly = true |
| 1191 sources = [ | 1190 sources = [ |
| 1192 "neteq/tools/audio_checksum.h", | 1191 "neteq/tools/audio_checksum.h", |
| 1193 "neteq/tools/audio_loop.cc", | 1192 "neteq/tools/audio_loop.cc", |
| 1194 "neteq/tools/audio_loop.h", | 1193 "neteq/tools/audio_loop.h", |
| 1195 "neteq/tools/audio_sink.cc", | 1194 "neteq/tools/audio_sink.cc", |
| 1196 "neteq/tools/audio_sink.h", | 1195 "neteq/tools/audio_sink.h", |
| 1197 "neteq/tools/constant_pcm_packet_source.cc", | 1196 "neteq/tools/constant_pcm_packet_source.cc", |
| 1198 "neteq/tools/constant_pcm_packet_source.h", | 1197 "neteq/tools/constant_pcm_packet_source.h", |
| 1199 "neteq/tools/fake_decode_from_file.cc", | 1198 "neteq/tools/fake_decode_from_file.cc", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1222 ] | 1221 ] |
| 1223 | 1222 |
| 1224 configs += [ "../..:common_config" ] | 1223 configs += [ "../..:common_config" ] |
| 1225 public_configs = [ | 1224 public_configs = [ |
| 1226 "../..:common_inherited_config", | 1225 "../..:common_inherited_config", |
| 1227 ":neteq_unittest_tools_config", | 1226 ":neteq_unittest_tools_config", |
| 1228 ] | 1227 ] |
| 1229 | 1228 |
| 1230 if (is_clang) { | 1229 if (is_clang) { |
| 1231 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1230 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 1232 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1231 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1233 } | 1232 } |
| 1234 | 1233 |
| 1235 deps = [ | 1234 deps = [ |
| 1236 "../../common_audio", | 1235 "../../common_audio", |
| 1237 "../../test:rtp_test_utils", | 1236 "../../test:rtp_test_utils", |
| 1238 "../rtp_rtcp", | 1237 "../rtp_rtcp", |
| 1239 ] | 1238 ] |
| 1240 | 1239 |
| 1241 if (rtc_enable_protobuf) { | 1240 if (rtc_enable_protobuf) { |
| 1242 deps += [ ":rtc_event_log_source" ] | 1241 deps += [ ":rtc_event_log_source" ] |
| 1243 } | 1242 } |
| 1244 } | 1243 } |
| 1245 | 1244 |
| 1246 source_set("neteq_test_tools") { | 1245 rtc_source_set("neteq_test_tools") { |
| 1247 testonly = true | 1246 testonly = true |
| 1248 sources = [ | 1247 sources = [ |
| 1249 "neteq/test/NETEQTEST_DummyRTPpacket.cc", | 1248 "neteq/test/NETEQTEST_DummyRTPpacket.cc", |
| 1250 "neteq/test/NETEQTEST_DummyRTPpacket.h", | 1249 "neteq/test/NETEQTEST_DummyRTPpacket.h", |
| 1251 "neteq/test/NETEQTEST_RTPpacket.cc", | 1250 "neteq/test/NETEQTEST_RTPpacket.cc", |
| 1252 "neteq/test/NETEQTEST_RTPpacket.h", | 1251 "neteq/test/NETEQTEST_RTPpacket.h", |
| 1253 ] | 1252 ] |
| 1254 | 1253 |
| 1255 deps = [ | 1254 deps = [ |
| 1256 ":cng", | 1255 ":cng", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 "CODEC_PCM16B_48KHZ", | 1289 "CODEC_PCM16B_48KHZ", |
| 1291 "CODEC_CNGCODEC8", | 1290 "CODEC_CNGCODEC8", |
| 1292 "CODEC_CNGCODEC16", | 1291 "CODEC_CNGCODEC16", |
| 1293 "CODEC_CNGCODEC32", | 1292 "CODEC_CNGCODEC32", |
| 1294 "CODEC_ATEVENT_DECODE", | 1293 "CODEC_ATEVENT_DECODE", |
| 1295 "CODEC_RED", | 1294 "CODEC_RED", |
| 1296 "CODEC_OPUS", | 1295 "CODEC_OPUS", |
| 1297 ] | 1296 ] |
| 1298 } | 1297 } |
| 1299 | 1298 |
| 1300 executable("RTPencode") { | 1299 rtc_executable("RTPencode") { |
| 1301 testonly = true | 1300 testonly = true |
| 1302 | 1301 |
| 1303 deps = [ | 1302 deps = [ |
| 1304 # TODO(hlundin): Make RTPencode use ACM to encode files. | 1303 # TODO(hlundin): Make RTPencode use ACM to encode files. |
| 1305 ":cng", | 1304 ":cng", |
| 1306 ":g711", | 1305 ":g711", |
| 1307 ":g722", | 1306 ":g722", |
| 1308 ":ilbc", | 1307 ":ilbc", |
| 1309 ":isac", | 1308 ":isac", |
| 1310 ":neteq_test_tools", | 1309 ":neteq_test_tools", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1326 ] | 1325 ] |
| 1327 | 1326 |
| 1328 if (is_win) { | 1327 if (is_win) { |
| 1329 cflags = [ | 1328 cflags = [ |
| 1330 # Disable warnings to enable Win64 build, issue 1323. | 1329 # Disable warnings to enable Win64 build, issue 1323. |
| 1331 "/wd4267", # size_t to int truncation | 1330 "/wd4267", # size_t to int truncation |
| 1332 ] | 1331 ] |
| 1333 } | 1332 } |
| 1334 } | 1333 } |
| 1335 | 1334 |
| 1336 executable("RTPchange") { | 1335 rtc_executable("RTPchange") { |
| 1337 testonly = true | 1336 testonly = true |
| 1338 | 1337 |
| 1339 sources = [ | 1338 sources = [ |
| 1340 "neteq/test/RTPchange.cc", | 1339 "neteq/test/RTPchange.cc", |
| 1341 ] | 1340 ] |
| 1342 | 1341 |
| 1343 deps = [ | 1342 deps = [ |
| 1344 ":neteq_test_tools", | 1343 ":neteq_test_tools", |
| 1345 "//build/config/sanitizers:deps", | 1344 "//build/config/sanitizers:deps", |
| 1346 ] | 1345 ] |
| 1347 } | 1346 } |
| 1348 | 1347 |
| 1349 executable("rtpcat") { | 1348 rtc_executable("rtpcat") { |
| 1350 testonly = true | 1349 testonly = true |
| 1351 | 1350 |
| 1352 sources = [ | 1351 sources = [ |
| 1353 "neteq/tools/rtpcat.cc", | 1352 "neteq/tools/rtpcat.cc", |
| 1354 ] | 1353 ] |
| 1355 | 1354 |
| 1356 deps = [ | 1355 deps = [ |
| 1357 "../../system_wrappers:system_wrappers_default", | 1356 "../../system_wrappers:system_wrappers_default", |
| 1358 "../../test:rtp_test_utils", | 1357 "../../test:rtp_test_utils", |
| 1359 "//build/config/sanitizers:deps", | 1358 "//build/config/sanitizers:deps", |
| 1360 "//testing/gtest", | 1359 "//testing/gtest", |
| 1361 ] | 1360 ] |
| 1362 } | 1361 } |
| 1363 | 1362 |
| 1364 executable("RTPtimeshift") { | 1363 rtc_executable("RTPtimeshift") { |
| 1365 testonly = true | 1364 testonly = true |
| 1366 | 1365 |
| 1367 sources = [ | 1366 sources = [ |
| 1368 "neteq/test/RTPtimeshift.cc", | 1367 "neteq/test/RTPtimeshift.cc", |
| 1369 ] | 1368 ] |
| 1370 | 1369 |
| 1371 deps = [ | 1370 deps = [ |
| 1372 ":neteq_test_tools", | 1371 ":neteq_test_tools", |
| 1373 "//build/config/sanitizers:deps", | 1372 "//build/config/sanitizers:deps", |
| 1374 "//testing/gtest", | 1373 "//testing/gtest", |
| 1375 ] | 1374 ] |
| 1376 } | 1375 } |
| 1377 | 1376 |
| 1378 executable("RTPjitter") { | 1377 rtc_executable("RTPjitter") { |
| 1379 testonly = true | 1378 testonly = true |
| 1380 deps = [ | 1379 deps = [ |
| 1381 "../..:webrtc_common", | 1380 "../..:webrtc_common", |
| 1382 "//build/config/sanitizers:deps", | 1381 "//build/config/sanitizers:deps", |
| 1383 "//testing/gtest", | 1382 "//testing/gtest", |
| 1384 ] | 1383 ] |
| 1385 sources = [ | 1384 sources = [ |
| 1386 "neteq/test/RTPjitter.cc", | 1385 "neteq/test/RTPjitter.cc", |
| 1387 ] | 1386 ] |
| 1388 } | 1387 } |
| 1389 | 1388 |
| 1390 executable("rtp_analyze") { | 1389 rtc_executable("rtp_analyze") { |
| 1391 testonly = true | 1390 testonly = true |
| 1392 | 1391 |
| 1393 sources = [ | 1392 sources = [ |
| 1394 "neteq/tools/rtp_analyze.cc", | 1393 "neteq/tools/rtp_analyze.cc", |
| 1395 ] | 1394 ] |
| 1396 | 1395 |
| 1397 deps = [ | 1396 deps = [ |
| 1398 ":neteq", | 1397 ":neteq", |
| 1399 ":neteq_unittest_tools", | 1398 ":neteq_unittest_tools", |
| 1400 ":pcm16b", | 1399 ":pcm16b", |
| 1401 "../../system_wrappers:system_wrappers_default", | 1400 "../../system_wrappers:system_wrappers_default", |
| 1402 "//build/config/sanitizers:deps", | 1401 "//build/config/sanitizers:deps", |
| 1403 "//testing/gtest", | 1402 "//testing/gtest", |
| 1404 "//third_party/gflags:gflags", | 1403 "//third_party/gflags:gflags", |
| 1405 ] | 1404 ] |
| 1406 | 1405 |
| 1407 if (is_clang) { | 1406 if (is_clang) { |
| 1408 # Suppress warnings from Chrome's Clang plugins. | 1407 # Suppress warnings from Chrome's Clang plugins. |
| 1409 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1408 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 1410 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1409 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1411 } | 1410 } |
| 1412 } | 1411 } |
| 1413 | 1412 |
| 1414 executable("neteq_opus_quality_test") { | 1413 rtc_executable("neteq_opus_quality_test") { |
| 1415 testonly = true | 1414 testonly = true |
| 1416 | 1415 |
| 1417 sources = [ | 1416 sources = [ |
| 1418 "neteq/test/neteq_opus_quality_test.cc", | 1417 "neteq/test/neteq_opus_quality_test.cc", |
| 1419 ] | 1418 ] |
| 1420 | 1419 |
| 1421 deps = [ | 1420 deps = [ |
| 1422 ":neteq", | 1421 ":neteq", |
| 1423 ":neteq_quality_test_support", | 1422 ":neteq_quality_test_support", |
| 1424 ":neteq_unittest_tools", | 1423 ":neteq_unittest_tools", |
| 1425 ":webrtc_opus", | 1424 ":webrtc_opus", |
| 1426 "../../test:test_support_main", | 1425 "../../test:test_support_main", |
| 1427 "//build/config/sanitizers:deps", | 1426 "//build/config/sanitizers:deps", |
| 1428 "//testing/gtest", | 1427 "//testing/gtest", |
| 1429 "//third_party/gflags", | 1428 "//third_party/gflags", |
| 1430 ] | 1429 ] |
| 1431 } | 1430 } |
| 1432 | 1431 |
| 1433 executable("neteq_speed_test") { | 1432 rtc_executable("neteq_speed_test") { |
| 1434 testonly = true | 1433 testonly = true |
| 1435 | 1434 |
| 1436 sources = [ | 1435 sources = [ |
| 1437 "neteq/test/neteq_speed_test.cc", | 1436 "neteq/test/neteq_speed_test.cc", |
| 1438 ] | 1437 ] |
| 1439 | 1438 |
| 1440 deps = [ | 1439 deps = [ |
| 1441 ":neteq", | 1440 ":neteq", |
| 1442 ":neteq_test_support", | 1441 ":neteq_test_support", |
| 1443 "../../system_wrappers:system_wrappers_default", | 1442 "../../system_wrappers:system_wrappers_default", |
| 1444 "../../test:test_support", | 1443 "../../test:test_support", |
| 1445 "//build/config/sanitizers:deps", | 1444 "//build/config/sanitizers:deps", |
| 1446 "//third_party/gflags", | 1445 "//third_party/gflags", |
| 1447 ] | 1446 ] |
| 1448 } | 1447 } |
| 1449 | 1448 |
| 1450 executable("audio_classifier_test") { | 1449 rtc_executable("audio_classifier_test") { |
| 1451 testonly = true | 1450 testonly = true |
| 1452 sources = [ | 1451 sources = [ |
| 1453 "neteq/test/audio_classifier_test.cc", | 1452 "neteq/test/audio_classifier_test.cc", |
| 1454 ] | 1453 ] |
| 1455 deps = [ | 1454 deps = [ |
| 1456 ":neteq", | 1455 ":neteq", |
| 1457 ":webrtc_opus", | 1456 ":webrtc_opus", |
| 1458 "../../system_wrappers:system_wrappers_default", | 1457 "../../system_wrappers:system_wrappers_default", |
| 1459 "//build/config/sanitizers:deps", | 1458 "//build/config/sanitizers:deps", |
| 1460 ] | 1459 ] |
| 1461 } | 1460 } |
| 1462 | 1461 |
| 1463 executable("neteq_ilbc_quality_test") { | 1462 rtc_executable("neteq_ilbc_quality_test") { |
| 1464 testonly = true | 1463 testonly = true |
| 1465 | 1464 |
| 1466 sources = [ | 1465 sources = [ |
| 1467 "neteq/test/neteq_ilbc_quality_test.cc", | 1466 "neteq/test/neteq_ilbc_quality_test.cc", |
| 1468 ] | 1467 ] |
| 1469 | 1468 |
| 1470 deps = [ | 1469 deps = [ |
| 1471 ":ilbc", | 1470 ":ilbc", |
| 1472 ":neteq", | 1471 ":neteq", |
| 1473 ":neteq_quality_test_support", | 1472 ":neteq_quality_test_support", |
| 1474 ":neteq_unittest_tools", | 1473 ":neteq_unittest_tools", |
| 1475 "../../system_wrappers:system_wrappers_default", | 1474 "../../system_wrappers:system_wrappers_default", |
| 1476 "../../test:test_support_main", | 1475 "../../test:test_support_main", |
| 1477 "//build/config/sanitizers:deps", | 1476 "//build/config/sanitizers:deps", |
| 1478 "//testing/gtest", | 1477 "//testing/gtest", |
| 1479 "//third_party/gflags", | 1478 "//third_party/gflags", |
| 1480 ] | 1479 ] |
| 1481 } | 1480 } |
| 1482 | 1481 |
| 1483 executable("neteq_isac_quality_test") { | 1482 rtc_executable("neteq_isac_quality_test") { |
| 1484 testonly = true | 1483 testonly = true |
| 1485 | 1484 |
| 1486 sources = [ | 1485 sources = [ |
| 1487 "neteq/test/neteq_isac_quality_test.cc", | 1486 "neteq/test/neteq_isac_quality_test.cc", |
| 1488 ] | 1487 ] |
| 1489 | 1488 |
| 1490 deps = [ | 1489 deps = [ |
| 1491 ":isac_fix", | 1490 ":isac_fix", |
| 1492 ":neteq", | 1491 ":neteq", |
| 1493 ":neteq_quality_test_support", | 1492 ":neteq_quality_test_support", |
| 1494 "../../test:test_support_main", | 1493 "../../test:test_support_main", |
| 1495 "//build/config/sanitizers:deps", | 1494 "//build/config/sanitizers:deps", |
| 1496 "//testing/gtest", | 1495 "//testing/gtest", |
| 1497 "//third_party/gflags", | 1496 "//third_party/gflags", |
| 1498 ] | 1497 ] |
| 1499 } | 1498 } |
| 1500 | 1499 |
| 1501 executable("neteq_pcmu_quality_test") { | 1500 rtc_executable("neteq_pcmu_quality_test") { |
| 1502 testonly = true | 1501 testonly = true |
| 1503 | 1502 |
| 1504 sources = [ | 1503 sources = [ |
| 1505 "neteq/test/neteq_pcmu_quality_test.cc", | 1504 "neteq/test/neteq_pcmu_quality_test.cc", |
| 1506 ] | 1505 ] |
| 1507 | 1506 |
| 1508 deps = [ | 1507 deps = [ |
| 1509 ":g711", | 1508 ":g711", |
| 1510 ":neteq", | 1509 ":neteq", |
| 1511 ":neteq_quality_test_support", | 1510 ":neteq_quality_test_support", |
| 1512 "../../test:test_support_main", | 1511 "../../test:test_support_main", |
| 1513 "//build/config/sanitizers:deps", | 1512 "//build/config/sanitizers:deps", |
| 1514 "//testing/gtest", | 1513 "//testing/gtest", |
| 1515 "//third_party/gflags", | 1514 "//third_party/gflags", |
| 1516 ] | 1515 ] |
| 1517 } | 1516 } |
| 1518 | 1517 |
| 1519 executable("isac_fix_test") { | 1518 rtc_executable("isac_fix_test") { |
| 1520 testonly = true | 1519 testonly = true |
| 1521 | 1520 |
| 1522 sources = [ | 1521 sources = [ |
| 1523 "codecs/isac/fix/test/kenny.cc", | 1522 "codecs/isac/fix/test/kenny.cc", |
| 1524 ] | 1523 ] |
| 1525 | 1524 |
| 1526 deps = [ | 1525 deps = [ |
| 1527 ":isac_fix", | 1526 ":isac_fix", |
| 1528 "../../test:test_support", | 1527 "../../test:test_support", |
| 1529 "//build/config/sanitizers:deps", | 1528 "//build/config/sanitizers:deps", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1540 config("isac_test_warnings_config") { | 1539 config("isac_test_warnings_config") { |
| 1541 if (is_win && is_clang) { | 1540 if (is_win && is_clang) { |
| 1542 cflags = [ | 1541 cflags = [ |
| 1543 # Disable warnings failing when compiling with Clang on Windows. | 1542 # Disable warnings failing when compiling with Clang on Windows. |
| 1544 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | 1543 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 1545 "-Wno-format", | 1544 "-Wno-format", |
| 1546 ] | 1545 ] |
| 1547 } | 1546 } |
| 1548 } | 1547 } |
| 1549 | 1548 |
| 1550 executable("isac_test") { | 1549 rtc_executable("isac_test") { |
| 1551 testonly = true | 1550 testonly = true |
| 1552 | 1551 |
| 1553 sources = [ | 1552 sources = [ |
| 1554 "codecs/isac/main/test/simpleKenny.c", | 1553 "codecs/isac/main/test/simpleKenny.c", |
| 1555 "codecs/isac/main/util/utility.c", | 1554 "codecs/isac/main/util/utility.c", |
| 1556 ] | 1555 ] |
| 1557 | 1556 |
| 1558 include_dirs = [ | 1557 include_dirs = [ |
| 1559 "codecs/isac/main/include", | 1558 "codecs/isac/main/include", |
| 1560 "codecs/isac/main/test", | 1559 "codecs/isac/main/test", |
| 1561 "codecs/isac/main/util", | 1560 "codecs/isac/main/util", |
| 1562 ] | 1561 ] |
| 1563 | 1562 |
| 1564 deps = [ | 1563 deps = [ |
| 1565 ":isac", | 1564 ":isac", |
| 1566 "../../base:rtc_base_approved", | 1565 "../../base:rtc_base_approved", |
| 1567 "//build/config/sanitizers:deps", | 1566 "//build/config/sanitizers:deps", |
| 1568 ] | 1567 ] |
| 1569 | 1568 |
| 1570 configs += [ ":isac_test_warnings_config" ] | 1569 configs += [ ":isac_test_warnings_config" ] |
| 1571 } | 1570 } |
| 1572 | 1571 |
| 1573 executable("g711_test") { | 1572 rtc_executable("g711_test") { |
| 1574 testonly = true | 1573 testonly = true |
| 1575 | 1574 |
| 1576 sources = [ | 1575 sources = [ |
| 1577 "codecs/g711/test/testG711.cc", | 1576 "codecs/g711/test/testG711.cc", |
| 1578 ] | 1577 ] |
| 1579 | 1578 |
| 1580 configs += [ "../..:common_config" ] | 1579 configs += [ "../..:common_config" ] |
| 1581 public_configs = [ "../..:common_inherited_config" ] | 1580 public_configs = [ "../..:common_inherited_config" ] |
| 1582 | 1581 |
| 1583 deps = [ | 1582 deps = [ |
| 1584 ":g711", | 1583 ":g711", |
| 1585 "//build/config/sanitizers:deps", | 1584 "//build/config/sanitizers:deps", |
| 1586 ] | 1585 ] |
| 1587 } | 1586 } |
| 1588 | 1587 |
| 1589 executable("g722_test") { | 1588 rtc_executable("g722_test") { |
| 1590 testonly = true | 1589 testonly = true |
| 1591 | 1590 |
| 1592 sources = [ | 1591 sources = [ |
| 1593 "codecs/g722/test/testG722.cc", | 1592 "codecs/g722/test/testG722.cc", |
| 1594 ] | 1593 ] |
| 1595 | 1594 |
| 1596 configs += [ "../..:common_config" ] | 1595 configs += [ "../..:common_config" ] |
| 1597 public_configs = [ "../..:common_inherited_config" ] | 1596 public_configs = [ "../..:common_inherited_config" ] |
| 1598 | 1597 |
| 1599 deps = [ | 1598 deps = [ |
| 1600 ":g722", | 1599 ":g722", |
| 1601 "../..:webrtc_common", | 1600 "../..:webrtc_common", |
| 1602 "//build/config/sanitizers:deps", | 1601 "//build/config/sanitizers:deps", |
| 1603 ] | 1602 ] |
| 1604 } | 1603 } |
| 1605 | 1604 |
| 1606 executable("isac_api_test") { | 1605 rtc_executable("isac_api_test") { |
| 1607 testonly = true | 1606 testonly = true |
| 1608 | 1607 |
| 1609 sources = [ | 1608 sources = [ |
| 1610 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", | 1609 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", |
| 1611 "codecs/isac/main/util/utility.c", | 1610 "codecs/isac/main/util/utility.c", |
| 1612 ] | 1611 ] |
| 1613 | 1612 |
| 1614 configs += [ "../..:common_config" ] | 1613 configs += [ "../..:common_config" ] |
| 1615 public_configs = [ "../..:common_inherited_config" ] | 1614 public_configs = [ "../..:common_inherited_config" ] |
| 1616 | 1615 |
| 1617 deps = [ | 1616 deps = [ |
| 1618 ":isac", | 1617 ":isac", |
| 1619 "../../base:rtc_base_approved", | 1618 "../../base:rtc_base_approved", |
| 1620 "//build/config/sanitizers:deps", | 1619 "//build/config/sanitizers:deps", |
| 1621 ] | 1620 ] |
| 1622 | 1621 |
| 1623 include_dirs = [ | 1622 include_dirs = [ |
| 1624 "codecs/isac/main/include", | 1623 "codecs/isac/main/include", |
| 1625 "codecs/isac/main/test", | 1624 "codecs/isac/main/test", |
| 1626 "codecs/isac/main/util", | 1625 "codecs/isac/main/util", |
| 1627 ] | 1626 ] |
| 1628 } | 1627 } |
| 1629 | 1628 |
| 1630 executable("isac_switch_samprate_test") { | 1629 rtc_executable("isac_switch_samprate_test") { |
| 1631 testonly = true | 1630 testonly = true |
| 1632 | 1631 |
| 1633 sources = [ | 1632 sources = [ |
| 1634 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", | 1633 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", |
| 1635 "codecs/isac/main/util/utility.c", | 1634 "codecs/isac/main/util/utility.c", |
| 1636 ] | 1635 ] |
| 1637 | 1636 |
| 1638 configs += [ "../..:common_config" ] | 1637 configs += [ "../..:common_config" ] |
| 1639 public_configs = [ "../..:common_inherited_config" ] | 1638 public_configs = [ "../..:common_inherited_config" ] |
| 1640 | 1639 |
| 1641 deps = [ | 1640 deps = [ |
| 1642 ":isac", | 1641 ":isac", |
| 1643 "//build/config/sanitizers:deps", | 1642 "//build/config/sanitizers:deps", |
| 1644 ] | 1643 ] |
| 1645 | 1644 |
| 1646 include_dirs = [ | 1645 include_dirs = [ |
| 1647 "codecs/isac/main/include", | 1646 "codecs/isac/main/include", |
| 1648 "codecs/isac/main/test", | 1647 "codecs/isac/main/test", |
| 1649 "codecs/isac/main/util", | 1648 "codecs/isac/main/util", |
| 1650 "../../common_audio/signal_processing/include", | 1649 "../../common_audio/signal_processing/include", |
| 1651 ] | 1650 ] |
| 1652 } | 1651 } |
| 1653 | 1652 |
| 1654 executable("ilbc_test") { | 1653 rtc_executable("ilbc_test") { |
| 1655 testonly = true | 1654 testonly = true |
| 1656 | 1655 |
| 1657 sources = [ | 1656 sources = [ |
| 1658 "codecs/ilbc/test/iLBC_test.c", | 1657 "codecs/ilbc/test/iLBC_test.c", |
| 1659 ] | 1658 ] |
| 1660 | 1659 |
| 1661 configs += [ "../..:common_config" ] | 1660 configs += [ "../..:common_config" ] |
| 1662 public_configs = [ "../..:common_inherited_config" ] | 1661 public_configs = [ "../..:common_inherited_config" ] |
| 1663 | 1662 |
| 1664 deps = [ | 1663 deps = [ |
| 1665 ":ilbc", | 1664 ":ilbc", |
| 1666 "//build/config/sanitizers:deps", | 1665 "//build/config/sanitizers:deps", |
| 1667 ] | 1666 ] |
| 1668 } | 1667 } |
| 1669 | 1668 |
| 1670 executable("webrtc_opus_fec_test") { | 1669 rtc_executable("webrtc_opus_fec_test") { |
| 1671 testonly = true | 1670 testonly = true |
| 1672 | 1671 |
| 1673 sources = [ | 1672 sources = [ |
| 1674 "codecs/opus/opus_fec_test.cc", | 1673 "codecs/opus/opus_fec_test.cc", |
| 1675 ] | 1674 ] |
| 1676 | 1675 |
| 1677 deps = [ | 1676 deps = [ |
| 1678 ":webrtc_opus", | 1677 ":webrtc_opus", |
| 1679 "../../base:rtc_base_approved", | 1678 "../../base:rtc_base_approved", |
| 1680 "../../common_audio", | 1679 "../../common_audio", |
| 1681 "../../test:test_support", | 1680 "../../test:test_support", |
| 1682 "../../test:test_support_main", | 1681 "../../test:test_support_main", |
| 1683 "//build/config/sanitizers:deps", | 1682 "//build/config/sanitizers:deps", |
| 1684 "//testing/gtest", | 1683 "//testing/gtest", |
| 1685 ] | 1684 ] |
| 1686 | 1685 |
| 1687 if (is_clang) { | 1686 if (is_clang) { |
| 1688 # Suppress warnings from Chrome's Clang plugins. | 1687 # Suppress warnings from Chrome's Clang plugins. |
| 1689 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1688 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 1690 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1689 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 1691 } | 1690 } |
| 1692 } | 1691 } |
| 1693 } | 1692 } |
| OLD | NEW |