webrtc/modules/audio_device
Arthur Sonzogni 47faf32287 Add rtc_common_public_deps
When built for chromium, some webrtc implementations are overridden and
are implemented by chrome's "//base". For instance webrtc::Location is
implemented by base::Location. So far so good, the affected targets are
correctly defined in GN to depend on base.

The problem: Most targets in webrtc do not declare correctly their
public_deps. When a public header of a target includes one from its
dependency, the dependency must be a public_deps. The public_deps
instruct GN to forward the capability to use code from the dependency
toward the dependent.

Unfortunately, it is not possible to fix the `public_deps` in webrtc,
because its is disallowed via a presubmit. See:
https://webrtc-review.googlesource.com/c/src/+/30262

WebRTC developers decided not to use `public_deps`, because GN config
are "translated" toward different kind of downstream build system who do
not really support the `public` dependencies concept. Instead WebRTC is
using some "common" configuration applied to all of its targets.

This patch add `rtc_common_public_deps` argument, to let embedders
add the dependencies WebRTC depends on.

Bug: chromium:1467773
Change-Id: I7de43372414a09886fcb07905451e6339c8ecc64
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/316660
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40595}
2023-08-22 11:32:06 +00:00
..
dummy Adopt absl::string_view in modules/audio_device/ 2022-07-25 10:35:17 +00:00
g3doc Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00
include Add raw file audio capturer/renderer for test ADM 2023-07-04 11:03:25 +00:00
linux Format /modules 2023-04-20 02:02:45 +00:00
mac Format /modules 2023-04-20 02:02:45 +00:00
win Format /modules 2023-04-20 02:02:45 +00:00
audio_device_buffer.cc Reland "Migrate TestAudioDeviceModule on AudioDeviceModuleImpl" 2023-06-30 16:15:06 +00:00
audio_device_buffer.h Reland "Migrate TestAudioDeviceModule on AudioDeviceModuleImpl" 2023-06-30 16:15:06 +00:00
audio_device_config.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
audio_device_data_observer.cc Make capture timestamp optional in ADM. 2023-01-23 17:29:06 +00:00
audio_device_generic.cc Reporting audio device underrun counter 2019-08-16 11:49:55 +00:00
audio_device_generic.h Reporting audio device underrun counter 2019-08-16 11:49:55 +00:00
audio_device_impl.cc kDummyAudio now also creates Dummy ADM on Android 2023-07-17 15:22:22 +00:00
audio_device_impl.h Reland "Migrate TestAudioDeviceModule on AudioDeviceModuleImpl" 2023-06-30 16:15:06 +00:00
audio_device_name.cc Adopt absl::string_view in modules/audio_device/ 2022-07-25 10:35:17 +00:00
audio_device_name.h Adopt absl::string_view in modules/audio_device/ 2022-07-25 10:35:17 +00:00
audio_device_unittest.cc Makes use of the newer version of the RecordedDataIsAvailable mock 2023-02-10 09:01:02 +00:00
BUILD.gn Add rtc_common_public_deps 2023-08-22 11:32:06 +00:00
DEPS Rland "Revert "Reland "Reland "Delete old Android ADM."""" 2023-06-30 13:10:12 +00:00
fine_audio_buffer.cc Remove usage of INFO alias for LS_INFO in log messages 2021-11-04 13:46:17 +00:00
fine_audio_buffer.h Use backticks not vertical bars to denote variables in comments 2021-08-10 10:40:03 +00:00
fine_audio_buffer_unittest.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_device 2021-08-02 10:24:10 +00:00
mock_audio_device_buffer.h In modules/audio_device replace mock macros with unified MOCK_METHOD macro 2020-05-19 09:11:48 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00
test_audio_device_impl.cc Allow StartRecording if capturer is null in test ADM 2023-07-07 14:01:38 +00:00
test_audio_device_impl.h Reland "Migrate TestAudioDeviceModule on AudioDeviceModuleImpl" 2023-06-30 16:15:06 +00:00
test_audio_device_impl_test.cc Reland "Migrate TestAudioDeviceModule on AudioDeviceModuleImpl" 2023-06-30 16:15:06 +00:00