Moving src/webrtc into src/.
In order to eliminate the WebRTC Subtree mirror in Chromium,
WebRTC is moving the content of the src/webrtc directory up
to the src/ directory.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
TBR=tommi@webrtc.org
Bug: chromium:611808
Change-Id: Iac59c5b51b950f174119565bac87955a7994bc38
Reviewed-on: https://webrtc-review.googlesource.com/1560
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19845}
diff --git a/DEPS b/DEPS
index 7a1a40c..d19c70c 100644
--- a/DEPS
+++ b/DEPS
@@ -542,3 +542,38 @@
# android_tools manages the NDK.
'src/third_party/android_tools',
]
+
+# Define rules for which include paths are allowed in our source.
+include_rules = [
+ # Base is only used to build Android APK tests and may not be referenced by
+ # WebRTC production code.
+ "-base",
+ "-chromium",
+ "+external/webrtc/webrtc", # Android platform build.
+ "+gflags",
+ "+libyuv",
+ "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed.
+ # Individual headers that will be moved out of here, see webrtc:4243.
+ "+webrtc/call/rtp_config.h",
+ "+webrtc/common_types.h",
+ "+webrtc/transport.h",
+ "+webrtc/typedefs.h",
+ "+webrtc/voice_engine_configurations.h",
+
+ "+WebRTC",
+ "+webrtc/api",
+ "+webrtc/modules/include",
+ "+webrtc/rtc_base",
+ "+webrtc/test",
+ "+webrtc/rtc_tools",
+]
+
+# The below rules will be removed when webrtc:4243 is fixed.
+specific_include_rules = {
+ "video_receive_stream\.h": [
+ "+webrtc/call/video_receive_stream.h",
+ ],
+ "video_send_stream\.h": [
+ "+webrtc/call/video_send_stream.h",
+ ],
+}