Reland "Add check_deps rules in DEPS files."

Relanding https://codereview.webrtc.org/1796413002/
without the change to the openmax_dl include path
(which broke downstream code).

TBR=tommi@webrtc.org
BUG=webrtc:5623
TESTED=Passing runs using:
buildtools/checkdeps/checkdeps.py --root=. talk
buildtools/checkdeps/checkdeps.py --root=. webrtc

Review URL: https://codereview.webrtc.org/1804333002 .

Cr-Commit-Position: refs/heads/master@{#12031}
This commit is contained in:
kjellander@webrtc.org
2016-03-17 12:05:36 +01:00
parent d8ddb796e4
commit 94a23f04af
42 changed files with 349 additions and 305 deletions

23
webrtc/api/DEPS Normal file
View File

@ -0,0 +1,23 @@
include_rules = [
"+third_party/libyuv",
"+webrtc/base",
"+webrtc/common_video",
"+webrtc/media",
"+webrtc/p2p",
"+webrtc/pc",
"+webrtc/modules/audio_device",
"+webrtc/modules/rtp_rtcp",
"+webrtc/modules/video_coding",
"+webrtc/modules/video_render",
"+webrtc/system_wrappers",
]
specific_include_rules = {
"androidtestinitializer\.cc": [
"+base/android", # Allowed only for Android tests.
"+webrtc/voice_engine",
],
"peerconnection_jni\.cc": [
"+webrtc/voice_engine",
]
}