mbonadei 16adf03d25 Recently we moved webrtc/base to webrtc/rtc_base, so these
directives in our DEPS files are not needed anymore.

Includes from webrtc/rtc_base are also whitelisted in webrtc/DEPS
so we don't have to whitelist it in all the others DEPS files.

BUG=webrtc:7634
NOTRY=True

Review-Url: https://codereview.webrtc.org/3006583002
Cr-Commit-Position: refs/heads/master@{#19601}
2017-08-30 11:45:58 +00:00

38 lines
1.1 KiB
Python

include_rules = [
"+third_party/libyuv",
"+webrtc/common_video",
"+webrtc/media",
"+webrtc/p2p",
"+webrtc/pc",
]
specific_include_rules = {
"peerconnection_jni\.cc": [
"+webrtc/voice_engine",
],
# TODO(ossu): Remove this exception when {builtin_,}audio_encoder_factory.h
# has moved to api/.
"peerconnectioninterface\.h": [
"+webrtc/call/callfactoryinterface.h",
"+webrtc/logging/rtc_event_log/rtc_event_log_factory_interface.h",
"+webrtc/modules/audio_coding/codecs/audio_encoder_factory.h",
"+webrtc/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": [
"+webrtc/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": [
"+webrtc/modules/audio_coding",
],
}