Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 1208993010: iSAC: Make separate AudioEncoder and AudioDecoder objects (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: review fixes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("../../build/webrtc.gni") 10 import("../../build/webrtc.gni")
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 "../..:common_inherited_config", 373 "../..:common_inherited_config",
374 ":ilbc_config", 374 ":ilbc_config",
375 ] 375 ]
376 376
377 deps = [ 377 deps = [
378 "../../common_audio", 378 "../../common_audio",
379 ":audio_encoder_interface", 379 ":audio_encoder_interface",
380 ] 380 ]
381 } 381 }
382 382
383 source_set("isac_common") {
384 sources = [
385 "codecs/isac/audio_encoder_isac_t.h",
386 "codecs/isac/audio_encoder_isac_t_impl.h",
387 "codecs/isac/locked_bandwidth_info.cc",
388 "codecs/isac/locked_bandwidth_info.h",
389 ]
390 }
391
383 config("isac_config") { 392 config("isac_config") {
384 include_dirs = [ 393 include_dirs = [
385 "../../..", 394 "../../..",
386 "codecs/isac/main/interface", 395 "codecs/isac/main/interface",
387 ] 396 ]
388 } 397 }
389 398
390 source_set("isac") { 399 source_set("isac") {
391 sources = [ 400 sources = [
392 "codecs/isac/audio_encoder_isac_t.h",
393 "codecs/isac/audio_encoder_isac_t_impl.h",
394 "codecs/isac/main/interface/audio_encoder_isac.h", 401 "codecs/isac/main/interface/audio_encoder_isac.h",
395 "codecs/isac/main/interface/isac.h", 402 "codecs/isac/main/interface/isac.h",
396 "codecs/isac/main/source/arith_routines.c", 403 "codecs/isac/main/source/arith_routines.c",
397 "codecs/isac/main/source/arith_routines.h", 404 "codecs/isac/main/source/arith_routines.h",
398 "codecs/isac/main/source/arith_routines_hist.c", 405 "codecs/isac/main/source/arith_routines_hist.c",
399 "codecs/isac/main/source/arith_routines_logist.c", 406 "codecs/isac/main/source/arith_routines_logist.c",
400 "codecs/isac/main/source/audio_encoder_isac.cc", 407 "codecs/isac/main/source/audio_encoder_isac.cc",
401 "codecs/isac/main/source/bandwidth_estimator.c", 408 "codecs/isac/main/source/bandwidth_estimator.c",
402 "codecs/isac/main/source/bandwidth_estimator.h", 409 "codecs/isac/main/source/bandwidth_estimator.h",
403 "codecs/isac/main/source/codec.h", 410 "codecs/isac/main/source/codec.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 configs += [ "../..:common_config" ] 458 configs += [ "../..:common_config" ]
452 459
453 public_configs = [ 460 public_configs = [
454 "../..:common_inherited_config", 461 "../..:common_inherited_config",
455 ":isac_config", 462 ":isac_config",
456 ] 463 ]
457 464
458 deps = [ 465 deps = [
459 ":audio_decoder_interface", 466 ":audio_decoder_interface",
460 ":audio_encoder_interface", 467 ":audio_encoder_interface",
468 ":isac_common",
461 "../../common_audio", 469 "../../common_audio",
462 ] 470 ]
463 } 471 }
464 472
465 config("isac_fix_config") { 473 config("isac_fix_config") {
466 include_dirs = [ 474 include_dirs = [
467 "../../..", 475 "../../..",
468 "codecs/isac/fix/interface", 476 "codecs/isac/fix/interface",
469 ] 477 ]
470 } 478 }
471 479
472 source_set("isac_fix") { 480 source_set("isac_fix") {
473 sources = [ 481 sources = [
474 "codecs/isac/audio_encoder_isac_t.h",
475 "codecs/isac/audio_encoder_isac_t_impl.h",
476 "codecs/isac/fix/interface/audio_encoder_isacfix.h", 482 "codecs/isac/fix/interface/audio_encoder_isacfix.h",
477 "codecs/isac/fix/interface/isacfix.h", 483 "codecs/isac/fix/interface/isacfix.h",
478 "codecs/isac/fix/source/arith_routines.c", 484 "codecs/isac/fix/source/arith_routines.c",
479 "codecs/isac/fix/source/arith_routines_hist.c", 485 "codecs/isac/fix/source/arith_routines_hist.c",
480 "codecs/isac/fix/source/arith_routines_logist.c", 486 "codecs/isac/fix/source/arith_routines_logist.c",
481 "codecs/isac/fix/source/arith_routins.h", 487 "codecs/isac/fix/source/arith_routins.h",
482 "codecs/isac/fix/source/audio_encoder_isacfix.cc", 488 "codecs/isac/fix/source/audio_encoder_isacfix.cc",
483 "codecs/isac/fix/source/bandwidth_estimator.c", 489 "codecs/isac/fix/source/bandwidth_estimator.c",
484 "codecs/isac/fix/source/bandwidth_estimator.h", 490 "codecs/isac/fix/source/bandwidth_estimator.h",
485 "codecs/isac/fix/source/codec.h", 491 "codecs/isac/fix/source/codec.h",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 532
527 configs += [ "../..:common_config" ] 533 configs += [ "../..:common_config" ]
528 534
529 public_configs = [ 535 public_configs = [
530 "../..:common_inherited_config", 536 "../..:common_inherited_config",
531 ":isac_fix_config", 537 ":isac_fix_config",
532 ] 538 ]
533 539
534 deps = [ 540 deps = [
535 ":audio_encoder_interface", 541 ":audio_encoder_interface",
542 ":isac_common",
536 "../../common_audio", 543 "../../common_audio",
537 "../../system_wrappers", 544 "../../system_wrappers",
538 ] 545 ]
539 546
540 if (rtc_build_with_neon) { 547 if (rtc_build_with_neon) {
541 deps += [ ":isac_neon" ] 548 deps += [ ":isac_neon" ]
542 } 549 }
543 550
544 if (current_cpu == "arm" && arm_version >= 7) { 551 if (current_cpu == "arm" && arm_version >= 7) {
545 sources += [ 552 sources += [
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 "../../system_wrappers", 774 "../../system_wrappers",
768 ] 775 ]
769 776
770 defines = [] 777 defines = []
771 778
772 if (rtc_include_opus) { 779 if (rtc_include_opus) {
773 defines += [ "WEBRTC_CODEC_OPUS" ] 780 defines += [ "WEBRTC_CODEC_OPUS" ]
774 deps += [ ":webrtc_opus" ] 781 deps += [ ":webrtc_opus" ]
775 } 782 }
776 } 783 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698