| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
| 10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 ] | 58 ] |
| 59 deps = [ | 59 deps = [ |
| 60 "../..:webrtc_common", | 60 "../..:webrtc_common", |
| 61 "../../base:rtc_base_approved", | 61 "../../base:rtc_base_approved", |
| 62 "../../api/audio_codecs:audio_codecs_api", | 62 "../../api/audio_codecs:audio_codecs_api", |
| 63 ] + audio_codec_deps | 63 ] + audio_codec_deps |
| 64 defines = audio_codec_defines | 64 defines = audio_codec_defines |
| 65 } | 65 } |
| 66 | 66 |
| 67 rtc_static_library("rent_a_codec") { | 67 rtc_static_library("rent_a_codec") { |
| 68 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | |
| 69 # Gives cyclic dependency with :neteq and :audio_coding if enabled. | |
| 70 check_includes = false | |
| 71 | |
| 72 sources = [ | 68 sources = [ |
| 73 "acm2/acm_codec_database.cc", | 69 "acm2/acm_codec_database.cc", |
| 74 "acm2/acm_codec_database.h", | 70 "acm2/acm_codec_database.h", |
| 75 "acm2/rent_a_codec.cc", | 71 "acm2/rent_a_codec.cc", |
| 76 "acm2/rent_a_codec.h", | 72 "acm2/rent_a_codec.h", |
| 77 ] | 73 ] |
| 78 deps = [ | 74 deps = [ |
| 79 "../../api/audio_codecs:audio_codecs_api", | 75 "../../api/audio_codecs:audio_codecs_api", |
| 80 "../..:webrtc_common", | 76 "../..:webrtc_common", |
| 81 "../../base:rtc_base_approved", | 77 "../../base:rtc_base_approved", |
| 78 "../../system_wrappers", |
| 79 ":audio_coding_module_typedefs", |
| 80 ":audio_encoder_interface", |
| 81 ":isac_common", |
| 82 ":isac_fix_c", |
| 83 ":neteq_decoder_enum", |
| 82 ] + audio_codec_deps | 84 ] + audio_codec_deps |
| 83 defines = audio_codec_defines | 85 defines = audio_codec_defines |
| 84 } | 86 } |
| 85 | 87 |
| 86 config("audio_coding_config") { | 88 config("audio_coding_config") { |
| 87 include_dirs = [ | 89 include_dirs = [ |
| 88 "include", | 90 "include", |
| 89 "../include", | 91 "../include", |
| 90 ] | 92 ] |
| 91 } | 93 } |
| 92 | 94 |
| 95 rtc_source_set("audio_coding_module_typedefs") { |
| 96 sources = [ |
| 97 "include/audio_coding_module_typedefs.h", |
| 98 ] |
| 99 deps = [ |
| 100 "../..:webrtc_common", |
| 101 ] |
| 102 } |
| 103 |
| 93 rtc_static_library("audio_coding") { | 104 rtc_static_library("audio_coding") { |
| 94 sources = [ | 105 sources = [ |
| 95 "acm2/acm_common_defs.h", | |
| 96 "acm2/acm_receiver.cc", | 106 "acm2/acm_receiver.cc", |
| 97 "acm2/acm_receiver.h", | 107 "acm2/acm_receiver.h", |
| 98 "acm2/acm_resampler.cc", | 108 "acm2/acm_resampler.cc", |
| 99 "acm2/acm_resampler.h", | 109 "acm2/acm_resampler.h", |
| 100 "acm2/audio_coding_module.cc", | 110 "acm2/audio_coding_module.cc", |
| 101 "acm2/call_statistics.cc", | 111 "acm2/call_statistics.cc", |
| 102 "acm2/call_statistics.h", | 112 "acm2/call_statistics.h", |
| 103 "acm2/codec_manager.cc", | 113 "acm2/codec_manager.cc", |
| 104 "acm2/codec_manager.h", | 114 "acm2/codec_manager.h", |
| 105 "include/audio_coding_module.h", | 115 "include/audio_coding_module.h", |
| 106 "include/audio_coding_module_typedefs.h", | |
| 107 ] | 116 ] |
| 108 | 117 |
| 109 defines = [] | 118 defines = [] |
| 110 | 119 |
| 111 public_configs = [ ":audio_coding_config" ] | 120 public_configs = [ ":audio_coding_config" ] |
| 112 | 121 |
| 113 if (rtc_include_opus) { | 122 if (rtc_include_opus) { |
| 114 public_deps = [ | 123 public_deps = [ |
| 115 ":webrtc_opus", | 124 ":webrtc_opus", |
| 116 ] | 125 ] |
| 117 } | 126 } |
| 118 | 127 |
| 119 if (is_win) { | 128 if (is_win) { |
| 120 cflags = [ | 129 cflags = [ |
| 121 # TODO(kjellander): Bug 261: fix this warning. | 130 # TODO(kjellander): Bug 261: fix this warning. |
| 122 "/wd4373", # virtual function override. | 131 "/wd4373", # virtual function override. |
| 123 ] | 132 ] |
| 124 } | 133 } |
| 125 | 134 |
| 126 deps = audio_coding_deps + [ | 135 deps = audio_coding_deps + [ |
| 127 "../../api/audio_codecs:audio_codecs_api", | 136 "../../api/audio_codecs:audio_codecs_api", |
| 128 "../../api/audio_codecs:builtin_audio_decoder_factory", | 137 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 138 ":audio_coding_module_typedefs", |
| 139 ":audio_encoder_interface", |
| 129 ":neteq", | 140 ":neteq", |
| 130 ":rent_a_codec", | 141 ":rent_a_codec", |
| 131 "../../base:rtc_base_approved", | 142 "../../base:rtc_base_approved", |
| 132 "../../logging:rtc_event_log_api", | 143 "../../logging:rtc_event_log_api", |
| 133 ] | 144 ] |
| 134 defines = audio_coding_defines | 145 defines = audio_coding_defines |
| 135 } | 146 } |
| 136 | 147 |
| 137 rtc_static_library("legacy_encoded_audio_frame") { | 148 rtc_static_library("legacy_encoded_audio_frame") { |
| 138 sources = [ | 149 sources = [ |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 ] | 931 ] |
| 921 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 932 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 922 } | 933 } |
| 923 | 934 |
| 924 if (!build_with_chromium && is_clang) { | 935 if (!build_with_chromium && is_clang) { |
| 925 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 936 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 926 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 937 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 927 } | 938 } |
| 928 } | 939 } |
| 929 | 940 |
| 941 rtc_source_set("neteq_decoder_enum") { |
| 942 sources = [ |
| 943 "neteq/neteq_decoder_enum.cc", |
| 944 "neteq/neteq_decoder_enum.h", |
| 945 ] |
| 946 deps = [ |
| 947 "../../api/audio_codecs:audio_codecs_api", |
| 948 "../../base:rtc_base_approved", |
| 949 ] |
| 950 } |
| 951 |
| 930 rtc_static_library("neteq") { | 952 rtc_static_library("neteq") { |
| 931 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | |
| 932 # Cyclic dependency with :audio_coding if enabled. | |
| 933 check_includes = false | |
| 934 | |
| 935 sources = [ | 953 sources = [ |
| 936 "neteq/accelerate.cc", | 954 "neteq/accelerate.cc", |
| 937 "neteq/accelerate.h", | 955 "neteq/accelerate.h", |
| 938 "neteq/audio_decoder_impl.cc", | 956 "neteq/audio_decoder_impl.cc", |
| 939 "neteq/audio_decoder_impl.h", | 957 "neteq/audio_decoder_impl.h", |
| 940 "neteq/audio_multi_vector.cc", | 958 "neteq/audio_multi_vector.cc", |
| 941 "neteq/audio_multi_vector.h", | 959 "neteq/audio_multi_vector.h", |
| 942 "neteq/audio_vector.cc", | 960 "neteq/audio_vector.cc", |
| 943 "neteq/audio_vector.h", | 961 "neteq/audio_vector.h", |
| 944 "neteq/background_noise.cc", | 962 "neteq/background_noise.cc", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 "neteq/sync_buffer.h", | 1018 "neteq/sync_buffer.h", |
| 1001 "neteq/tick_timer.cc", | 1019 "neteq/tick_timer.cc", |
| 1002 "neteq/tick_timer.h", | 1020 "neteq/tick_timer.h", |
| 1003 "neteq/time_stretch.cc", | 1021 "neteq/time_stretch.cc", |
| 1004 "neteq/time_stretch.h", | 1022 "neteq/time_stretch.h", |
| 1005 "neteq/timestamp_scaler.cc", | 1023 "neteq/timestamp_scaler.cc", |
| 1006 "neteq/timestamp_scaler.h", | 1024 "neteq/timestamp_scaler.h", |
| 1007 ] | 1025 ] |
| 1008 | 1026 |
| 1009 deps = [ | 1027 deps = [ |
| 1028 ":audio_coding_module_typedefs", |
| 1010 ":cng", | 1029 ":cng", |
| 1011 ":g711", | 1030 ":g711", |
| 1012 ":isac_fix", | 1031 ":isac_fix", |
| 1032 ":neteq_decoder_enum", |
| 1013 ":pcm16b", | 1033 ":pcm16b", |
| 1014 ":rent_a_codec", | |
| 1015 "../..:webrtc_common", | 1034 "../..:webrtc_common", |
| 1016 "../../api/audio_codecs:audio_codecs_api", | 1035 "../../api/audio_codecs:audio_codecs_api", |
| 1017 "../../base:gtest_prod", | 1036 "../../base:gtest_prod", |
| 1018 "../../base:rtc_base_approved", | 1037 "../../base:rtc_base_approved", |
| 1019 "../../common_audio", | 1038 "../../common_audio", |
| 1020 "../../system_wrappers", | 1039 "../../system_wrappers", |
| 1021 ] | 1040 ] |
| 1022 | 1041 |
| 1023 defines = [] | 1042 defines = [] |
| 1024 | 1043 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 "test/TestVADDTX.cc", | 1145 "test/TestVADDTX.cc", |
| 1127 "test/Tester.cc", | 1146 "test/Tester.cc", |
| 1128 "test/TwoWayCommunication.cc", | 1147 "test/TwoWayCommunication.cc", |
| 1129 "test/iSACTest.cc", | 1148 "test/iSACTest.cc", |
| 1130 "test/opus_test.cc", | 1149 "test/opus_test.cc", |
| 1131 "test/target_delay_unittest.cc", | 1150 "test/target_delay_unittest.cc", |
| 1132 "test/utility.cc", | 1151 "test/utility.cc", |
| 1133 ] | 1152 ] |
| 1134 deps = [ | 1153 deps = [ |
| 1135 ":audio_coding", | 1154 ":audio_coding", |
| 1155 ":audio_coding_module_typedefs", |
| 1136 ":audio_format_conversion", | 1156 ":audio_format_conversion", |
| 1137 ":pcm16b_c", | 1157 ":pcm16b_c", |
| 1138 "../..:webrtc_common", | 1158 "../..:webrtc_common", |
| 1139 "../../api/audio_codecs:builtin_audio_decoder_factory", | 1159 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 1140 "../../base:rtc_base_approved", | 1160 "../../base:rtc_base_approved", |
| 1141 "../../system_wrappers:system_wrappers", | 1161 "../../system_wrappers:system_wrappers", |
| 1142 "../../test:fileutils", | 1162 "../../test:fileutils", |
| 1143 "../../test:test_support", | 1163 "../../test:test_support", |
| 1144 ] | 1164 ] |
| 1145 defines = audio_coding_defines | 1165 defines = audio_coding_defines |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1221 testonly = true | 1241 testonly = true |
| 1222 sources = [ | 1242 sources = [ |
| 1223 "test/Channel.cc", | 1243 "test/Channel.cc", |
| 1224 "test/PCMFile.cc", | 1244 "test/PCMFile.cc", |
| 1225 "test/delay_test.cc", | 1245 "test/delay_test.cc", |
| 1226 "test/utility.cc", | 1246 "test/utility.cc", |
| 1227 ] | 1247 ] |
| 1228 | 1248 |
| 1229 deps = [ | 1249 deps = [ |
| 1230 ":audio_coding", | 1250 ":audio_coding", |
| 1251 ":audio_coding_module_typedefs", |
| 1231 ":audio_format_conversion", | 1252 ":audio_format_conversion", |
| 1232 "../../:webrtc_common", | 1253 "../../:webrtc_common", |
| 1233 "../../base:rtc_base_approved", | 1254 "../../base:rtc_base_approved", |
| 1234 "../../system_wrappers", | 1255 "../../system_wrappers", |
| 1235 "../../system_wrappers:system_wrappers_default", | 1256 "../../system_wrappers:system_wrappers_default", |
| 1236 "../../test:test_support", | 1257 "../../test:test_support", |
| 1237 "../rtp_rtcp", | 1258 "../rtp_rtcp", |
| 1238 "//testing/gtest", | 1259 "//testing/gtest", |
| 1239 "//third_party/gflags:gflags", | 1260 "//third_party/gflags:gflags", |
| 1240 ] | 1261 ] |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2029 "neteq/time_stretch_unittest.cc", | 2050 "neteq/time_stretch_unittest.cc", |
| 2030 "neteq/timestamp_scaler_unittest.cc", | 2051 "neteq/timestamp_scaler_unittest.cc", |
| 2031 "neteq/tools/input_audio_file_unittest.cc", | 2052 "neteq/tools/input_audio_file_unittest.cc", |
| 2032 "neteq/tools/packet_unittest.cc", | 2053 "neteq/tools/packet_unittest.cc", |
| 2033 ] | 2054 ] |
| 2034 | 2055 |
| 2035 deps = [ | 2056 deps = [ |
| 2036 ":acm_receive_test", | 2057 ":acm_receive_test", |
| 2037 ":acm_send_test", | 2058 ":acm_send_test", |
| 2038 ":audio_coding", | 2059 ":audio_coding", |
| 2060 ":audio_coding_module_typedefs", |
| 2039 ":audio_encoder_interface", | 2061 ":audio_encoder_interface", |
| 2040 ":audio_format_conversion", | 2062 ":audio_format_conversion", |
| 2041 ":audio_network_adaptor", | 2063 ":audio_network_adaptor", |
| 2042 ":cng", | 2064 ":cng", |
| 2043 ":g711", | 2065 ":g711", |
| 2044 ":ilbc", | 2066 ":ilbc", |
| 2045 ":isac", | 2067 ":isac", |
| 2046 ":isac_c", | 2068 ":isac_c", |
| 2047 ":isac_fix", | 2069 ":isac_fix", |
| 2048 ":legacy_encoded_audio_frame", | 2070 ":legacy_encoded_audio_frame", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2106 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2128 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
| 2107 # TODO(kwiberg): Remove this. | 2129 # TODO(kwiberg): Remove this. |
| 2108 rtc_source_set("builtin_audio_decoder_factory") { | 2130 rtc_source_set("builtin_audio_decoder_factory") { |
| 2109 sources = [ | 2131 sources = [ |
| 2110 "codecs/builtin_audio_decoder_factory.h", | 2132 "codecs/builtin_audio_decoder_factory.h", |
| 2111 ] | 2133 ] |
| 2112 deps = [ | 2134 deps = [ |
| 2113 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2135 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2114 ] | 2136 ] |
| 2115 } | 2137 } |
| OLD | NEW |