Index: sandbox/linux/DEPS |
diff --git a/sandbox/linux/DEPS b/sandbox/linux/DEPS |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39128593449dd94d5615fe62e716e41feaa6bbb1 |
--- /dev/null |
+++ b/sandbox/linux/DEPS |
@@ -0,0 +1,25 @@ |
+include_rules = [ |
+ # First, exclude everything. |
+ # Exclude a few dependencies that are included in the root DEPS and that we |
+ # don't need. |
+ # Sadly, there is no way to exclude all root DEPS since the root has no name. |
+ "-ipc", |
+ "-library_loaders", |
+ "-third_party", |
+ "-url", |
+ # Make sure that each subdirectory has to declare its dependencies in |
+ # sandbox/ explicitly. |
+ "-sandbox/linux", |
+ |
+ # Second, add what we want to allow. |
+ # Anything included from sandbox/linux must be declared after this line or in |
+ # a more specific DEPS file. |
+ # base/, build/ and testing/ are already included in the global DEPS file, |
+ # but be explicit. |
+ "+base", |
+ "+build", |
+ "+testing", |
+ "+sandbox/sandbox_export.h", |
+ # Everyone can use tests/ |
+ "+sandbox/linux/tests", |
+] |