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

Unified Diff: tools/checkdeps/testdata/allowed/DEPS

Issue 10823271: Add ability to write include rules specific to subsets of files in a directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 8 years, 4 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 | « tools/checkdeps/rules.py ('k') | tools/checkdeps/testdata/allowed/foo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/checkdeps/testdata/allowed/DEPS
diff --git a/tools/checkdeps/testdata/allowed/DEPS b/tools/checkdeps/testdata/allowed/DEPS
index ae750e22c8d9ba2c8f4e11d03ed51cd32e787fc0..362623c2c13c0cc7e46274fce6d2ae0508f1d7a4 100644
--- a/tools/checkdeps/testdata/allowed/DEPS
+++ b/tools/checkdeps/testdata/allowed/DEPS
@@ -3,3 +3,9 @@ include_rules = [
"!tools/checkdeps/testdata/disallowed/temporarily_allowed.h",
"+third_party/allowed_may_use",
]
+
+specific_include_rules = {
+ ".*_unittest\.cc": [
+ "+tools/checkdeps/testdata/disallowed/teststuff",
+ ]
+}
« no previous file with comments | « tools/checkdeps/rules.py ('k') | tools/checkdeps/testdata/allowed/foo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698