| 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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 | 929 |
| 930 if (rtc_enable_protobuf) { | 930 if (rtc_enable_protobuf) { |
| 931 deps += [ | 931 deps += [ |
| 932 ":ana_config_proto", | 932 ":ana_config_proto", |
| 933 ":ana_debug_dump_proto", | 933 ":ana_debug_dump_proto", |
| 934 ] | 934 ] |
| 935 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 935 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 936 } | 936 } |
| 937 } | 937 } |
| 938 | 938 |
| 939 config("neteq_config") { | |
| 940 include_dirs = [ | |
| 941 # Need Opus header files for the audio classifier. | |
| 942 "//third_party/opus/src/celt", | |
| 943 "//third_party/opus/src/src", | |
| 944 ] | |
| 945 } | |
| 946 | |
| 947 rtc_static_library("neteq") { | 939 rtc_static_library("neteq") { |
| 948 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 940 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 949 # Cyclic dependency with :audio_coding if enabled. | 941 # Cyclic dependency with :audio_coding if enabled. |
| 950 check_includes = false | 942 check_includes = false |
| 951 | 943 |
| 952 sources = [ | 944 sources = [ |
| 953 "neteq/accelerate.cc", | 945 "neteq/accelerate.cc", |
| 954 "neteq/accelerate.h", | 946 "neteq/accelerate.h", |
| 955 "neteq/audio_classifier.cc", | |
| 956 "neteq/audio_classifier.h", | |
| 957 "neteq/audio_decoder_impl.cc", | 947 "neteq/audio_decoder_impl.cc", |
| 958 "neteq/audio_decoder_impl.h", | 948 "neteq/audio_decoder_impl.h", |
| 959 "neteq/audio_multi_vector.cc", | 949 "neteq/audio_multi_vector.cc", |
| 960 "neteq/audio_multi_vector.h", | 950 "neteq/audio_multi_vector.h", |
| 961 "neteq/audio_vector.cc", | 951 "neteq/audio_vector.cc", |
| 962 "neteq/audio_vector.h", | 952 "neteq/audio_vector.h", |
| 963 "neteq/background_noise.cc", | 953 "neteq/background_noise.cc", |
| 964 "neteq/background_noise.h", | 954 "neteq/background_noise.h", |
| 965 "neteq/buffer_level_filter.cc", | 955 "neteq/buffer_level_filter.cc", |
| 966 "neteq/buffer_level_filter.h", | 956 "neteq/buffer_level_filter.h", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 "neteq/sync_buffer.cc", | 1008 "neteq/sync_buffer.cc", |
| 1019 "neteq/sync_buffer.h", | 1009 "neteq/sync_buffer.h", |
| 1020 "neteq/tick_timer.cc", | 1010 "neteq/tick_timer.cc", |
| 1021 "neteq/tick_timer.h", | 1011 "neteq/tick_timer.h", |
| 1022 "neteq/time_stretch.cc", | 1012 "neteq/time_stretch.cc", |
| 1023 "neteq/time_stretch.h", | 1013 "neteq/time_stretch.h", |
| 1024 "neteq/timestamp_scaler.cc", | 1014 "neteq/timestamp_scaler.cc", |
| 1025 "neteq/timestamp_scaler.h", | 1015 "neteq/timestamp_scaler.h", |
| 1026 ] | 1016 ] |
| 1027 | 1017 |
| 1028 public_configs = [ ":neteq_config" ] | |
| 1029 | |
| 1030 deps = [ | 1018 deps = [ |
| 1031 ":audio_decoder_factory_interface", | 1019 ":audio_decoder_factory_interface", |
| 1032 ":audio_decoder_interface", | 1020 ":audio_decoder_interface", |
| 1033 ":audio_format", | 1021 ":audio_format", |
| 1034 ":builtin_audio_decoder_factory", | 1022 ":builtin_audio_decoder_factory", |
| 1035 ":cng", | 1023 ":cng", |
| 1036 ":g711", | 1024 ":g711", |
| 1037 ":isac_fix", | 1025 ":isac_fix", |
| 1038 ":pcm16b", | 1026 ":pcm16b", |
| 1039 ":rent_a_codec", | 1027 ":rent_a_codec", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 if (rtc_include_tests) { | 1090 if (rtc_include_tests) { |
| 1103 group("audio_coding_tests") { | 1091 group("audio_coding_tests") { |
| 1104 testonly = true | 1092 testonly = true |
| 1105 public_deps = [ | 1093 public_deps = [ |
| 1106 ":RTPchange", | 1094 ":RTPchange", |
| 1107 ":RTPencode", | 1095 ":RTPencode", |
| 1108 ":RTPjitter", | 1096 ":RTPjitter", |
| 1109 ":RTPtimeshift", | 1097 ":RTPtimeshift", |
| 1110 ":acm_receive_test", | 1098 ":acm_receive_test", |
| 1111 ":acm_send_test", | 1099 ":acm_send_test", |
| 1112 ":audio_classifier_test", | |
| 1113 ":audio_codec_speed_tests", | 1100 ":audio_codec_speed_tests", |
| 1114 ":audio_decoder_unittests", | 1101 ":audio_decoder_unittests", |
| 1115 ":audio_decoder_unittests", | 1102 ":audio_decoder_unittests", |
| 1116 ":delay_test", | 1103 ":delay_test", |
| 1117 ":g711_test", | 1104 ":g711_test", |
| 1118 ":g722_test", | 1105 ":g722_test", |
| 1119 ":ilbc_test", | 1106 ":ilbc_test", |
| 1120 ":insert_packet_with_timing", | 1107 ":insert_packet_with_timing", |
| 1121 ":isac_api_test", | 1108 ":isac_api_test", |
| 1122 ":isac_fix_test", | 1109 ":isac_fix_test", |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1710 deps = [ | 1697 deps = [ |
| 1711 ":neteq", | 1698 ":neteq", |
| 1712 ":neteq_test_support", | 1699 ":neteq_test_support", |
| 1713 "../..:webrtc_common", | 1700 "../..:webrtc_common", |
| 1714 "../../system_wrappers:system_wrappers_default", | 1701 "../../system_wrappers:system_wrappers_default", |
| 1715 "../../test:test_support", | 1702 "../../test:test_support", |
| 1716 "//third_party/gflags", | 1703 "//third_party/gflags", |
| 1717 ] | 1704 ] |
| 1718 } | 1705 } |
| 1719 | 1706 |
| 1720 rtc_executable("audio_classifier_test") { | |
| 1721 testonly = true | |
| 1722 sources = [ | |
| 1723 "neteq/test/audio_classifier_test.cc", | |
| 1724 ] | |
| 1725 deps = [ | |
| 1726 ":neteq", | |
| 1727 ":webrtc_opus", | |
| 1728 "../../system_wrappers:system_wrappers_default", | |
| 1729 ] | |
| 1730 } | |
| 1731 | |
| 1732 rtc_executable("neteq_ilbc_quality_test") { | 1707 rtc_executable("neteq_ilbc_quality_test") { |
| 1733 testonly = true | 1708 testonly = true |
| 1734 | 1709 |
| 1735 sources = [ | 1710 sources = [ |
| 1736 "neteq/test/neteq_ilbc_quality_test.cc", | 1711 "neteq/test/neteq_ilbc_quality_test.cc", |
| 1737 ] | 1712 ] |
| 1738 | 1713 |
| 1739 deps = [ | 1714 deps = [ |
| 1740 ":ilbc", | 1715 ":ilbc", |
| 1741 ":neteq", | 1716 ":neteq", |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1936 "../../test:test_main", | 1911 "../../test:test_main", |
| 1937 "//testing/gtest", | 1912 "//testing/gtest", |
| 1938 ] | 1913 ] |
| 1939 | 1914 |
| 1940 if (!build_with_chromium && is_clang) { | 1915 if (!build_with_chromium && is_clang) { |
| 1941 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1916 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1942 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1917 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1943 } | 1918 } |
| 1944 } | 1919 } |
| 1945 } | 1920 } |
| OLD | NEW |