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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 rtc_static_library("builtin_audio_encoder_factory") { | 65 rtc_static_library("builtin_audio_encoder_factory") { |
66 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 66 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
67 # Errors on cyclic dependency with :isac_fix if enabled. | 67 # Errors on cyclic dependency with :isac_fix if enabled. |
68 check_includes = false | 68 check_includes = false |
69 sources = [ | 69 sources = [ |
70 "codecs/builtin_audio_encoder_factory.cc", | 70 "codecs/builtin_audio_encoder_factory.cc", |
71 "codecs/builtin_audio_encoder_factory.h", | 71 "codecs/builtin_audio_encoder_factory.h", |
72 ] | 72 ] |
73 deps = [ | 73 deps = [ |
74 "../..:webrtc_common", | 74 "../..:webrtc_common", |
| 75 "../../base:protobuf_utils", |
75 "../../base:rtc_base_approved", | 76 "../../base:rtc_base_approved", |
76 ":audio_encoder_factory_interface", | 77 ":audio_encoder_factory_interface", |
77 ] + audio_codec_deps | 78 ] + audio_codec_deps |
78 defines = audio_codec_defines | 79 defines = audio_codec_defines |
79 } | 80 } |
80 | 81 |
81 rtc_static_library("builtin_audio_decoder_factory_internal") { | 82 rtc_static_library("builtin_audio_decoder_factory_internal") { |
82 sources = [ | 83 sources = [ |
83 "codecs/builtin_audio_decoder_factory_internal.cc", | 84 "codecs/builtin_audio_decoder_factory_internal.cc", |
84 "codecs/builtin_audio_decoder_factory_internal.h", | 85 "codecs/builtin_audio_decoder_factory_internal.h", |
85 ] | 86 ] |
86 deps = [ | 87 deps = [ |
87 "../..:webrtc_common", | 88 "../..:webrtc_common", |
88 "../../base:rtc_base_approved", | 89 "../../base:rtc_base_approved", |
89 "../../api/audio_codecs:audio_codecs_api", | 90 "../../api/audio_codecs:audio_codecs_api", |
90 ] + audio_codec_deps | 91 ] + audio_codec_deps |
91 defines = audio_codec_defines | 92 defines = audio_codec_defines |
92 } | 93 } |
93 | 94 |
94 rtc_static_library("rent_a_codec") { | 95 rtc_static_library("rent_a_codec") { |
95 sources = [ | 96 sources = [ |
96 "acm2/acm_codec_database.cc", | 97 "acm2/acm_codec_database.cc", |
97 "acm2/acm_codec_database.h", | 98 "acm2/acm_codec_database.h", |
98 "acm2/rent_a_codec.cc", | 99 "acm2/rent_a_codec.cc", |
99 "acm2/rent_a_codec.h", | 100 "acm2/rent_a_codec.h", |
100 ] | 101 ] |
101 deps = [ | 102 deps = [ |
102 "../../api/audio_codecs:audio_codecs_api", | 103 "../../api/audio_codecs:audio_codecs_api", |
103 "../..:webrtc_common", | 104 "../..:webrtc_common", |
| 105 "../../base:protobuf_utils", |
104 "../../base:rtc_base_approved", | 106 "../../base:rtc_base_approved", |
105 "../../system_wrappers", | 107 "../../system_wrappers", |
106 ":audio_coding_module_typedefs", | 108 ":audio_coding_module_typedefs", |
107 ":audio_encoder_interface", | 109 ":audio_encoder_interface", |
108 ":isac_common", | 110 ":isac_common", |
109 ":isac_fix_c", | 111 ":isac_fix_c", |
110 ":neteq_decoder_enum", | 112 ":neteq_decoder_enum", |
111 ] + audio_codec_deps | 113 ] + audio_codec_deps |
| 114 |
112 defines = audio_codec_defines | 115 defines = audio_codec_defines |
113 } | 116 } |
114 | 117 |
115 config("audio_coding_config") { | 118 config("audio_coding_config") { |
116 include_dirs = [ | 119 include_dirs = [ |
117 "include", | 120 "include", |
118 "../include", | 121 "../include", |
119 ] | 122 ] |
120 } | 123 } |
121 | 124 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 "codecs/opus/audio_decoder_opus.h", | 852 "codecs/opus/audio_decoder_opus.h", |
850 "codecs/opus/audio_encoder_opus.cc", | 853 "codecs/opus/audio_encoder_opus.cc", |
851 "codecs/opus/audio_encoder_opus.h", | 854 "codecs/opus/audio_encoder_opus.h", |
852 ] | 855 ] |
853 | 856 |
854 deps = [ | 857 deps = [ |
855 ":audio_encoder_interface", | 858 ":audio_encoder_interface", |
856 ":audio_network_adaptor", | 859 ":audio_network_adaptor", |
857 "../..:webrtc_common", | 860 "../..:webrtc_common", |
858 "../../api/audio_codecs:audio_codecs_api", | 861 "../../api/audio_codecs:audio_codecs_api", |
| 862 "../../base:protobuf_utils", |
859 "../../base:rtc_base_approved", | 863 "../../base:rtc_base_approved", |
860 "../../base:rtc_numerics", | 864 "../../base:rtc_numerics", |
861 "../../common_audio", | 865 "../../common_audio", |
862 "../../system_wrappers", | 866 "../../system_wrappers", |
863 ] | 867 ] |
864 public_deps = [ | 868 public_deps = [ |
865 ":webrtc_opus_c", | 869 ":webrtc_opus_c", |
866 ] | 870 ] |
867 | 871 |
868 defines = audio_codec_defines | 872 defines = audio_codec_defines |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 "audio_network_adaptor/fec_controller_rplr_based.cc", | 946 "audio_network_adaptor/fec_controller_rplr_based.cc", |
943 "audio_network_adaptor/fec_controller_rplr_based.h", | 947 "audio_network_adaptor/fec_controller_rplr_based.h", |
944 "audio_network_adaptor/frame_length_controller.cc", | 948 "audio_network_adaptor/frame_length_controller.cc", |
945 "audio_network_adaptor/frame_length_controller.h", | 949 "audio_network_adaptor/frame_length_controller.h", |
946 "audio_network_adaptor/include/audio_network_adaptor.h", | 950 "audio_network_adaptor/include/audio_network_adaptor.h", |
947 "audio_network_adaptor/util/threshold_curve.h", | 951 "audio_network_adaptor/util/threshold_curve.h", |
948 ] | 952 ] |
949 | 953 |
950 deps = [ | 954 deps = [ |
951 "../..:webrtc_common", | 955 "../..:webrtc_common", |
| 956 "../../base:protobuf_utils", |
952 "../../base:rtc_base_approved", | 957 "../../base:rtc_base_approved", |
953 "../../common_audio", | 958 "../../common_audio", |
954 "../../logging:rtc_event_log_api", | 959 "../../logging:rtc_event_log_api", |
955 "../../system_wrappers", | 960 "../../system_wrappers", |
956 ] | 961 ] |
957 | 962 |
958 if (rtc_enable_protobuf) { | 963 if (rtc_enable_protobuf) { |
959 deps += [ | 964 deps += [ |
960 ":ana_config_proto", | 965 ":ana_config_proto", |
961 ":ana_debug_dump_proto", | 966 ":ana_debug_dump_proto", |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 testonly = true | 1214 testonly = true |
1210 sources = [ | 1215 sources = [ |
1211 "codecs/opus/opus_complexity_unittest.cc", | 1216 "codecs/opus/opus_complexity_unittest.cc", |
1212 "neteq/test/neteq_performance_unittest.cc", | 1217 "neteq/test/neteq_performance_unittest.cc", |
1213 ] | 1218 ] |
1214 deps = [ | 1219 deps = [ |
1215 ":neteq_test_support", | 1220 ":neteq_test_support", |
1216 ":neteq_unittest_tools", | 1221 ":neteq_unittest_tools", |
1217 ":webrtc_opus", | 1222 ":webrtc_opus", |
1218 "../..:webrtc_common", | 1223 "../..:webrtc_common", |
| 1224 "../../base:protobuf_utils", |
1219 "../../base:rtc_base_approved", | 1225 "../../base:rtc_base_approved", |
1220 "../../system_wrappers:system_wrappers", | 1226 "../../system_wrappers:system_wrappers", |
1221 "../../test:test_support", | 1227 "../../test:test_support", |
1222 ] | 1228 ] |
| 1229 |
1223 if (!build_with_chromium && is_clang) { | 1230 if (!build_with_chromium && is_clang) { |
1224 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1225 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1226 } | 1233 } |
1227 } | 1234 } |
1228 | 1235 |
1229 rtc_source_set("acm_receive_test") { | 1236 rtc_source_set("acm_receive_test") { |
1230 testonly = true | 1237 testonly = true |
1231 sources = [ | 1238 sources = [ |
1232 "acm2/acm_receive_test.cc", | 1239 "acm2/acm_receive_test.cc", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 defines = neteq_defines | 1354 defines = neteq_defines |
1348 | 1355 |
1349 deps += audio_coding_deps | 1356 deps += audio_coding_deps |
1350 deps += [ | 1357 deps += [ |
1351 ":ilbc", | 1358 ":ilbc", |
1352 ":isac", | 1359 ":isac", |
1353 ":isac_fix", | 1360 ":isac_fix", |
1354 ":neteq", | 1361 ":neteq", |
1355 ":neteq_unittest_tools", | 1362 ":neteq_unittest_tools", |
1356 "../../api/audio_codecs:audio_codecs_api", | 1363 "../../api/audio_codecs:audio_codecs_api", |
| 1364 "../../base:protobuf_utils", |
1357 "../../common_audio", | 1365 "../../common_audio", |
1358 "../../test:test_main", | 1366 "../../test:test_main", |
1359 "//testing/gtest", | 1367 "//testing/gtest", |
1360 ] | 1368 ] |
1361 | 1369 |
1362 data = audio_decoder_unittests_resources | 1370 data = audio_decoder_unittests_resources |
1363 | 1371 |
1364 if (is_android) { | 1372 if (is_android) { |
1365 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1373 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1366 shard_timeout = 900 | 1374 shard_timeout = 900 |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 ":neteq", | 2113 ":neteq", |
2106 ":neteq_test_support", | 2114 ":neteq_test_support", |
2107 ":neteq_unittest_tools", | 2115 ":neteq_unittest_tools", |
2108 ":pcm16b", | 2116 ":pcm16b", |
2109 ":red", | 2117 ":red", |
2110 ":rent_a_codec", | 2118 ":rent_a_codec", |
2111 ":webrtc_opus", | 2119 ":webrtc_opus", |
2112 "../..:webrtc_common", | 2120 "../..:webrtc_common", |
2113 "../../api/audio_codecs:audio_codecs_api", | 2121 "../../api/audio_codecs:audio_codecs_api", |
2114 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2122 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2123 "../../base:protobuf_utils", |
2115 "../../base:rtc_base", | 2124 "../../base:rtc_base", |
2116 "../../base:rtc_base_approved", | 2125 "../../base:rtc_base_approved", |
2117 "../../base:rtc_base_tests_utils", | 2126 "../../base:rtc_base_tests_utils", |
2118 "../../common_audio", | 2127 "../../common_audio", |
2119 "../../system_wrappers:system_wrappers", | 2128 "../../system_wrappers:system_wrappers", |
2120 "../../test:field_trial", | 2129 "../../test:field_trial", |
2121 "../../test:rtp_test_utils", | 2130 "../../test:rtp_test_utils", |
2122 "../../test:test_common", | 2131 "../../test:test_common", |
2123 "../../test:test_support", | 2132 "../../test:test_support", |
2124 "//testing/gmock", | 2133 "//testing/gmock", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2162 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2171 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
2163 # TODO(kwiberg): Remove this. | 2172 # TODO(kwiberg): Remove this. |
2164 rtc_source_set("builtin_audio_decoder_factory") { | 2173 rtc_source_set("builtin_audio_decoder_factory") { |
2165 sources = [ | 2174 sources = [ |
2166 "codecs/builtin_audio_decoder_factory.h", | 2175 "codecs/builtin_audio_decoder_factory.h", |
2167 ] | 2176 ] |
2168 deps = [ | 2177 deps = [ |
2169 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2178 "../../api/audio_codecs:builtin_audio_decoder_factory", |
2170 ] | 2179 ] |
2171 } | 2180 } |
OLD | NEW |