DescriptionImplement ability to specify temporarily-allowed dependencies in DEPS
files, and use this ability in a few DEPS files where appropriate.
This has no effect on the normal running of checkdeps; "!"
dependencies are treated just like "+" dependencies when checkdeps is
run on our bots.
An upcoming change will use the new checkdeps.CheckAddedIncludes
function, and will error out if you add a new include that violates a
"-" rule, and show a presubmit warning when you add a new include that
violates a "!" rule (the warning will say something like "We are in
the process of removing dependencies from this directory to that file,
can you avoid adding more?"
While I was in there, fixed path handling so that checkdeps will work
on case-sensitive platforms with paths that include upper-case
characters (e.g. a checkout of Chrome at ~/c/Chrome/src rather than
~/c/chrome/src).
Since the pipes.quote method seems unreliable on Windows (it failed on
my setup), switched to subprocess.list2cmdline which I believe is
stable.
Added a small manual testing mode to checkdeps. It currently only
verifies the CheckAddedIncludes function.
TBR=jam@chromium.org
BUG=138280
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149163
Patch Set 1 #
Total comments: 5
Patch Set 2 : Large merge post Java-checker change. #Patch Set 3 : Remove unneeded import. #
Total comments: 22
Patch Set 4 : Respond to review comments. #
Total comments: 18
Patch Set 5 : Respond to review comments. Add automated unit tests. #
Total comments: 4
Patch Set 6 : Address final nits. #Patch Set 7 : Fix Windows issues. #Patch Set 8 : Temp to test presub in SVN repo #Patch Set 9 : Fix test to not rely on order #Patch Set 10 : Merge to LKGR. #
Messages
Total messages: 28 (0 generated)
|