This reverts commit 2279aec00b54fa6f8b55c40255452f0292adb473. Reason for revert: breaks downstream project. Original change's description: > Removing forward headers in modules/audio_coding/codecs. > > Bug: webrtc:5805 > Change-Id: Ie0b1d1d1ef01039bcadbfe42dd67d770d93983a9 > Reviewed-on: https://webrtc-review.googlesource.com/47382 > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#21870} TBR=mbonadei@webrtc.org,kwiberg@webrtc.org Change-Id: I35dc09ec1988d3d614d8facd5378a5db70942fb4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:5805 Reviewed-on: https://webrtc-review.googlesource.com/47520 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21875}
43 lines
1.2 KiB
Python
43 lines
1.2 KiB
Python
include_rules = [
|
|
"+third_party/libyuv",
|
|
"+common_video",
|
|
"+media",
|
|
"+p2p",
|
|
"+pc",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
# 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",
|
|
],
|
|
}
|