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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 } | 694 } |
695 } | 695 } |
696 | 696 |
697 if (rtc_enable_protobuf) { | 697 if (rtc_enable_protobuf) { |
698 proto_library("ana_debug_dump_proto") { | 698 proto_library("ana_debug_dump_proto") { |
699 sources = [ | 699 sources = [ |
700 "audio_network_adaptor/debug_dump.proto", | 700 "audio_network_adaptor/debug_dump.proto", |
701 ] | 701 ] |
702 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 702 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
703 } | 703 } |
| 704 proto_library("ana_config_proto") { |
| 705 sources = [ |
| 706 "audio_network_adaptor/config.proto", |
| 707 ] |
| 708 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
| 709 } |
704 } | 710 } |
705 | 711 |
706 source_set("audio_network_adaptor") { | 712 source_set("audio_network_adaptor") { |
707 sources = [ | 713 sources = [ |
708 "audio_network_adaptor/audio_network_adaptor.cc", | 714 "audio_network_adaptor/audio_network_adaptor.cc", |
709 "audio_network_adaptor/audio_network_adaptor_impl.cc", | 715 "audio_network_adaptor/audio_network_adaptor_impl.cc", |
710 "audio_network_adaptor/audio_network_adaptor_impl.h", | 716 "audio_network_adaptor/audio_network_adaptor_impl.h", |
711 "audio_network_adaptor/bitrate_controller.cc", | 717 "audio_network_adaptor/bitrate_controller.cc", |
712 "audio_network_adaptor/bitrate_controller.h", | 718 "audio_network_adaptor/bitrate_controller.h", |
713 "audio_network_adaptor/channel_controller.cc", | 719 "audio_network_adaptor/channel_controller.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
726 "audio_network_adaptor/frame_length_controller.h", | 732 "audio_network_adaptor/frame_length_controller.h", |
727 "audio_network_adaptor/include/audio_network_adaptor.h", | 733 "audio_network_adaptor/include/audio_network_adaptor.h", |
728 "audio_network_adaptor/smoothing_filter.cc", | 734 "audio_network_adaptor/smoothing_filter.cc", |
729 "audio_network_adaptor/smoothing_filter.h", | 735 "audio_network_adaptor/smoothing_filter.h", |
730 ] | 736 ] |
731 configs += [ "../..:common_config" ] | 737 configs += [ "../..:common_config" ] |
732 public_configs = [ "../..:common_inherited_config" ] | 738 public_configs = [ "../..:common_inherited_config" ] |
733 | 739 |
734 if (rtc_enable_protobuf) { | 740 if (rtc_enable_protobuf) { |
735 deps = [ | 741 deps = [ |
| 742 ":ana_config_proto", |
736 ":ana_debug_dump_proto", | 743 ":ana_debug_dump_proto", |
737 ] | 744 ] |
738 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 745 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
739 } | 746 } |
740 } | 747 } |
741 | 748 |
742 config("neteq_config") { | 749 config("neteq_config") { |
743 include_dirs = [ | 750 include_dirs = [ |
744 # Need Opus header files for the audio classifier. | 751 # Need Opus header files for the audio classifier. |
745 "//third_party/opus/src/celt", | 752 "//third_party/opus/src/celt", |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 "//testing/gtest", | 1597 "//testing/gtest", |
1591 ] | 1598 ] |
1592 | 1599 |
1593 if (is_clang) { | 1600 if (is_clang) { |
1594 # Suppress warnings from Chrome's Clang plugins. | 1601 # Suppress warnings from Chrome's Clang plugins. |
1595 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1602 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1596 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1603 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1597 } | 1604 } |
1598 } | 1605 } |
1599 } | 1606 } |
OLD | NEW |