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}
diff --git a/webrtc/api/DEPS b/webrtc/api/DEPS
new file mode 100644
index 0000000..956d4d9
--- /dev/null
+++ b/webrtc/api/DEPS
@@ -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",
+  ]
+}