summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/webrtc/api/DEPS
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/libwebrtc/webrtc/api/DEPS
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/webrtc/api/DEPS')
-rw-r--r--third_party/libwebrtc/webrtc/api/DEPS46
1 files changed, 46 insertions, 0 deletions
diff --git a/third_party/libwebrtc/webrtc/api/DEPS b/third_party/libwebrtc/webrtc/api/DEPS
new file mode 100644
index 0000000000..a537633981
--- /dev/null
+++ b/third_party/libwebrtc/webrtc/api/DEPS
@@ -0,0 +1,46 @@
+include_rules = [
+ "+third_party/libyuv",
+ "+common_video",
+ "+media",
+ "+p2p",
+ "+pc",
+]
+
+specific_include_rules = {
+ "peerconnection_jni\.cc": [
+ "+voice_engine",
+ ],
+
+ # TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h
+ # has moved to api/.
+ "peerconnectioninterface\.h": [
+ "+call/callfactoryinterface.h",
+ "+logging/rtc_event_log/rtc_event_log_factory_interface.h",
+ "+modules/audio_coding/codecs/audio_encoder_factory.h",
+ "+modules/audio_coding/codecs/builtin_audio_encoder_factory.h",
+ ],
+
+ # Needed because AudioEncoderOpus is in the wrong place for
+ # backwards compatibilty reasons. See
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=7847
+ "audio_encoder_opus\.h": [
+ "+modules/audio_coding/codecs/opus/audio_encoder_opus.h",
+ ],
+
+ # We allow .cc files in webrtc/api/ to #include a bunch of stuff
+ # that's off-limits for the .h files. That's because .h files leak
+ # their #includes to whoever's #including them, but .cc files do not
+ # since no one #includes them.
+ ".*\.cc": [
+ "+modules/audio_coding",
+ ],
+
+ ".*i420_buffer\.h": [
+ "+system_wrappers/include/aligned_malloc.h",
+ ],
+
+ # Needed to use the APM statistics.
+ "mediastreaminterface.h": [
+ "+modules/audio_processing/include/audio_processing_statistics.h",
+ ],
+}