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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 689 |
690 if (rtc_build_opus) { | 690 if (rtc_build_opus) { |
691 public_deps = [ | 691 public_deps = [ |
692 rtc_opus_dir, | 692 rtc_opus_dir, |
693 ] | 693 ] |
694 } else if (build_with_mozilla) { | 694 } else if (build_with_mozilla) { |
695 include_dirs = [ getenv("DIST") + "/include/opus" ] | 695 include_dirs = [ getenv("DIST") + "/include/opus" ] |
696 } | 696 } |
697 } | 697 } |
698 | 698 |
| 699 if (rtc_enable_protobuf) { |
| 700 proto_library("ana_debug_dump_proto") { |
| 701 sources = [ |
| 702 "audio_network_adaptor/debug_dump.proto", |
| 703 ] |
| 704 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
| 705 } |
| 706 } |
| 707 |
699 source_set("audio_network_adaptor") { | 708 source_set("audio_network_adaptor") { |
700 sources = [ | 709 sources = [ |
701 "audio_network_adaptor/audio_network_adaptor.cc", | 710 "audio_network_adaptor/audio_network_adaptor.cc", |
702 "audio_network_adaptor/audio_network_adaptor_impl.cc", | 711 "audio_network_adaptor/audio_network_adaptor_impl.cc", |
703 "audio_network_adaptor/audio_network_adaptor_impl.h", | 712 "audio_network_adaptor/audio_network_adaptor_impl.h", |
704 "audio_network_adaptor/bitrate_controller.cc", | 713 "audio_network_adaptor/bitrate_controller.cc", |
705 "audio_network_adaptor/bitrate_controller.h", | 714 "audio_network_adaptor/bitrate_controller.h", |
706 "audio_network_adaptor/channel_controller.cc", | 715 "audio_network_adaptor/channel_controller.cc", |
707 "audio_network_adaptor/channel_controller.h", | 716 "audio_network_adaptor/channel_controller.h", |
708 "audio_network_adaptor/controller.cc", | 717 "audio_network_adaptor/controller.cc", |
709 "audio_network_adaptor/controller.h", | 718 "audio_network_adaptor/controller.h", |
710 "audio_network_adaptor/controller_manager.cc", | 719 "audio_network_adaptor/controller_manager.cc", |
711 "audio_network_adaptor/controller_manager.h", | 720 "audio_network_adaptor/controller_manager.h", |
| 721 "audio_network_adaptor/debug_dump_writer.cc", |
| 722 "audio_network_adaptor/debug_dump_writer.h", |
712 "audio_network_adaptor/dtx_controller.cc", | 723 "audio_network_adaptor/dtx_controller.cc", |
713 "audio_network_adaptor/dtx_controller.h", | 724 "audio_network_adaptor/dtx_controller.h", |
714 "audio_network_adaptor/fec_controller.cc", | 725 "audio_network_adaptor/fec_controller.cc", |
715 "audio_network_adaptor/fec_controller.h", | 726 "audio_network_adaptor/fec_controller.h", |
716 "audio_network_adaptor/frame_length_controller.cc", | 727 "audio_network_adaptor/frame_length_controller.cc", |
717 "audio_network_adaptor/frame_length_controller.h", | 728 "audio_network_adaptor/frame_length_controller.h", |
718 "audio_network_adaptor/include/audio_network_adaptor.h", | 729 "audio_network_adaptor/include/audio_network_adaptor.h", |
719 "audio_network_adaptor/smoothing_filter.cc", | 730 "audio_network_adaptor/smoothing_filter.cc", |
720 "audio_network_adaptor/smoothing_filter.h", | 731 "audio_network_adaptor/smoothing_filter.h", |
721 ] | 732 ] |
722 configs += [ "../..:common_config" ] | 733 configs += [ "../..:common_config" ] |
723 public_configs = [ "../..:common_inherited_config" ] | 734 public_configs = [ "../..:common_inherited_config" ] |
| 735 |
| 736 if (rtc_enable_protobuf) { |
| 737 deps = [ |
| 738 ":ana_debug_dump_proto", |
| 739 ] |
| 740 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 741 } |
724 } | 742 } |
725 | 743 |
726 config("neteq_config") { | 744 config("neteq_config") { |
727 include_dirs = [ | 745 include_dirs = [ |
728 # Need Opus header files for the audio classifier. | 746 # Need Opus header files for the audio classifier. |
729 "//third_party/opus/src/celt", | 747 "//third_party/opus/src/celt", |
730 "//third_party/opus/src/src", | 748 "//third_party/opus/src/src", |
731 ] | 749 ] |
732 } | 750 } |
733 | 751 |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 "//testing/gtest", | 1591 "//testing/gtest", |
1574 ] | 1592 ] |
1575 | 1593 |
1576 if (is_clang) { | 1594 if (is_clang) { |
1577 # Suppress warnings from Chrome's Clang plugins. | 1595 # Suppress warnings from Chrome's Clang plugins. |
1578 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1596 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1579 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1597 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1580 } | 1598 } |
1581 } | 1599 } |
1582 } | 1600 } |
OLD | NEW |