Revert "Isolating APM API build target: making :api an actual target."
This reverts commit a7f77a7c05b5d26520fd01a773ffb2c8b15b60ff. Reason for revert: breaking downstream Original change's description: > Isolating APM API build target: making :api an actual target. > > This CL is part of a refactoring work to unblock other CLs > that would generate a circular dependency when including > modules/audio_processing. It will also allow to easily move > the APM interface part under //api. > > More in detail, this change moves the APM interface files from > the build target modules/audio_processing to > modules/audio_processing:api. It also adds :api as dependency > where needed. > > Bug: webrtc:9535 > Change-Id: I72829e22d08ba4d75985f0421e6e8bf0216ebecd > Reviewed-on: https://webrtc-review.googlesource.com/c/109501 > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Reviewed-by: Kári Helgason <kthelgason@webrtc.org> > Reviewed-by: Niels Moller <nisse@webrtc.org> > Reviewed-by: Sam Zackrisson <saza@webrtc.org> > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#25539} TBR=saza@webrtc.org,alessiob@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,kthelgason@webrtc.org Change-Id: I974c6237311e7c06970aa62e5f6940f3aa80113d No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9535 Reviewed-on: https://webrtc-review.googlesource.com/c/109820 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25540}
This commit is contained in:
parent
a7f77a7c05
commit
61c6e5643e
@ -354,7 +354,6 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/audio_processing:audioproc_f_impl",
|
||||
]
|
||||
|
||||
@ -72,7 +72,6 @@ rtc_static_library("audio") {
|
||||
"../modules/audio_coding:audio_network_adaptor_config",
|
||||
"../modules/audio_device",
|
||||
"../modules/audio_processing",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/bitrate_controller:bitrate_controller",
|
||||
"../modules/pacing:pacing",
|
||||
"../modules/remote_bitrate_estimator:remote_bitrate_estimator",
|
||||
|
||||
@ -38,7 +38,6 @@ rtc_source_set("call_interfaces") {
|
||||
"../api/audio_codecs:audio_codecs_api",
|
||||
"../api/transport:network_control",
|
||||
"../modules/audio_device:audio_device",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/audio_processing:audio_processing_statistics",
|
||||
"../rtc_base:audio_format_to_string",
|
||||
|
||||
@ -505,7 +505,6 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
|
||||
"../api/audio_codecs:builtin_audio_encoder_factory",
|
||||
"../logging:rtc_event_log_impl_base",
|
||||
"../media:rtc_audio_video",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../pc:libjingle_peerconnection",
|
||||
"../rtc_base:rtc_base",
|
||||
@ -723,7 +722,6 @@ if (is_linux || is_win) {
|
||||
"../api/video_codecs:builtin_video_encoder_factory",
|
||||
"../media:rtc_audio_video",
|
||||
"../modules/audio_device:audio_device",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/video_capture:video_capture_module",
|
||||
"../pc:libjingle_peerconnection",
|
||||
@ -847,7 +845,6 @@ if (is_win || is_android) {
|
||||
"../media:rtc_media",
|
||||
"../media:rtc_media_base",
|
||||
"../modules/audio_device:audio_device",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/video_capture:video_capture_module",
|
||||
"../pc:libjingle_peerconnection",
|
||||
|
||||
@ -53,7 +53,6 @@ if (is_android) {
|
||||
"//media:rtc_audio_video",
|
||||
"//media:rtc_internal_video_codecs",
|
||||
"//modules/audio_processing",
|
||||
"//modules/audio_processing:api",
|
||||
"//modules/utility:utility",
|
||||
"//pc:libjingle_peerconnection",
|
||||
"//rtc_base:rtc_base",
|
||||
|
||||
@ -278,7 +278,6 @@ rtc_static_library("rtc_audio_video") {
|
||||
defines = []
|
||||
libs = []
|
||||
deps = [
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing/aec_dump:aec_dump",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
"../modules/video_coding:video_coding",
|
||||
@ -447,7 +446,6 @@ if (rtc_include_tests) {
|
||||
"../call:video_stream_api",
|
||||
"../common_video:common_video",
|
||||
"../modules/audio_coding:rent_a_codec",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
@ -543,7 +541,6 @@ if (rtc_include_tests) {
|
||||
"../api/test/video:function_video_factory",
|
||||
"../api/units:time_delta",
|
||||
"../api/video:video_frame_i420",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:mocks",
|
||||
"../modules/rtp_rtcp",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
|
||||
@ -48,7 +48,6 @@ rtc_static_library("audio_mixer_impl") {
|
||||
"../../system_wrappers",
|
||||
"../../system_wrappers:metrics",
|
||||
"../audio_processing",
|
||||
"../audio_processing:api",
|
||||
"../audio_processing:apm_logging",
|
||||
"../audio_processing:audio_frame_view",
|
||||
"../audio_processing/agc2:fixed_digital",
|
||||
|
||||
@ -38,27 +38,13 @@ rtc_static_library("config") {
|
||||
]
|
||||
}
|
||||
|
||||
# Temporary dummy target for the APM interface.
|
||||
rtc_source_set("api") {
|
||||
visibility = [ "*" ]
|
||||
sources = [
|
||||
"include/audio_processing.cc",
|
||||
"include/audio_processing.h",
|
||||
]
|
||||
deps = [
|
||||
":audio_frame_view",
|
||||
":audio_generator_interface",
|
||||
":audio_processing_statistics",
|
||||
":config",
|
||||
":gain_control_interface",
|
||||
"../../api/audio:aec3_config",
|
||||
"../../api/audio:echo_control",
|
||||
"../../rtc_base:deprecation",
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base:ptr_util",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
|
||||
# TODO(bugs.webrtc.org/9535): Adapt downstream projects and populate.
|
||||
sources = []
|
||||
deps = []
|
||||
}
|
||||
|
||||
rtc_static_library("audio_processing") {
|
||||
@ -90,6 +76,11 @@ rtc_static_library("audio_processing") {
|
||||
"gain_controller2.h",
|
||||
"include/aec_dump.cc",
|
||||
"include/aec_dump.h",
|
||||
|
||||
# TODO(bugs.webrtc.org/9535): Adapt downstream projects and remove
|
||||
# include/audio_processing.cc/h.
|
||||
"include/audio_processing.cc",
|
||||
"include/audio_processing.h",
|
||||
"level_estimator_impl.cc",
|
||||
"level_estimator_impl.h",
|
||||
"low_cut_filter.cc",
|
||||
@ -342,7 +333,6 @@ if (rtc_include_tests) {
|
||||
"include/mock_audio_processing.h",
|
||||
]
|
||||
deps = [
|
||||
":api",
|
||||
":audio_processing",
|
||||
":audio_processing_statistics",
|
||||
"../../test:test_support",
|
||||
@ -521,7 +511,6 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":api",
|
||||
":audio_generator_factory",
|
||||
":audio_processing",
|
||||
":file_audio_generator",
|
||||
@ -566,7 +555,6 @@ if (rtc_include_tests) {
|
||||
|
||||
deps = [
|
||||
":analog_mic_simulation",
|
||||
":api",
|
||||
":apm_logging",
|
||||
":audio_processing",
|
||||
":audioproc_debug_proto",
|
||||
@ -597,7 +585,6 @@ if (rtc_include_tests) {
|
||||
"test/audioproc_float_main.cc",
|
||||
]
|
||||
deps = [
|
||||
":api",
|
||||
":audio_processing",
|
||||
"../../api:audioproc_f_api",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
@ -623,7 +610,6 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":api",
|
||||
":audio_processing",
|
||||
"../../api:array_view",
|
||||
"../../api/audio:audio_frame_api",
|
||||
@ -708,7 +694,6 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":api",
|
||||
":audio_processing",
|
||||
":audioproc_debug_proto",
|
||||
":audioproc_protobuf_utils",
|
||||
|
||||
@ -43,7 +43,6 @@ rtc_source_set("mock_aec_dump_unittests") {
|
||||
|
||||
deps = [
|
||||
":mock_aec_dump",
|
||||
"..:api",
|
||||
"../",
|
||||
"../../../rtc_base:rtc_base_approved",
|
||||
"//testing/gtest",
|
||||
|
||||
@ -258,7 +258,6 @@ rtc_static_library("create_pc_factory") {
|
||||
"../media:rtc_audio_video",
|
||||
"../media:rtc_media_base",
|
||||
"../modules/audio_device:audio_device",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
@ -425,7 +424,6 @@ if (rtc_include_tests) {
|
||||
"../media:rtc_media_base",
|
||||
"../media:rtc_media_tests_utils",
|
||||
"../modules/audio_device:audio_device",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../p2p:p2p_test_utils",
|
||||
"../rtc_base:checks",
|
||||
@ -541,7 +539,6 @@ if (rtc_include_tests) {
|
||||
"../media:rtc_data", # TODO(phoglund): AFAIK only used for one sctp constant.
|
||||
"../media:rtc_media_base",
|
||||
"../media:rtc_media_tests_utils",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/utility:utility",
|
||||
"../p2p:p2p_test_utils",
|
||||
|
||||
@ -919,7 +919,6 @@ if (is_ios || is_mac) {
|
||||
"../media:rtc_media_base",
|
||||
"../modules:module_api",
|
||||
"../modules/audio_device:audio_device_api",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
"../pc:create_pc_factory",
|
||||
@ -1189,7 +1188,6 @@ if (is_ios || is_mac) {
|
||||
"../media:rtc_media_base",
|
||||
"../modules:module_api",
|
||||
"../modules/audio_device:audio_device_api",
|
||||
"../modules/audio_processing:api",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
|
||||
@ -535,7 +535,6 @@ if (is_android) {
|
||||
":builtin_audio_codecs_jni",
|
||||
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../modules/audio_processing:audio_processing",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
]
|
||||
@ -937,7 +936,6 @@ if (is_android) {
|
||||
"../../logging:rtc_event_log_api",
|
||||
"../../media:rtc_audio_video",
|
||||
"../../modules/audio_device:audio_device",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../modules/audio_processing:audio_processing",
|
||||
]
|
||||
}
|
||||
@ -1442,7 +1440,6 @@ if (is_android) {
|
||||
"../../media:rtc_media_base",
|
||||
"../../modules/audio_device:audio_device",
|
||||
"../../modules/audio_device:mock_audio_device",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../modules/audio_processing:audio_processing",
|
||||
"../../modules/utility:utility",
|
||||
"../../pc:libjingle_peerconnection",
|
||||
|
||||
@ -469,7 +469,6 @@ rtc_static_library("audio_processing_fuzzer_helper") {
|
||||
":fuzz_data_helper",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../modules/audio_processing",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
@ -484,7 +483,6 @@ webrtc_fuzzer_test("audio_processing_fuzzer") {
|
||||
":audio_processing_fuzzer_helper",
|
||||
"../../api/audio:aec3_factory",
|
||||
"../../modules/audio_processing",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../modules/audio_processing/aec3",
|
||||
"../../modules/audio_processing/aec_dump",
|
||||
"../../modules/audio_processing/aec_dump:aec_dump_impl",
|
||||
@ -505,7 +503,6 @@ webrtc_fuzzer_test("agc_fuzzer") {
|
||||
deps = [
|
||||
":fuzz_data_helper",
|
||||
"../../modules/audio_processing",
|
||||
"../../modules/audio_processing:api",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base:safe_minmax",
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user