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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 "../..:webrtc_common", | 879 "../..:webrtc_common", |
880 "../../base:rtc_base_approved", | 880 "../../base:rtc_base_approved", |
881 ] | 881 ] |
882 } | 882 } |
883 | 883 |
884 if (rtc_enable_protobuf) { | 884 if (rtc_enable_protobuf) { |
885 proto_library("ana_debug_dump_proto") { | 885 proto_library("ana_debug_dump_proto") { |
886 sources = [ | 886 sources = [ |
887 "audio_network_adaptor/debug_dump.proto", | 887 "audio_network_adaptor/debug_dump.proto", |
888 ] | 888 ] |
889 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 889 proto_in_dir = "//" |
| 890 proto_out_dir = "." |
890 } | 891 } |
891 proto_library("ana_config_proto") { | 892 proto_library("ana_config_proto") { |
892 sources = [ | 893 sources = [ |
893 "audio_network_adaptor/config.proto", | 894 "audio_network_adaptor/config.proto", |
894 ] | 895 ] |
895 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" | 896 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" |
896 } | 897 } |
897 } | 898 } |
898 | 899 |
899 rtc_static_library("audio_network_adaptor") { | 900 rtc_static_library("audio_network_adaptor") { |
900 sources = [ | 901 sources = [ |
901 "audio_network_adaptor/audio_network_adaptor.cc", | 902 "audio_network_adaptor/audio_network_adaptor.cc", |
902 "audio_network_adaptor/audio_network_adaptor_impl.cc", | 903 "audio_network_adaptor/audio_network_adaptor_impl.cc", |
903 "audio_network_adaptor/audio_network_adaptor_impl.h", | 904 "audio_network_adaptor/audio_network_adaptor_impl.h", |
904 "audio_network_adaptor/bitrate_controller.cc", | 905 "audio_network_adaptor/bitrate_controller.cc", |
905 "audio_network_adaptor/bitrate_controller.h", | 906 "audio_network_adaptor/bitrate_controller.h", |
906 "audio_network_adaptor/channel_controller.cc", | 907 "audio_network_adaptor/channel_controller.cc", |
907 "audio_network_adaptor/channel_controller.h", | 908 "audio_network_adaptor/channel_controller.h", |
908 "audio_network_adaptor/controller.cc", | 909 "audio_network_adaptor/controller.cc", |
909 "audio_network_adaptor/controller.h", | 910 "audio_network_adaptor/controller.h", |
910 "audio_network_adaptor/controller_manager.cc", | 911 "audio_network_adaptor/controller_manager.cc", |
911 "audio_network_adaptor/controller_manager.h", | 912 "audio_network_adaptor/controller_manager.h", |
912 "audio_network_adaptor/debug_dump_writer.cc", | 913 "audio_network_adaptor/debug_dump_writer.cc", |
913 "audio_network_adaptor/debug_dump_writer.h", | 914 "audio_network_adaptor/debug_dump_writer.h", |
914 "audio_network_adaptor/dtx_controller.cc", | 915 "audio_network_adaptor/dtx_controller.cc", |
915 "audio_network_adaptor/dtx_controller.h", | 916 "audio_network_adaptor/dtx_controller.h", |
| 917 "audio_network_adaptor/event_log_writer.cc", |
| 918 "audio_network_adaptor/event_log_writer.h", |
916 "audio_network_adaptor/fec_controller.cc", | 919 "audio_network_adaptor/fec_controller.cc", |
917 "audio_network_adaptor/fec_controller.h", | 920 "audio_network_adaptor/fec_controller.h", |
918 "audio_network_adaptor/frame_length_controller.cc", | 921 "audio_network_adaptor/frame_length_controller.cc", |
919 "audio_network_adaptor/frame_length_controller.h", | 922 "audio_network_adaptor/frame_length_controller.h", |
920 "audio_network_adaptor/include/audio_network_adaptor.h", | 923 "audio_network_adaptor/include/audio_network_adaptor.h", |
921 ] | 924 ] |
922 | 925 |
923 deps = [ | 926 deps = [ |
924 "../..:webrtc_common", | 927 "../..:webrtc_common", |
925 "../../base:rtc_base_approved", | 928 "../../base:rtc_base_approved", |
926 "../../common_audio", | 929 "../../common_audio", |
| 930 "../../logging:rtc_event_log_api", |
927 "../../system_wrappers", | 931 "../../system_wrappers", |
928 ] | 932 ] |
929 | 933 |
930 if (rtc_enable_protobuf) { | 934 if (rtc_enable_protobuf) { |
931 deps += [ | 935 deps += [ |
932 ":ana_config_proto", | 936 ":ana_config_proto", |
933 ":ana_debug_dump_proto", | 937 ":ana_debug_dump_proto", |
934 ] | 938 ] |
935 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 939 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
936 } | 940 } |
| 941 |
| 942 if (!build_with_chromium && is_clang) { |
| 943 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 944 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 945 } |
937 } | 946 } |
938 | 947 |
939 rtc_static_library("neteq") { | 948 rtc_static_library("neteq") { |
940 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 949 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
941 # Cyclic dependency with :audio_coding if enabled. | 950 # Cyclic dependency with :audio_coding if enabled. |
942 check_includes = false | 951 check_includes = false |
943 | 952 |
944 sources = [ | 953 sources = [ |
945 "neteq/accelerate.cc", | 954 "neteq/accelerate.cc", |
946 "neteq/accelerate.h", | 955 "neteq/accelerate.h", |
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1911 "../../test:test_main", | 1920 "../../test:test_main", |
1912 "//testing/gtest", | 1921 "//testing/gtest", |
1913 ] | 1922 ] |
1914 | 1923 |
1915 if (!build_with_chromium && is_clang) { | 1924 if (!build_with_chromium && is_clang) { |
1916 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1925 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1917 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1926 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1918 } | 1927 } |
1919 } | 1928 } |
1920 } | 1929 } |
OLD | NEW |