| 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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 deps = [ | 815 deps = [ |
| 816 "../../base:rtc_base_approved", | 816 "../../base:rtc_base_approved", |
| 817 ] | 817 ] |
| 818 } | 818 } |
| 819 | 819 |
| 820 if (rtc_enable_protobuf) { | 820 if (rtc_enable_protobuf) { |
| 821 proto_library("ana_debug_dump_proto") { | 821 proto_library("ana_debug_dump_proto") { |
| 822 sources = [ | 822 sources = [ |
| 823 "audio_network_adaptor/debug_dump.proto", | 823 "audio_network_adaptor/debug_dump.proto", |
| 824 ] | 824 ] |
| 825 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 825 proto_in_dir = "//" |
| 826 proto_out_dir = "." |
| 826 } | 827 } |
| 827 proto_library("ana_config_proto") { | 828 proto_library("ana_config_proto") { |
| 828 sources = [ | 829 sources = [ |
| 829 "audio_network_adaptor/config.proto", | 830 "audio_network_adaptor/config.proto", |
| 830 ] | 831 ] |
| 831 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 832 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
| 832 } | 833 } |
| 833 } | 834 } |
| 834 | 835 |
| 835 rtc_static_library("audio_network_adaptor") { | 836 rtc_static_library("audio_network_adaptor") { |
| 836 sources = [ | 837 sources = [ |
| 837 "audio_network_adaptor/audio_network_adaptor.cc", | 838 "audio_network_adaptor/audio_network_adaptor.cc", |
| 838 "audio_network_adaptor/audio_network_adaptor_impl.cc", | 839 "audio_network_adaptor/audio_network_adaptor_impl.cc", |
| 839 "audio_network_adaptor/audio_network_adaptor_impl.h", | 840 "audio_network_adaptor/audio_network_adaptor_impl.h", |
| 840 "audio_network_adaptor/bitrate_controller.cc", | 841 "audio_network_adaptor/bitrate_controller.cc", |
| 841 "audio_network_adaptor/bitrate_controller.h", | 842 "audio_network_adaptor/bitrate_controller.h", |
| 842 "audio_network_adaptor/channel_controller.cc", | 843 "audio_network_adaptor/channel_controller.cc", |
| 843 "audio_network_adaptor/channel_controller.h", | 844 "audio_network_adaptor/channel_controller.h", |
| 844 "audio_network_adaptor/controller.cc", | 845 "audio_network_adaptor/controller.cc", |
| 845 "audio_network_adaptor/controller.h", | 846 "audio_network_adaptor/controller.h", |
| 846 "audio_network_adaptor/controller_manager.cc", | 847 "audio_network_adaptor/controller_manager.cc", |
| 847 "audio_network_adaptor/controller_manager.h", | 848 "audio_network_adaptor/controller_manager.h", |
| 848 "audio_network_adaptor/debug_dump_writer.cc", | 849 "audio_network_adaptor/debug_dump_writer.cc", |
| 849 "audio_network_adaptor/debug_dump_writer.h", | 850 "audio_network_adaptor/debug_dump_writer.h", |
| 850 "audio_network_adaptor/dtx_controller.cc", | 851 "audio_network_adaptor/dtx_controller.cc", |
| 851 "audio_network_adaptor/dtx_controller.h", | 852 "audio_network_adaptor/dtx_controller.h", |
| 853 "audio_network_adaptor/event_log_writer.cc", |
| 854 "audio_network_adaptor/event_log_writer.h", |
| 852 "audio_network_adaptor/fec_controller.cc", | 855 "audio_network_adaptor/fec_controller.cc", |
| 853 "audio_network_adaptor/fec_controller.h", | 856 "audio_network_adaptor/fec_controller.h", |
| 854 "audio_network_adaptor/frame_length_controller.cc", | 857 "audio_network_adaptor/frame_length_controller.cc", |
| 855 "audio_network_adaptor/frame_length_controller.h", | 858 "audio_network_adaptor/frame_length_controller.h", |
| 856 "audio_network_adaptor/include/audio_network_adaptor.h", | 859 "audio_network_adaptor/include/audio_network_adaptor.h", |
| 857 ] | 860 ] |
| 858 | 861 |
| 859 deps = [ | 862 deps = [ |
| 860 "../..:webrtc_common", | 863 "../..:webrtc_common", |
| 864 "../../logging:rtc_event_log_api", |
| 861 "../../system_wrappers", | 865 "../../system_wrappers", |
| 862 ] | 866 ] |
| 863 | 867 |
| 864 if (rtc_enable_protobuf) { | 868 if (rtc_enable_protobuf) { |
| 865 deps += [ | 869 deps += [ |
| 866 ":ana_config_proto", | 870 ":ana_config_proto", |
| 867 ":ana_debug_dump_proto", | 871 ":ana_debug_dump_proto", |
| 868 ] | 872 ] |
| 869 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 873 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 870 } | 874 } |
| 875 |
| 876 if (!build_with_chromium && is_clang) { |
| 877 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 878 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 879 } |
| 871 } | 880 } |
| 872 | 881 |
| 873 config("neteq_config") { | 882 config("neteq_config") { |
| 874 include_dirs = [ | 883 include_dirs = [ |
| 875 # Need Opus header files for the audio classifier. | 884 # Need Opus header files for the audio classifier. |
| 876 "//third_party/opus/src/celt", | 885 "//third_party/opus/src/celt", |
| 877 "//third_party/opus/src/src", | 886 "//third_party/opus/src/src", |
| 878 ] | 887 ] |
| 879 } | 888 } |
| 880 | 889 |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1778 "../../test:test_support", | 1787 "../../test:test_support", |
| 1779 "//testing/gtest", | 1788 "//testing/gtest", |
| 1780 ] | 1789 ] |
| 1781 | 1790 |
| 1782 if (!build_with_chromium && is_clang) { | 1791 if (!build_with_chromium && is_clang) { |
| 1783 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1792 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1784 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1793 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1785 } | 1794 } |
| 1786 } | 1795 } |
| 1787 } | 1796 } |
| OLD | NEW |