Index: content/DEPS |
diff --git a/content/DEPS b/content/DEPS |
index b7cda8593eaef5d064b454078771a96f7d616786..b0e052beb74bf96d5d2cf67634b29f3638bce8bb 100644 |
--- a/content/DEPS |
+++ b/content/DEPS |
@@ -10,7 +10,6 @@ include_rules = [ |
"+content/grit", |
"+content/public/common", |
"+content/public/test", |
- "+content/shell", # for content_browsertests |
"+content/test", |
"+blink", |
@@ -112,3 +111,12 @@ include_rules = [ |
# For generated JNI includes. |
"+jni", |
] |
+ |
+# content -> content/shell dependency is not allowed, except for browser tests. |
+specific_include_rules = { |
+ ".*_browsertest[a-z_]*\.cc": [ |
+ "+content/shell/browser", |
+ "+content/shell/common", |
+ ], |
+} |
+ |