Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: webrtc/DEPS

Issue 1796413002: Add check_deps rules in DEPS files. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed nit Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/DEPS ('k') | webrtc/api/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/DEPS
diff --git a/webrtc/DEPS b/webrtc/DEPS
new file mode 100644
index 0000000000000000000000000000000000000000..292c99685b496b0442dc6360bbae7f6558f13315
--- /dev/null
+++ b/webrtc/DEPS
@@ -0,0 +1,47 @@
+# 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",
+ "+testing",
+ "-webrtc", # Has to be disabled; otherwise all dirs below will be allowed.
+ # Individual headers that will be moved out of here, see webrtc:
+ "+webrtc/audio_receive_stream.h",
+ "+webrtc/audio_send_stream.h",
+ "+webrtc/audio_sink.h",
+ "+webrtc/audio_state.h",
+ "+webrtc/call.h",
+ "+webrtc/common.h",
+ "+webrtc/common_types.h",
+ "+webrtc/config.h",
+ "+webrtc/engine_configurations.h",
+ "+webrtc/frame_callback.h",
+ "+webrtc/stream.h",
+ "+webrtc/transport.h",
+ "+webrtc/typedefs.h",
+ "+webrtc/video_decoder.h",
+ "+webrtc/video_encoder.h",
+ "+webrtc/video_frame.h",
+ "+webrtc/video_receive_stream.h",
+ "+webrtc/video_renderer.h",
+ "+webrtc/video_send_stream.h",
+
+ "+webrtc/base",
+ "+webrtc/modules/include",
+ "+webrtc/test",
+ "+webrtc/tools",
+]
+
+# The below rules will be removed when webrtc: is fixed.
+specific_include_rules = {
+ "audio_send_stream\.h": [
+ "+webrtc/modules/audio_coding",
+ ],
+ "video_frame\.h": [
+ "+webrtc/common_video",
+ ],
+}
« no previous file with comments | « talk/app/webrtc/DEPS ('k') | webrtc/api/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698