| 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") |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ":audio_format", | 70 ":audio_format", |
| 71 | 71 |
| 72 # TODO(charujain): Clean this dependency when downstream projects are | 72 # TODO(charujain): Clean this dependency when downstream projects are |
| 73 # updated to properly depend on audio_format_conversion target. | 73 # updated to properly depend on audio_format_conversion target. |
| 74 ":audio_format_conversion", | 74 ":audio_format_conversion", |
| 75 "../../base:rtc_base_approved", | 75 "../../base:rtc_base_approved", |
| 76 ] | 76 ] |
| 77 } | 77 } |
| 78 | 78 |
| 79 rtc_static_library("builtin_audio_decoder_factory") { | 79 rtc_static_library("builtin_audio_decoder_factory") { |
| 80 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 81 # Errors on cyclic dependency with :isac_fix if enabled. |
| 82 check_includes = false |
| 83 |
| 80 sources = [ | 84 sources = [ |
| 81 "codecs/builtin_audio_decoder_factory.cc", | 85 "codecs/builtin_audio_decoder_factory.cc", |
| 82 "codecs/builtin_audio_decoder_factory.h", | 86 "codecs/builtin_audio_decoder_factory.h", |
| 83 ] | 87 ] |
| 84 deps = [ | 88 deps = [ |
| 85 "../..:webrtc_common", | 89 "../..:webrtc_common", |
| 90 "../../base:rtc_base_approved", |
| 86 ":audio_decoder_factory_interface", | 91 ":audio_decoder_factory_interface", |
| 87 ] + audio_codec_deps | 92 ] + audio_codec_deps |
| 88 defines = audio_codec_defines | 93 defines = audio_codec_defines |
| 89 } | 94 } |
| 90 | 95 |
| 91 rtc_static_library("rent_a_codec") { | 96 rtc_static_library("rent_a_codec") { |
| 97 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 98 # Gives cyclic dependency with :neteq and :audio_coding if enabled. |
| 99 check_includes = false |
| 100 |
| 92 sources = [ | 101 sources = [ |
| 93 "acm2/acm_codec_database.cc", | 102 "acm2/acm_codec_database.cc", |
| 94 "acm2/acm_codec_database.h", | 103 "acm2/acm_codec_database.h", |
| 95 "acm2/rent_a_codec.cc", | 104 "acm2/rent_a_codec.cc", |
| 96 "acm2/rent_a_codec.h", | 105 "acm2/rent_a_codec.h", |
| 97 ] | 106 ] |
| 98 deps = [ "../..:webrtc_common" ] + audio_codec_deps | 107 deps = [ |
| 108 ":audio_decoder_interface", |
| 109 "../..:webrtc_common", |
| 110 "../../base:rtc_base_approved", |
| 111 ] + audio_codec_deps |
| 99 defines = audio_codec_defines | 112 defines = audio_codec_defines |
| 100 } | 113 } |
| 101 | 114 |
| 102 config("audio_coding_config") { | 115 config("audio_coding_config") { |
| 103 include_dirs = [ | 116 include_dirs = [ |
| 104 "include", | 117 "include", |
| 105 "../include", | 118 "../include", |
| 106 ] | 119 ] |
| 107 } | 120 } |
| 108 | 121 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 133 } | 146 } |
| 134 | 147 |
| 135 if (is_win) { | 148 if (is_win) { |
| 136 cflags = [ | 149 cflags = [ |
| 137 # TODO(kjellander): Bug 261: fix this warning. | 150 # TODO(kjellander): Bug 261: fix this warning. |
| 138 "/wd4373", # virtual function override. | 151 "/wd4373", # virtual function override. |
| 139 ] | 152 ] |
| 140 } | 153 } |
| 141 | 154 |
| 142 deps = audio_coding_deps + [ | 155 deps = audio_coding_deps + [ |
| 156 ":audio_decoder_interface", |
| 157 ":audio_decoder_factory_interface", |
| 158 ":builtin_audio_decoder_factory", |
| 143 ":neteq", | 159 ":neteq", |
| 144 ":rent_a_codec", | 160 ":rent_a_codec", |
| 161 "../../base:rtc_base_approved", |
| 145 "../../logging:rtc_event_log_api", | 162 "../../logging:rtc_event_log_api", |
| 146 ] | 163 ] |
| 147 defines = audio_coding_defines | 164 defines = audio_coding_defines |
| 148 } | 165 } |
| 149 | 166 |
| 150 rtc_static_library("audio_decoder_interface") { | 167 rtc_static_library("audio_decoder_interface") { |
| 151 sources = [ | 168 sources = [ |
| 152 "codecs/audio_decoder.cc", | 169 "codecs/audio_decoder.cc", |
| 153 "codecs/audio_decoder.h", | 170 "codecs/audio_decoder.h", |
| 154 "codecs/legacy_encoded_audio_frame.cc", | 171 "codecs/legacy_encoded_audio_frame.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 183 "codecs/cng/audio_encoder_cng.cc", | 200 "codecs/cng/audio_encoder_cng.cc", |
| 184 "codecs/cng/audio_encoder_cng.h", | 201 "codecs/cng/audio_encoder_cng.h", |
| 185 "codecs/cng/webrtc_cng.cc", | 202 "codecs/cng/webrtc_cng.cc", |
| 186 "codecs/cng/webrtc_cng.h", | 203 "codecs/cng/webrtc_cng.h", |
| 187 ] | 204 ] |
| 188 | 205 |
| 189 public_configs = [ ":cng_config" ] | 206 public_configs = [ ":cng_config" ] |
| 190 | 207 |
| 191 deps = [ | 208 deps = [ |
| 192 ":audio_encoder_interface", | 209 ":audio_encoder_interface", |
| 210 "../..:webrtc_common", |
| 211 "../../base:rtc_base_approved", |
| 193 "../../common_audio", | 212 "../../common_audio", |
| 194 ] | 213 ] |
| 195 } | 214 } |
| 196 | 215 |
| 197 config("red_config") { | 216 config("red_config") { |
| 198 include_dirs = [ "codecs/red" ] | 217 include_dirs = [ "codecs/red" ] |
| 199 } | 218 } |
| 200 | 219 |
| 201 rtc_static_library("red") { | 220 rtc_static_library("red") { |
| 202 sources = [ | 221 sources = [ |
| 203 "codecs/red/audio_encoder_copy_red.cc", | 222 "codecs/red/audio_encoder_copy_red.cc", |
| 204 "codecs/red/audio_encoder_copy_red.h", | 223 "codecs/red/audio_encoder_copy_red.h", |
| 205 ] | 224 ] |
| 206 | 225 |
| 207 public_configs = [ ":red_config" ] | 226 public_configs = [ ":red_config" ] |
| 208 | 227 |
| 209 deps = [ | 228 deps = [ |
| 210 ":audio_encoder_interface", | 229 ":audio_encoder_interface", |
| 230 "../../base:rtc_base_approved", |
| 211 "../../common_audio", | 231 "../../common_audio", |
| 212 ] | 232 ] |
| 213 } | 233 } |
| 214 | 234 |
| 215 config("g711_config") { | 235 config("g711_config") { |
| 216 include_dirs = [ | 236 include_dirs = [ |
| 217 "../../..", | 237 "../../..", |
| 218 "codecs/g711/include", | 238 "codecs/g711/include", |
| 219 ] | 239 ] |
| 220 } | 240 } |
| 221 | 241 |
| 222 rtc_static_library("g711") { | 242 rtc_static_library("g711") { |
| 223 sources = [ | 243 sources = [ |
| 224 "codecs/g711/audio_decoder_pcm.cc", | 244 "codecs/g711/audio_decoder_pcm.cc", |
| 225 "codecs/g711/audio_decoder_pcm.h", | 245 "codecs/g711/audio_decoder_pcm.h", |
| 226 "codecs/g711/audio_encoder_pcm.cc", | 246 "codecs/g711/audio_encoder_pcm.cc", |
| 227 "codecs/g711/audio_encoder_pcm.h", | 247 "codecs/g711/audio_encoder_pcm.h", |
| 228 ] | 248 ] |
| 229 | 249 |
| 230 public_configs = [ ":g711_config" ] | 250 public_configs = [ ":g711_config" ] |
| 231 | 251 |
| 232 deps = [ | 252 deps = [ |
| 233 ":audio_decoder_interface", | 253 ":audio_decoder_interface", |
| 234 ":audio_encoder_interface", | 254 ":audio_encoder_interface", |
| 255 "../..:webrtc_common", |
| 256 "../../base:rtc_base_approved", |
| 235 ] | 257 ] |
| 236 public_deps = [ | 258 public_deps = [ |
| 237 ":g711_c", | 259 ":g711_c", |
| 238 ] | 260 ] |
| 239 } | 261 } |
| 240 | 262 |
| 241 rtc_source_set("g711_c") { | 263 rtc_source_set("g711_c") { |
| 242 visibility = [ ":*" ] # Only targets in this file can depend on this. | 264 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 243 sources = [ | 265 sources = [ |
| 244 "codecs/g711/g711.c", | 266 "codecs/g711/g711.c", |
| 245 "codecs/g711/g711.h", | 267 "codecs/g711/g711.h", |
| 246 "codecs/g711/g711_interface.c", | 268 "codecs/g711/g711_interface.c", |
| 247 "codecs/g711/g711_interface.h", | 269 "codecs/g711/g711_interface.h", |
| 248 ] | 270 ] |
| 271 deps = [ |
| 272 "../..:webrtc_common", |
| 273 ] |
| 249 } | 274 } |
| 250 | 275 |
| 251 config("g722_config") { | 276 config("g722_config") { |
| 252 include_dirs = [ | 277 include_dirs = [ |
| 253 "../../..", | 278 "../../..", |
| 254 "codecs/g722/include", | 279 "codecs/g722/include", |
| 255 ] | 280 ] |
| 256 } | 281 } |
| 257 | 282 |
| 258 rtc_static_library("g722") { | 283 rtc_static_library("g722") { |
| 259 sources = [ | 284 sources = [ |
| 260 "codecs/g722/audio_decoder_g722.cc", | 285 "codecs/g722/audio_decoder_g722.cc", |
| 261 "codecs/g722/audio_decoder_g722.h", | 286 "codecs/g722/audio_decoder_g722.h", |
| 262 "codecs/g722/audio_encoder_g722.cc", | 287 "codecs/g722/audio_encoder_g722.cc", |
| 263 "codecs/g722/audio_encoder_g722.h", | 288 "codecs/g722/audio_encoder_g722.h", |
| 264 ] | 289 ] |
| 265 | 290 |
| 266 public_configs = [ ":g722_config" ] | 291 public_configs = [ ":g722_config" ] |
| 267 | 292 |
| 268 deps = [ | 293 deps = [ |
| 269 ":audio_decoder_interface", | 294 ":audio_decoder_interface", |
| 270 ":audio_encoder_interface", | 295 ":audio_encoder_interface", |
| 296 "../..:webrtc_common", |
| 297 "../../base:rtc_base_approved", |
| 271 ] | 298 ] |
| 272 public_deps = [ | 299 public_deps = [ |
| 273 ":g722_c", | 300 ":g722_c", |
| 274 ] | 301 ] |
| 275 } | 302 } |
| 276 | 303 |
| 277 rtc_source_set("g722_c") { | 304 rtc_source_set("g722_c") { |
| 278 visibility = [ ":*" ] # Only targets in this file can depend on this. | 305 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 279 sources = [ | 306 sources = [ |
| 280 "codecs/g722/g722_decode.c", | 307 "codecs/g722/g722_decode.c", |
| 281 "codecs/g722/g722_enc_dec.h", | 308 "codecs/g722/g722_enc_dec.h", |
| 282 "codecs/g722/g722_encode.c", | 309 "codecs/g722/g722_encode.c", |
| 283 "codecs/g722/g722_interface.c", | 310 "codecs/g722/g722_interface.c", |
| 284 "codecs/g722/g722_interface.h", | 311 "codecs/g722/g722_interface.h", |
| 285 ] | 312 ] |
| 313 deps = [ |
| 314 "../..:webrtc_common", |
| 315 ] |
| 286 } | 316 } |
| 287 | 317 |
| 288 config("ilbc_config") { | 318 config("ilbc_config") { |
| 289 include_dirs = [ | 319 include_dirs = [ |
| 290 "../../..", | 320 "../../..", |
| 291 "codecs/ilbc/include", | 321 "codecs/ilbc/include", |
| 292 ] | 322 ] |
| 293 } | 323 } |
| 294 | 324 |
| 295 rtc_static_library("ilbc") { | 325 rtc_static_library("ilbc") { |
| 296 sources = [ | 326 sources = [ |
| 297 "codecs/ilbc/audio_decoder_ilbc.cc", | 327 "codecs/ilbc/audio_decoder_ilbc.cc", |
| 298 "codecs/ilbc/audio_decoder_ilbc.h", | 328 "codecs/ilbc/audio_decoder_ilbc.h", |
| 299 "codecs/ilbc/audio_encoder_ilbc.cc", | 329 "codecs/ilbc/audio_encoder_ilbc.cc", |
| 300 "codecs/ilbc/audio_encoder_ilbc.h", | 330 "codecs/ilbc/audio_encoder_ilbc.h", |
| 301 ] | 331 ] |
| 302 | 332 |
| 303 public_configs = [ ":ilbc_config" ] | 333 public_configs = [ ":ilbc_config" ] |
| 304 | 334 |
| 305 deps = [ | 335 deps = [ |
| 306 ":audio_decoder_interface", | 336 ":audio_decoder_interface", |
| 307 ":audio_encoder_interface", | 337 ":audio_encoder_interface", |
| 338 "../..:webrtc_common", |
| 308 "../../base:rtc_base_approved", | 339 "../../base:rtc_base_approved", |
| 309 "../../common_audio", | 340 "../../common_audio", |
| 310 ] | 341 ] |
| 311 public_deps = [ | 342 public_deps = [ |
| 312 ":ilbc_c", | 343 ":ilbc_c", |
| 313 ] | 344 ] |
| 314 } | 345 } |
| 315 | 346 |
| 316 rtc_source_set("ilbc_c") { | 347 rtc_source_set("ilbc_c") { |
| 317 visibility = [ ":*" ] # Only targets in this file can depend on this. | 348 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 "codecs/ilbc/vq4.h", | 484 "codecs/ilbc/vq4.h", |
| 454 "codecs/ilbc/window32_w32.c", | 485 "codecs/ilbc/window32_w32.c", |
| 455 "codecs/ilbc/window32_w32.h", | 486 "codecs/ilbc/window32_w32.h", |
| 456 "codecs/ilbc/xcorr_coef.c", | 487 "codecs/ilbc/xcorr_coef.c", |
| 457 "codecs/ilbc/xcorr_coef.h", | 488 "codecs/ilbc/xcorr_coef.h", |
| 458 ] | 489 ] |
| 459 | 490 |
| 460 public_configs = [ ":ilbc_config" ] | 491 public_configs = [ ":ilbc_config" ] |
| 461 | 492 |
| 462 deps = [ | 493 deps = [ |
| 494 ":audio_decoder_interface", |
| 495 ":audio_encoder_interface", |
| 496 "../..:webrtc_common", |
| 497 "../../base:rtc_base_approved", |
| 463 "../../common_audio", | 498 "../../common_audio", |
| 464 ] | 499 ] |
| 465 } | 500 } |
| 466 | 501 |
| 467 rtc_static_library("isac_common") { | 502 rtc_static_library("isac_common") { |
| 503 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 504 # Has a cyclic dependency with :isac if checks are enabled. |
| 505 check_includes = false |
| 506 |
| 468 sources = [ | 507 sources = [ |
| 469 "codecs/isac/audio_encoder_isac_t.h", | 508 "codecs/isac/audio_encoder_isac_t.h", |
| 470 "codecs/isac/audio_encoder_isac_t_impl.h", | 509 "codecs/isac/audio_encoder_isac_t_impl.h", |
| 471 "codecs/isac/locked_bandwidth_info.cc", | 510 "codecs/isac/locked_bandwidth_info.cc", |
| 472 "codecs/isac/locked_bandwidth_info.h", | 511 "codecs/isac/locked_bandwidth_info.h", |
| 473 ] | 512 ] |
| 513 deps = [ |
| 514 ":audio_encoder_interface", |
| 515 "../../base:rtc_base_approved", |
| 516 ] |
| 474 } | 517 } |
| 475 | 518 |
| 476 config("isac_config") { | 519 config("isac_config") { |
| 477 include_dirs = [ | 520 include_dirs = [ |
| 478 "../../..", | 521 "../../..", |
| 479 "codecs/isac/main/include", | 522 "codecs/isac/main/include", |
| 480 ] | 523 ] |
| 481 } | 524 } |
| 482 | 525 |
| 483 rtc_static_library("isac") { | 526 rtc_static_library("isac") { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 "codecs/isac/main/source/transform.c", | 596 "codecs/isac/main/source/transform.c", |
| 554 ] | 597 ] |
| 555 | 598 |
| 556 if (is_linux) { | 599 if (is_linux) { |
| 557 libs = [ "m" ] | 600 libs = [ "m" ] |
| 558 } | 601 } |
| 559 | 602 |
| 560 public_configs = [ ":isac_config" ] | 603 public_configs = [ ":isac_config" ] |
| 561 | 604 |
| 562 deps = [ | 605 deps = [ |
| 606 ":isac_common", |
| 563 "../..:webrtc_common", | 607 "../..:webrtc_common", |
| 564 "../../base:rtc_base_approved", | 608 "../../base:rtc_base_approved", |
| 565 "../../common_audio", | 609 "../../common_audio", |
| 566 ] | 610 ] |
| 567 } | 611 } |
| 568 | 612 |
| 569 config("isac_fix_config") { | 613 config("isac_fix_config") { |
| 570 include_dirs = [ | 614 include_dirs = [ |
| 571 "../../..", | 615 "../../..", |
| 572 "codecs/isac/fix/include", | 616 "codecs/isac/fix/include", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 591 public_deps = [ | 635 public_deps = [ |
| 592 ":isac_fix_c", | 636 ":isac_fix_c", |
| 593 ] | 637 ] |
| 594 | 638 |
| 595 if (rtc_build_with_neon) { | 639 if (rtc_build_with_neon) { |
| 596 deps += [ ":isac_neon" ] | 640 deps += [ ":isac_neon" ] |
| 597 } | 641 } |
| 598 } | 642 } |
| 599 | 643 |
| 600 rtc_source_set("isac_fix_c") { | 644 rtc_source_set("isac_fix_c") { |
| 645 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 646 # Errors on cyclic dependency with :builtin_audio_decoder_factory if enabled. |
| 647 check_includes = false |
| 648 |
| 601 visibility = [ ":*" ] # Only targets in this file can depend on this. | 649 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 602 sources = [ | 650 sources = [ |
| 603 "codecs/isac/fix/include/audio_decoder_isacfix.h", | 651 "codecs/isac/fix/include/audio_decoder_isacfix.h", |
| 604 "codecs/isac/fix/include/audio_encoder_isacfix.h", | 652 "codecs/isac/fix/include/audio_encoder_isacfix.h", |
| 605 "codecs/isac/fix/include/isacfix.h", | 653 "codecs/isac/fix/include/isacfix.h", |
| 606 "codecs/isac/fix/source/arith_routines.c", | 654 "codecs/isac/fix/source/arith_routines.c", |
| 607 "codecs/isac/fix/source/arith_routines_hist.c", | 655 "codecs/isac/fix/source/arith_routines_hist.c", |
| 608 "codecs/isac/fix/source/arith_routines_logist.c", | 656 "codecs/isac/fix/source/arith_routines_logist.c", |
| 609 "codecs/isac/fix/source/arith_routins.h", | 657 "codecs/isac/fix/source/arith_routins.h", |
| 610 "codecs/isac/fix/source/bandwidth_estimator.c", | 658 "codecs/isac/fix/source/bandwidth_estimator.c", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 "codecs/isac/fix/source/settings.h", | 691 "codecs/isac/fix/source/settings.h", |
| 644 "codecs/isac/fix/source/spectrum_ar_model_tables.c", | 692 "codecs/isac/fix/source/spectrum_ar_model_tables.c", |
| 645 "codecs/isac/fix/source/spectrum_ar_model_tables.h", | 693 "codecs/isac/fix/source/spectrum_ar_model_tables.h", |
| 646 "codecs/isac/fix/source/structs.h", | 694 "codecs/isac/fix/source/structs.h", |
| 647 "codecs/isac/fix/source/transform.c", | 695 "codecs/isac/fix/source/transform.c", |
| 648 "codecs/isac/fix/source/transform_tables.c", | 696 "codecs/isac/fix/source/transform_tables.c", |
| 649 ] | 697 ] |
| 650 | 698 |
| 651 public_configs = [ ":isac_fix_config" ] | 699 public_configs = [ ":isac_fix_config" ] |
| 652 | 700 |
| 701 deps = [ |
| 702 ":audio_decoder_interface", |
| 703 ":audio_encoder_interface", |
| 704 ":isac_common", |
| 705 "../..:webrtc_common", |
| 706 "../../base:rtc_base_approved", |
| 707 "../../common_audio", |
| 708 "../../system_wrappers", |
| 709 ] |
| 710 |
| 653 if (current_cpu == "arm" && arm_version >= 7) { | 711 if (current_cpu == "arm" && arm_version >= 7) { |
| 654 sources += [ | 712 sources += [ |
| 655 "codecs/isac/fix/source/lattice_armv7.S", | 713 "codecs/isac/fix/source/lattice_armv7.S", |
| 656 "codecs/isac/fix/source/pitch_filter_armv6.S", | 714 "codecs/isac/fix/source/pitch_filter_armv6.S", |
| 657 ] | 715 ] |
| 658 sources -= [ | 716 sources -= [ |
| 659 "codecs/isac/fix/source/lattice_c.c", | 717 "codecs/isac/fix/source/lattice_c.c", |
| 660 "codecs/isac/fix/source/pitch_filter_c.c", | 718 "codecs/isac/fix/source/pitch_filter_c.c", |
| 661 ] | 719 ] |
| 662 } | 720 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 677 sources += [ "codecs/isac/fix/source/filterbanks_mips.c" ] | 735 sources += [ "codecs/isac/fix/source/filterbanks_mips.c" ] |
| 678 } | 736 } |
| 679 if (mips_dsp_rev > 1) { | 737 if (mips_dsp_rev > 1) { |
| 680 sources += [ | 738 sources += [ |
| 681 "codecs/isac/fix/source/lpc_masking_model_mips.c", | 739 "codecs/isac/fix/source/lpc_masking_model_mips.c", |
| 682 "codecs/isac/fix/source/pitch_filter_mips.c", | 740 "codecs/isac/fix/source/pitch_filter_mips.c", |
| 683 ] | 741 ] |
| 684 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] | 742 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] |
| 685 } | 743 } |
| 686 } | 744 } |
| 687 | |
| 688 deps = [ | |
| 689 "../../common_audio", | |
| 690 ] | |
| 691 } | 745 } |
| 692 | 746 |
| 693 if (rtc_build_with_neon) { | 747 if (rtc_build_with_neon) { |
| 694 rtc_static_library("isac_neon") { | 748 rtc_static_library("isac_neon") { |
| 695 sources = [ | 749 sources = [ |
| 696 "codecs/isac/fix/source/entropy_coding_neon.c", | 750 "codecs/isac/fix/source/entropy_coding_neon.c", |
| 697 "codecs/isac/fix/source/filterbanks_neon.c", | 751 "codecs/isac/fix/source/filterbanks_neon.c", |
| 698 "codecs/isac/fix/source/filters_neon.c", | 752 "codecs/isac/fix/source/filters_neon.c", |
| 699 "codecs/isac/fix/source/lattice_neon.c", | 753 "codecs/isac/fix/source/lattice_neon.c", |
| 700 "codecs/isac/fix/source/transform_neon.c", | 754 "codecs/isac/fix/source/transform_neon.c", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 711 # Disable LTO on NEON targets due to compiler bug. | 765 # Disable LTO on NEON targets due to compiler bug. |
| 712 # TODO(fdegans): Enable this. See crbug.com/408997. | 766 # TODO(fdegans): Enable this. See crbug.com/408997. |
| 713 if (rtc_use_lto) { | 767 if (rtc_use_lto) { |
| 714 cflags -= [ | 768 cflags -= [ |
| 715 "-flto", | 769 "-flto", |
| 716 "-ffat-lto-objects", | 770 "-ffat-lto-objects", |
| 717 ] | 771 ] |
| 718 } | 772 } |
| 719 | 773 |
| 720 deps = [ | 774 deps = [ |
| 775 ":isac_fix_c", |
| 776 "../../base:rtc_base_approved", |
| 721 "../../common_audio", | 777 "../../common_audio", |
| 722 ] | 778 ] |
| 723 } | 779 } |
| 724 } | 780 } |
| 725 | 781 |
| 726 config("pcm16b_config") { | 782 config("pcm16b_config") { |
| 727 include_dirs = [ | 783 include_dirs = [ |
| 728 "../../..", | 784 "../../..", |
| 729 "codecs/pcm16b/include", | 785 "codecs/pcm16b/include", |
| 730 ] | 786 ] |
| 731 } | 787 } |
| 732 | 788 |
| 733 rtc_static_library("pcm16b") { | 789 rtc_static_library("pcm16b") { |
| 734 sources = [ | 790 sources = [ |
| 735 "codecs/pcm16b/audio_decoder_pcm16b.cc", | 791 "codecs/pcm16b/audio_decoder_pcm16b.cc", |
| 736 "codecs/pcm16b/audio_decoder_pcm16b.h", | 792 "codecs/pcm16b/audio_decoder_pcm16b.h", |
| 737 "codecs/pcm16b/audio_encoder_pcm16b.cc", | 793 "codecs/pcm16b/audio_encoder_pcm16b.cc", |
| 738 "codecs/pcm16b/audio_encoder_pcm16b.h", | 794 "codecs/pcm16b/audio_encoder_pcm16b.h", |
| 739 ] | 795 ] |
| 740 | 796 |
| 741 deps = [ | 797 deps = [ |
| 742 ":audio_decoder_interface", | 798 ":audio_decoder_interface", |
| 743 ":audio_encoder_interface", | 799 ":audio_encoder_interface", |
| 744 ":g711", | 800 ":g711", |
| 801 "../..:webrtc_common", |
| 802 "../../base:rtc_base_approved", |
| 745 ] | 803 ] |
| 746 public_deps = [ | 804 public_deps = [ |
| 747 ":pcm16b_c", | 805 ":pcm16b_c", |
| 748 ] | 806 ] |
| 749 public_configs = [ ":pcm16b_config" ] | 807 public_configs = [ ":pcm16b_config" ] |
| 750 } | 808 } |
| 751 | 809 |
| 752 rtc_source_set("pcm16b_c") { | 810 rtc_source_set("pcm16b_c") { |
| 753 visibility = [ ":*" ] # Only targets in this file can depend on this. | 811 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 754 sources = [ | 812 sources = [ |
| 755 "codecs/pcm16b/pcm16b.c", | 813 "codecs/pcm16b/pcm16b.c", |
| 756 "codecs/pcm16b/pcm16b.h", | 814 "codecs/pcm16b/pcm16b.h", |
| 757 ] | 815 ] |
| 758 | 816 |
| 759 public_configs = [ ":pcm16b_config" ] | 817 public_configs = [ ":pcm16b_config" ] |
| 818 deps = [ |
| 819 "../..:webrtc_common", |
| 820 ] |
| 760 } | 821 } |
| 761 | 822 |
| 762 config("opus_config") { | 823 config("opus_config") { |
| 763 include_dirs = [ "../../.." ] | 824 include_dirs = [ "../../.." ] |
| 764 } | 825 } |
| 765 | 826 |
| 766 rtc_static_library("webrtc_opus") { | 827 rtc_static_library("webrtc_opus") { |
| 767 sources = [ | 828 sources = [ |
| 768 "codecs/opus/audio_decoder_opus.cc", | 829 "codecs/opus/audio_decoder_opus.cc", |
| 769 "codecs/opus/audio_decoder_opus.h", | 830 "codecs/opus/audio_decoder_opus.h", |
| 770 "codecs/opus/audio_encoder_opus.cc", | 831 "codecs/opus/audio_encoder_opus.cc", |
| 771 "codecs/opus/audio_encoder_opus.h", | 832 "codecs/opus/audio_encoder_opus.h", |
| 772 ] | 833 ] |
| 773 | 834 |
| 774 deps = [ | 835 deps = [ |
| 775 ":audio_decoder_interface", | 836 ":audio_decoder_interface", |
| 776 ":audio_encoder_interface", | 837 ":audio_encoder_interface", |
| 777 ":audio_network_adaptor", | 838 ":audio_network_adaptor", |
| 839 "../..:webrtc_common", |
| 778 "../../base:rtc_analytics", | 840 "../../base:rtc_analytics", |
| 779 "../../base:rtc_base_approved", | 841 "../../base:rtc_base_approved", |
| 842 "../../system_wrappers", |
| 780 ] | 843 ] |
| 781 public_deps = [ | 844 public_deps = [ |
| 782 ":webrtc_opus_c", | 845 ":webrtc_opus_c", |
| 783 ] | 846 ] |
| 784 | 847 |
| 785 defines = [] | 848 defines = [] |
| 786 if (rtc_opus_variable_complexity) { | 849 if (rtc_opus_variable_complexity) { |
| 787 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] | 850 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 788 } else { | 851 } else { |
| 789 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] | 852 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| (...skipping 16 matching lines...) Expand all Loading... |
| 806 | 869 |
| 807 if (rtc_build_opus) { | 870 if (rtc_build_opus) { |
| 808 public_deps = [ | 871 public_deps = [ |
| 809 rtc_opus_dir, | 872 rtc_opus_dir, |
| 810 ] | 873 ] |
| 811 } else if (build_with_mozilla) { | 874 } else if (build_with_mozilla) { |
| 812 include_dirs = [ getenv("DIST") + "/include/opus" ] | 875 include_dirs = [ getenv("DIST") + "/include/opus" ] |
| 813 } | 876 } |
| 814 | 877 |
| 815 deps = [ | 878 deps = [ |
| 879 "../..:webrtc_common", |
| 816 "../../base:rtc_base_approved", | 880 "../../base:rtc_base_approved", |
| 817 ] | 881 ] |
| 818 } | 882 } |
| 819 | 883 |
| 820 if (rtc_enable_protobuf) { | 884 if (rtc_enable_protobuf) { |
| 821 proto_library("ana_debug_dump_proto") { | 885 proto_library("ana_debug_dump_proto") { |
| 822 sources = [ | 886 sources = [ |
| 823 "audio_network_adaptor/debug_dump.proto", | 887 "audio_network_adaptor/debug_dump.proto", |
| 824 ] | 888 ] |
| 825 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 889 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 851 "audio_network_adaptor/dtx_controller.h", | 915 "audio_network_adaptor/dtx_controller.h", |
| 852 "audio_network_adaptor/fec_controller.cc", | 916 "audio_network_adaptor/fec_controller.cc", |
| 853 "audio_network_adaptor/fec_controller.h", | 917 "audio_network_adaptor/fec_controller.h", |
| 854 "audio_network_adaptor/frame_length_controller.cc", | 918 "audio_network_adaptor/frame_length_controller.cc", |
| 855 "audio_network_adaptor/frame_length_controller.h", | 919 "audio_network_adaptor/frame_length_controller.h", |
| 856 "audio_network_adaptor/include/audio_network_adaptor.h", | 920 "audio_network_adaptor/include/audio_network_adaptor.h", |
| 857 ] | 921 ] |
| 858 | 922 |
| 859 deps = [ | 923 deps = [ |
| 860 "../..:webrtc_common", | 924 "../..:webrtc_common", |
| 925 "../../base:rtc_base_approved", |
| 926 "../../common_audio", |
| 861 "../../system_wrappers", | 927 "../../system_wrappers", |
| 862 ] | 928 ] |
| 863 | 929 |
| 864 if (rtc_enable_protobuf) { | 930 if (rtc_enable_protobuf) { |
| 865 deps += [ | 931 deps += [ |
| 866 ":ana_config_proto", | 932 ":ana_config_proto", |
| 867 ":ana_debug_dump_proto", | 933 ":ana_debug_dump_proto", |
| 868 ] | 934 ] |
| 869 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 935 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 870 } | 936 } |
| 871 } | 937 } |
| 872 | 938 |
| 873 config("neteq_config") { | 939 config("neteq_config") { |
| 874 include_dirs = [ | 940 include_dirs = [ |
| 875 # Need Opus header files for the audio classifier. | 941 # Need Opus header files for the audio classifier. |
| 876 "//third_party/opus/src/celt", | 942 "//third_party/opus/src/celt", |
| 877 "//third_party/opus/src/src", | 943 "//third_party/opus/src/src", |
| 878 ] | 944 ] |
| 879 } | 945 } |
| 880 | 946 |
| 881 rtc_static_library("neteq") { | 947 rtc_static_library("neteq") { |
| 948 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 949 # Cyclic dependency with :audio_coding if enabled. |
| 950 check_includes = false |
| 951 |
| 882 sources = [ | 952 sources = [ |
| 883 "neteq/accelerate.cc", | 953 "neteq/accelerate.cc", |
| 884 "neteq/accelerate.h", | 954 "neteq/accelerate.h", |
| 885 "neteq/audio_classifier.cc", | 955 "neteq/audio_classifier.cc", |
| 886 "neteq/audio_classifier.h", | 956 "neteq/audio_classifier.h", |
| 887 "neteq/audio_decoder_impl.cc", | 957 "neteq/audio_decoder_impl.cc", |
| 888 "neteq/audio_decoder_impl.h", | 958 "neteq/audio_decoder_impl.h", |
| 889 "neteq/audio_multi_vector.cc", | 959 "neteq/audio_multi_vector.cc", |
| 890 "neteq/audio_multi_vector.h", | 960 "neteq/audio_multi_vector.h", |
| 891 "neteq/audio_vector.cc", | 961 "neteq/audio_vector.cc", |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 "neteq/tick_timer.h", | 1021 "neteq/tick_timer.h", |
| 952 "neteq/time_stretch.cc", | 1022 "neteq/time_stretch.cc", |
| 953 "neteq/time_stretch.h", | 1023 "neteq/time_stretch.h", |
| 954 "neteq/timestamp_scaler.cc", | 1024 "neteq/timestamp_scaler.cc", |
| 955 "neteq/timestamp_scaler.h", | 1025 "neteq/timestamp_scaler.h", |
| 956 ] | 1026 ] |
| 957 | 1027 |
| 958 public_configs = [ ":neteq_config" ] | 1028 public_configs = [ ":neteq_config" ] |
| 959 | 1029 |
| 960 deps = [ | 1030 deps = [ |
| 1031 ":audio_decoder_factory_interface", |
| 961 ":audio_decoder_interface", | 1032 ":audio_decoder_interface", |
| 1033 ":audio_format", |
| 962 ":builtin_audio_decoder_factory", | 1034 ":builtin_audio_decoder_factory", |
| 963 ":cng", | 1035 ":cng", |
| 964 ":g711", | 1036 ":g711", |
| 1037 ":isac_fix", |
| 965 ":pcm16b", | 1038 ":pcm16b", |
| 966 ":rent_a_codec", | 1039 ":rent_a_codec", |
| 967 "../..:webrtc_common", | 1040 "../..:webrtc_common", |
| 1041 "../../base:gtest_prod", |
| 1042 "../../base:rtc_base_approved", |
| 968 "../../common_audio", | 1043 "../../common_audio", |
| 969 "../../system_wrappers", | 1044 "../../system_wrappers", |
| 970 ] | 1045 ] |
| 971 | 1046 |
| 972 defines = [] | 1047 defines = [] |
| 973 | 1048 |
| 974 if (rtc_include_ilbc) { | 1049 if (rtc_include_ilbc) { |
| 975 defines += [ "WEBRTC_CODEC_ILBC" ] | 1050 defines += [ "WEBRTC_CODEC_ILBC" ] |
| 976 deps += [ ":ilbc" ] | 1051 deps += [ ":ilbc" ] |
| 977 } | 1052 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 991 deps += [ ":g722" ] | 1066 deps += [ ":g722" ] |
| 992 } | 1067 } |
| 993 } | 1068 } |
| 994 | 1069 |
| 995 # Although providing only test support, this target must be outside of the | 1070 # Although providing only test support, this target must be outside of the |
| 996 # rtc_include_tests conditional. The reason is that it supports fuzzer tests | 1071 # rtc_include_tests conditional. The reason is that it supports fuzzer tests |
| 997 # that ultimately are built and run as a part of the Chromium ecosystem, which | 1072 # that ultimately are built and run as a part of the Chromium ecosystem, which |
| 998 # does not set the rtc_include_tests flag. | 1073 # does not set the rtc_include_tests flag. |
| 999 rtc_source_set("neteq_test_minimal") { | 1074 rtc_source_set("neteq_test_minimal") { |
| 1000 testonly = true | 1075 testonly = true |
| 1076 |
| 1077 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 1078 # Has cyclic dependency with :neteq_unittest_tools |
| 1079 check_includes = false |
| 1080 |
| 1001 sources = [ | 1081 sources = [ |
| 1002 "neteq/tools/encode_neteq_input.cc", | 1082 "neteq/tools/encode_neteq_input.cc", |
| 1003 "neteq/tools/encode_neteq_input.h", | 1083 "neteq/tools/encode_neteq_input.h", |
| 1004 "neteq/tools/neteq_test.cc", | 1084 "neteq/tools/neteq_test.cc", |
| 1005 "neteq/tools/neteq_test.h", | 1085 "neteq/tools/neteq_test.h", |
| 1006 ] | 1086 ] |
| 1007 | 1087 |
| 1008 if (!build_with_chromium && is_clang) { | 1088 if (!build_with_chromium && is_clang) { |
| 1009 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1089 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1010 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1090 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1011 } | 1091 } |
| 1092 |
| 1093 deps = [ |
| 1094 ":audio_encoder_interface", |
| 1095 ":builtin_audio_decoder_factory", |
| 1096 ":neteq", |
| 1097 "../..:webrtc_common", |
| 1098 "../../base:rtc_base_approved", |
| 1099 ] |
| 1012 } | 1100 } |
| 1013 | 1101 |
| 1014 if (rtc_include_tests) { | 1102 if (rtc_include_tests) { |
| 1015 group("audio_coding_tests") { | 1103 group("audio_coding_tests") { |
| 1016 testonly = true | 1104 testonly = true |
| 1017 public_deps = [ | 1105 public_deps = [ |
| 1018 ":RTPchange", | 1106 ":RTPchange", |
| 1019 ":RTPencode", | 1107 ":RTPencode", |
| 1020 ":RTPjitter", | 1108 ":RTPjitter", |
| 1021 ":RTPtimeshift", | 1109 ":RTPtimeshift", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1052 testonly = true | 1140 testonly = true |
| 1053 sources = [ | 1141 sources = [ |
| 1054 "acm2/acm_receive_test.cc", | 1142 "acm2/acm_receive_test.cc", |
| 1055 "acm2/acm_receive_test.h", | 1143 "acm2/acm_receive_test.h", |
| 1056 ] | 1144 ] |
| 1057 | 1145 |
| 1058 defines = audio_coding_defines | 1146 defines = audio_coding_defines |
| 1059 | 1147 |
| 1060 deps = audio_coding_deps + [ | 1148 deps = audio_coding_deps + [ |
| 1061 ":audio_coding", | 1149 ":audio_coding", |
| 1150 ":audio_format_conversion", |
| 1151 ":audio_decoder_factory_interface", |
| 1152 ":builtin_audio_decoder_factory", |
| 1062 ":neteq_unittest_tools", | 1153 ":neteq_unittest_tools", |
| 1154 "../../base:rtc_base_approved", |
| 1155 "../../test:test_support", |
| 1063 "//testing/gtest", | 1156 "//testing/gtest", |
| 1064 ] | 1157 ] |
| 1065 } | 1158 } |
| 1066 | 1159 |
| 1067 rtc_source_set("acm_send_test") { | 1160 rtc_source_set("acm_send_test") { |
| 1068 testonly = true | 1161 testonly = true |
| 1069 sources = [ | 1162 sources = [ |
| 1070 "acm2/acm_send_test.cc", | 1163 "acm2/acm_send_test.cc", |
| 1071 "acm2/acm_send_test.h", | 1164 "acm2/acm_send_test.h", |
| 1072 ] | 1165 ] |
| 1073 | 1166 |
| 1074 defines = audio_coding_defines | 1167 defines = audio_coding_defines |
| 1075 | 1168 |
| 1076 deps = audio_coding_deps + [ | 1169 deps = audio_coding_deps + [ |
| 1077 ":audio_coding", | 1170 ":audio_coding", |
| 1171 ":audio_decoder_interface", |
| 1172 ":audio_encoder_interface", |
| 1078 ":neteq_unittest_tools", | 1173 ":neteq_unittest_tools", |
| 1174 "../../base:rtc_base_approved", |
| 1175 "../../test:test_support", |
| 1079 "//testing/gtest", | 1176 "//testing/gtest", |
| 1080 ] | 1177 ] |
| 1081 } | 1178 } |
| 1082 | 1179 |
| 1083 rtc_executable("delay_test") { | 1180 rtc_executable("delay_test") { |
| 1084 testonly = true | 1181 testonly = true |
| 1085 sources = [ | 1182 sources = [ |
| 1086 "test/Channel.cc", | 1183 "test/Channel.cc", |
| 1087 "test/PCMFile.cc", | 1184 "test/PCMFile.cc", |
| 1088 "test/delay_test.cc", | 1185 "test/delay_test.cc", |
| 1089 "test/utility.cc", | 1186 "test/utility.cc", |
| 1090 ] | 1187 ] |
| 1091 | 1188 |
| 1092 deps = [ | 1189 deps = [ |
| 1093 ":audio_coding", | 1190 ":audio_coding", |
| 1094 ":audio_format_conversion", | 1191 ":audio_format_conversion", |
| 1095 "../../:webrtc_common", | 1192 "../../:webrtc_common", |
| 1193 "../../base:rtc_base_approved", |
| 1096 "../../system_wrappers", | 1194 "../../system_wrappers", |
| 1097 "../../system_wrappers:system_wrappers_default", | 1195 "../../system_wrappers:system_wrappers_default", |
| 1098 "../../test:test_support", | 1196 "../../test:test_support", |
| 1099 "../rtp_rtcp", | 1197 "../rtp_rtcp", |
| 1100 "//testing/gtest", | 1198 "//testing/gtest", |
| 1101 "//third_party/gflags:gflags", | 1199 "//third_party/gflags:gflags", |
| 1102 ] | 1200 ] |
| 1103 } # delay_test | 1201 } # delay_test |
| 1104 | 1202 |
| 1105 rtc_executable("insert_packet_with_timing") { | 1203 rtc_executable("insert_packet_with_timing") { |
| 1106 testonly = true | 1204 testonly = true |
| 1107 sources = [ | 1205 sources = [ |
| 1108 "test/Channel.cc", | 1206 "test/Channel.cc", |
| 1109 "test/PCMFile.cc", | 1207 "test/PCMFile.cc", |
| 1110 "test/insert_packet_with_timing.cc", | 1208 "test/insert_packet_with_timing.cc", |
| 1111 ] | 1209 ] |
| 1112 | 1210 |
| 1113 if (!build_with_chromium && is_clang) { | 1211 if (!build_with_chromium && is_clang) { |
| 1114 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1115 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1116 } | 1214 } |
| 1117 | 1215 |
| 1118 deps = [ | 1216 deps = [ |
| 1119 ":audio_coding", | 1217 ":audio_coding", |
| 1120 ":audio_format_conversion", | 1218 ":audio_format_conversion", |
| 1121 "../../:webrtc_common", | 1219 "../../:webrtc_common", |
| 1220 "../../base:rtc_base_approved", |
| 1122 "../../system_wrappers", | 1221 "../../system_wrappers", |
| 1123 "../../system_wrappers:system_wrappers_default", | 1222 "../../system_wrappers:system_wrappers_default", |
| 1124 "../../test:test_support", | 1223 "../../test:test_support", |
| 1125 "../rtp_rtcp", | 1224 "../rtp_rtcp", |
| 1126 "//testing/gtest", | 1225 "//testing/gtest", |
| 1127 "//third_party/gflags:gflags", | 1226 "//third_party/gflags:gflags", |
| 1128 ] | 1227 ] |
| 1129 } # insert_packet_with_timing | 1228 } # insert_packet_with_timing |
| 1130 | 1229 |
| 1131 audio_decoder_unittests_resources = | 1230 audio_decoder_unittests_resources = |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1182 if (rtc_enable_protobuf) { | 1281 if (rtc_enable_protobuf) { |
| 1183 proto_library("neteq_unittest_proto") { | 1282 proto_library("neteq_unittest_proto") { |
| 1184 sources = [ | 1283 sources = [ |
| 1185 "neteq/neteq_unittest.proto", | 1284 "neteq/neteq_unittest.proto", |
| 1186 ] | 1285 ] |
| 1187 proto_out_dir = "webrtc/audio_coding/neteq" | 1286 proto_out_dir = "webrtc/audio_coding/neteq" |
| 1188 } | 1287 } |
| 1189 | 1288 |
| 1190 rtc_static_library("rtc_event_log_source") { | 1289 rtc_static_library("rtc_event_log_source") { |
| 1191 testonly = true | 1290 testonly = true |
| 1291 |
| 1292 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 1293 # Needs call.h to be moved to webrtc/api first. |
| 1294 check_includes = false |
| 1295 |
| 1192 sources = [ | 1296 sources = [ |
| 1193 "neteq/tools/rtc_event_log_source.cc", | 1297 "neteq/tools/rtc_event_log_source.cc", |
| 1194 "neteq/tools/rtc_event_log_source.h", | 1298 "neteq/tools/rtc_event_log_source.h", |
| 1195 ] | 1299 ] |
| 1196 | 1300 |
| 1197 if (!build_with_chromium && is_clang) { | 1301 if (!build_with_chromium && is_clang) { |
| 1198 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 1302 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 1199 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1303 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1200 } | 1304 } |
| 1201 | 1305 |
| 1202 deps = [ | 1306 deps = [ |
| 1307 "../../base:rtc_base_approved", |
| 1203 "../../logging:rtc_event_log_parser", | 1308 "../../logging:rtc_event_log_parser", |
| 1204 ] | 1309 ] |
| 1205 public_deps = [ | 1310 public_deps = [ |
| 1206 "../../logging:rtc_event_log_proto", | 1311 "../../logging:rtc_event_log_proto", |
| 1207 ] | 1312 ] |
| 1208 } | 1313 } |
| 1209 | 1314 |
| 1210 rtc_test("neteq_rtpplay") { | 1315 rtc_test("neteq_rtpplay") { |
| 1211 testonly = true | 1316 testonly = true |
| 1212 defines = [] | 1317 defines = [] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1223 if (is_win) { | 1328 if (is_win) { |
| 1224 cflags = [ | 1329 cflags = [ |
| 1225 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 1330 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 1226 "/wd4373", # virtual function override. | 1331 "/wd4373", # virtual function override. |
| 1227 ] | 1332 ] |
| 1228 } | 1333 } |
| 1229 | 1334 |
| 1230 deps += [ | 1335 deps += [ |
| 1231 ":neteq", | 1336 ":neteq", |
| 1232 ":neteq_unittest_tools", | 1337 ":neteq_unittest_tools", |
| 1338 "../..:webrtc_common", |
| 1339 "../../base:rtc_base_approved", |
| 1233 "../../system_wrappers:system_wrappers_default", | 1340 "../../system_wrappers:system_wrappers_default", |
| 1234 "../../test:test_support", | 1341 "../../test:test_support", |
| 1235 "//third_party/gflags", | 1342 "//third_party/gflags", |
| 1236 ] | 1343 ] |
| 1237 } | 1344 } |
| 1238 } | 1345 } |
| 1239 | 1346 |
| 1240 rtc_test("audio_codec_speed_tests") { | 1347 rtc_test("audio_codec_speed_tests") { |
| 1241 testonly = true | 1348 testonly = true |
| 1242 defines = [] | 1349 defines = [] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1254 } | 1361 } |
| 1255 | 1362 |
| 1256 if (is_android) { | 1363 if (is_android) { |
| 1257 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1364 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 1258 shard_timeout = 900 | 1365 shard_timeout = 900 |
| 1259 } | 1366 } |
| 1260 | 1367 |
| 1261 deps += [ | 1368 deps += [ |
| 1262 ":isac_fix", | 1369 ":isac_fix", |
| 1263 ":webrtc_opus", | 1370 ":webrtc_opus", |
| 1371 "../..:webrtc_common", |
| 1372 "../../base:rtc_base_approved", |
| 1264 "../../system_wrappers:system_wrappers_default", | 1373 "../../system_wrappers:system_wrappers_default", |
| 1265 "../../test:test_main", | 1374 "../../test:test_main", |
| 1266 "../audio_processing", | 1375 "../audio_processing", |
| 1267 "//testing/gtest", | 1376 "//testing/gtest", |
| 1268 ] | 1377 ] |
| 1269 } | 1378 } |
| 1270 | 1379 |
| 1271 rtc_source_set("neteq_test_support") { | 1380 rtc_source_set("neteq_test_support") { |
| 1272 testonly = true | 1381 testonly = true |
| 1273 sources = [ | 1382 sources = [ |
| 1274 "neteq/tools/neteq_external_decoder_test.cc", | 1383 "neteq/tools/neteq_external_decoder_test.cc", |
| 1275 "neteq/tools/neteq_external_decoder_test.h", | 1384 "neteq/tools/neteq_external_decoder_test.h", |
| 1276 "neteq/tools/neteq_performance_test.cc", | 1385 "neteq/tools/neteq_performance_test.cc", |
| 1277 "neteq/tools/neteq_performance_test.h", | 1386 "neteq/tools/neteq_performance_test.h", |
| 1278 ] | 1387 ] |
| 1279 | 1388 |
| 1280 if (!build_with_chromium && is_clang) { | 1389 if (!build_with_chromium && is_clang) { |
| 1281 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1390 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1282 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1391 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1283 } | 1392 } |
| 1284 | 1393 |
| 1285 deps = [ | 1394 deps = [ |
| 1395 ":audio_decoder_interface", |
| 1396 ":builtin_audio_decoder_factory", |
| 1286 ":neteq", | 1397 ":neteq", |
| 1287 ":neteq_unittest_tools", | 1398 ":neteq_unittest_tools", |
| 1288 ":pcm16b", | 1399 ":pcm16b", |
| 1400 "../..:webrtc_common", |
| 1401 "../../base:rtc_base_approved", |
| 1402 "../../system_wrappers", |
| 1403 "../../test:test_support", |
| 1289 "//testing/gtest", | 1404 "//testing/gtest", |
| 1290 ] | 1405 ] |
| 1291 } | 1406 } |
| 1292 | 1407 |
| 1293 rtc_source_set("neteq_quality_test_support") { | 1408 rtc_source_set("neteq_quality_test_support") { |
| 1294 testonly = true | 1409 testonly = true |
| 1295 sources = [ | 1410 sources = [ |
| 1296 "neteq/tools/neteq_quality_test.cc", | 1411 "neteq/tools/neteq_quality_test.cc", |
| 1297 "neteq/tools/neteq_quality_test.h", | 1412 "neteq/tools/neteq_quality_test.h", |
| 1298 ] | 1413 ] |
| 1299 | 1414 |
| 1300 if (!build_with_chromium && is_clang) { | 1415 if (!build_with_chromium && is_clang) { |
| 1301 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1416 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1302 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1417 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1303 } | 1418 } |
| 1304 | 1419 |
| 1305 deps = [ | 1420 deps = [ |
| 1421 ":builtin_audio_decoder_factory", |
| 1306 ":neteq", | 1422 ":neteq", |
| 1307 ":neteq_unittest_tools", | 1423 ":neteq_unittest_tools", |
| 1424 "../..:webrtc_common", |
| 1425 "../../base:rtc_base_approved", |
| 1426 "../../test:test_support", |
| 1308 "//testing/gtest", | 1427 "//testing/gtest", |
| 1309 "//third_party/gflags", | 1428 "//third_party/gflags", |
| 1310 ] | 1429 ] |
| 1311 } | 1430 } |
| 1312 | 1431 |
| 1313 config("neteq_unittest_tools_config") { | 1432 config("neteq_unittest_tools_config") { |
| 1314 include_dirs = [ "tools" ] | 1433 include_dirs = [ "tools" ] |
| 1315 } | 1434 } |
| 1316 | 1435 |
| 1317 rtc_source_set("neteq_unittest_tools") { | 1436 rtc_source_set("neteq_unittest_tools") { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1348 ] | 1467 ] |
| 1349 | 1468 |
| 1350 public_configs = [ ":neteq_unittest_tools_config" ] | 1469 public_configs = [ ":neteq_unittest_tools_config" ] |
| 1351 | 1470 |
| 1352 if (!build_with_chromium && is_clang) { | 1471 if (!build_with_chromium && is_clang) { |
| 1353 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1472 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1354 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1473 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1355 } | 1474 } |
| 1356 | 1475 |
| 1357 deps = [ | 1476 deps = [ |
| 1358 ":neteq_test_minimal", | 1477 ":audio_decoder_interface", |
| 1478 ":audio_encoder_interface", |
| 1479 ":pcm16b", |
| 1480 "../..:webrtc_common", |
| 1481 "../../base:rtc_base_approved", |
| 1359 "../../common_audio", | 1482 "../../common_audio", |
| 1360 "../../test:rtp_test_utils", | 1483 "../../test:rtp_test_utils", |
| 1361 "../rtp_rtcp", | 1484 "../rtp_rtcp", |
| 1362 ] | 1485 ] |
| 1363 | 1486 |
| 1487 public_deps = [ |
| 1488 ":neteq_test_minimal", |
| 1489 ] |
| 1490 |
| 1364 if (rtc_enable_protobuf) { | 1491 if (rtc_enable_protobuf) { |
| 1365 deps += [ ":rtc_event_log_source" ] | 1492 deps += [ ":rtc_event_log_source" ] |
| 1366 } | 1493 } |
| 1367 } | 1494 } |
| 1368 | 1495 |
| 1369 rtc_source_set("neteq_test_tools") { | 1496 rtc_source_set("neteq_test_tools") { |
| 1370 testonly = true | 1497 testonly = true |
| 1371 sources = [ | 1498 sources = [ |
| 1372 "neteq/test/NETEQTEST_DummyRTPpacket.cc", | 1499 "neteq/test/NETEQTEST_DummyRTPpacket.cc", |
| 1373 "neteq/test/NETEQTEST_DummyRTPpacket.h", | 1500 "neteq/test/NETEQTEST_DummyRTPpacket.h", |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1423 rtc_executable("RTPencode") { | 1550 rtc_executable("RTPencode") { |
| 1424 testonly = true | 1551 testonly = true |
| 1425 | 1552 |
| 1426 deps = [ | 1553 deps = [ |
| 1427 # TODO(hlundin): Make RTPencode use ACM to encode files. | 1554 # TODO(hlundin): Make RTPencode use ACM to encode files. |
| 1428 ":cng", | 1555 ":cng", |
| 1429 ":g711", | 1556 ":g711", |
| 1430 ":g722", | 1557 ":g722", |
| 1431 ":ilbc", | 1558 ":ilbc", |
| 1432 ":isac", | 1559 ":isac", |
| 1560 ":neteq", |
| 1433 ":neteq_test_tools", | 1561 ":neteq_test_tools", |
| 1434 ":pcm16b", | 1562 ":pcm16b", |
| 1435 ":webrtc_opus", | 1563 ":webrtc_opus", |
| 1564 "../..:webrtc_common", |
| 1565 "../../base:rtc_base_approved", |
| 1436 "../../common_audio", | 1566 "../../common_audio", |
| 1437 ] | 1567 ] |
| 1438 | 1568 |
| 1439 configs += [ ":RTPencode_config" ] | 1569 configs += [ ":RTPencode_config" ] |
| 1440 | 1570 |
| 1441 sources = [ | 1571 sources = [ |
| 1442 "neteq/test/RTPencode.cc", | 1572 "neteq/test/RTPencode.cc", |
| 1443 ] | 1573 ] |
| 1444 | 1574 |
| 1445 include_dirs = [ | 1575 include_dirs = [ |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1468 } | 1598 } |
| 1469 | 1599 |
| 1470 rtc_executable("rtpcat") { | 1600 rtc_executable("rtpcat") { |
| 1471 testonly = true | 1601 testonly = true |
| 1472 | 1602 |
| 1473 sources = [ | 1603 sources = [ |
| 1474 "neteq/tools/rtpcat.cc", | 1604 "neteq/tools/rtpcat.cc", |
| 1475 ] | 1605 ] |
| 1476 | 1606 |
| 1477 deps = [ | 1607 deps = [ |
| 1608 "../../base:rtc_base_approved", |
| 1478 "../../system_wrappers:system_wrappers_default", | 1609 "../../system_wrappers:system_wrappers_default", |
| 1479 "../../test:rtp_test_utils", | 1610 "../../test:rtp_test_utils", |
| 1480 "//testing/gtest", | 1611 "//testing/gtest", |
| 1481 ] | 1612 ] |
| 1482 } | 1613 } |
| 1483 | 1614 |
| 1484 rtc_executable("RTPtimeshift") { | 1615 rtc_executable("RTPtimeshift") { |
| 1485 testonly = true | 1616 testonly = true |
| 1486 | 1617 |
| 1487 sources = [ | 1618 sources = [ |
| 1488 "neteq/test/RTPtimeshift.cc", | 1619 "neteq/test/RTPtimeshift.cc", |
| 1489 ] | 1620 ] |
| 1490 | 1621 |
| 1491 deps = [ | 1622 deps = [ |
| 1492 ":neteq_test_tools", | 1623 ":neteq_test_tools", |
| 1624 "../../test:test_support", |
| 1493 "//testing/gtest", | 1625 "//testing/gtest", |
| 1494 ] | 1626 ] |
| 1495 } | 1627 } |
| 1496 | 1628 |
| 1497 rtc_executable("RTPjitter") { | 1629 rtc_executable("RTPjitter") { |
| 1498 testonly = true | 1630 testonly = true |
| 1499 deps = [ | 1631 deps = [ |
| 1500 "../..:webrtc_common", | 1632 "../..:webrtc_common", |
| 1501 "../../base:rtc_base_approved", | 1633 "../../base:rtc_base_approved", |
| 1634 "../../test:test_support", |
| 1502 "//testing/gtest", | 1635 "//testing/gtest", |
| 1503 ] | 1636 ] |
| 1504 sources = [ | 1637 sources = [ |
| 1505 "neteq/test/RTPjitter.cc", | 1638 "neteq/test/RTPjitter.cc", |
| 1506 ] | 1639 ] |
| 1507 } | 1640 } |
| 1508 | 1641 |
| 1509 rtc_executable("rtp_analyze") { | 1642 rtc_executable("rtp_analyze") { |
| 1510 testonly = true | 1643 testonly = true |
| 1511 | 1644 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1549 rtc_executable("neteq_speed_test") { | 1682 rtc_executable("neteq_speed_test") { |
| 1550 testonly = true | 1683 testonly = true |
| 1551 | 1684 |
| 1552 sources = [ | 1685 sources = [ |
| 1553 "neteq/test/neteq_speed_test.cc", | 1686 "neteq/test/neteq_speed_test.cc", |
| 1554 ] | 1687 ] |
| 1555 | 1688 |
| 1556 deps = [ | 1689 deps = [ |
| 1557 ":neteq", | 1690 ":neteq", |
| 1558 ":neteq_test_support", | 1691 ":neteq_test_support", |
| 1692 "../..:webrtc_common", |
| 1559 "../../system_wrappers:system_wrappers_default", | 1693 "../../system_wrappers:system_wrappers_default", |
| 1560 "../../test:test_support", | 1694 "../../test:test_support", |
| 1561 "//third_party/gflags", | 1695 "//third_party/gflags", |
| 1562 ] | 1696 ] |
| 1563 } | 1697 } |
| 1564 | 1698 |
| 1565 rtc_executable("audio_classifier_test") { | 1699 rtc_executable("audio_classifier_test") { |
| 1566 testonly = true | 1700 testonly = true |
| 1567 sources = [ | 1701 sources = [ |
| 1568 "neteq/test/audio_classifier_test.cc", | 1702 "neteq/test/audio_classifier_test.cc", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1579 | 1713 |
| 1580 sources = [ | 1714 sources = [ |
| 1581 "neteq/test/neteq_ilbc_quality_test.cc", | 1715 "neteq/test/neteq_ilbc_quality_test.cc", |
| 1582 ] | 1716 ] |
| 1583 | 1717 |
| 1584 deps = [ | 1718 deps = [ |
| 1585 ":ilbc", | 1719 ":ilbc", |
| 1586 ":neteq", | 1720 ":neteq", |
| 1587 ":neteq_quality_test_support", | 1721 ":neteq_quality_test_support", |
| 1588 ":neteq_unittest_tools", | 1722 ":neteq_unittest_tools", |
| 1723 "../..:webrtc_common", |
| 1724 "../../base:rtc_base_approved", |
| 1589 "../../system_wrappers:system_wrappers_default", | 1725 "../../system_wrappers:system_wrappers_default", |
| 1590 "../../test:test_main", | 1726 "../../test:test_main", |
| 1591 "//testing/gtest", | 1727 "//testing/gtest", |
| 1592 "//third_party/gflags", | 1728 "//third_party/gflags", |
| 1593 ] | 1729 ] |
| 1594 } | 1730 } |
| 1595 | 1731 |
| 1596 rtc_executable("neteq_isac_quality_test") { | 1732 rtc_executable("neteq_isac_quality_test") { |
| 1597 testonly = true | 1733 testonly = true |
| 1598 | 1734 |
| 1599 sources = [ | 1735 sources = [ |
| 1600 "neteq/test/neteq_isac_quality_test.cc", | 1736 "neteq/test/neteq_isac_quality_test.cc", |
| 1601 ] | 1737 ] |
| 1602 | 1738 |
| 1603 deps = [ | 1739 deps = [ |
| 1604 ":isac_fix", | 1740 ":isac_fix", |
| 1605 ":neteq", | 1741 ":neteq", |
| 1606 ":neteq_quality_test_support", | 1742 ":neteq_quality_test_support", |
| 1743 "../../base:rtc_base_approved", |
| 1607 "../../test:test_main", | 1744 "../../test:test_main", |
| 1608 "//testing/gtest", | 1745 "//testing/gtest", |
| 1609 "//third_party/gflags", | 1746 "//third_party/gflags", |
| 1610 ] | 1747 ] |
| 1611 } | 1748 } |
| 1612 | 1749 |
| 1613 rtc_executable("neteq_pcmu_quality_test") { | 1750 rtc_executable("neteq_pcmu_quality_test") { |
| 1614 testonly = true | 1751 testonly = true |
| 1615 | 1752 |
| 1616 sources = [ | 1753 sources = [ |
| 1617 "neteq/test/neteq_pcmu_quality_test.cc", | 1754 "neteq/test/neteq_pcmu_quality_test.cc", |
| 1618 ] | 1755 ] |
| 1619 | 1756 |
| 1620 deps = [ | 1757 deps = [ |
| 1621 ":g711", | 1758 ":g711", |
| 1622 ":neteq", | 1759 ":neteq", |
| 1623 ":neteq_quality_test_support", | 1760 ":neteq_quality_test_support", |
| 1761 "../../base:rtc_base_approved", |
| 1624 "../../test:test_main", | 1762 "../../test:test_main", |
| 1625 "//testing/gtest", | 1763 "//testing/gtest", |
| 1626 "//third_party/gflags", | 1764 "//third_party/gflags", |
| 1627 ] | 1765 ] |
| 1628 } | 1766 } |
| 1629 | 1767 |
| 1630 rtc_executable("isac_fix_test") { | 1768 rtc_executable("isac_fix_test") { |
| 1631 testonly = true | 1769 testonly = true |
| 1632 | 1770 |
| 1633 sources = [ | 1771 sources = [ |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 | 1906 |
| 1769 sources = [ | 1907 sources = [ |
| 1770 "codecs/opus/opus_fec_test.cc", | 1908 "codecs/opus/opus_fec_test.cc", |
| 1771 ] | 1909 ] |
| 1772 | 1910 |
| 1773 deps = [ | 1911 deps = [ |
| 1774 ":webrtc_opus", | 1912 ":webrtc_opus", |
| 1775 "../../base:rtc_base_approved", | 1913 "../../base:rtc_base_approved", |
| 1776 "../../common_audio", | 1914 "../../common_audio", |
| 1777 "../../test:test_main", | 1915 "../../test:test_main", |
| 1778 "../../test:test_support", | |
| 1779 "//testing/gtest", | 1916 "//testing/gtest", |
| 1780 ] | 1917 ] |
| 1781 | 1918 |
| 1782 if (!build_with_chromium && is_clang) { | 1919 if (!build_with_chromium && is_clang) { |
| 1783 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1920 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1784 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1921 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1785 } | 1922 } |
| 1786 } | 1923 } |
| 1787 } | 1924 } |
| OLD | NEW |