Make presubmit.py rules differential.
authormstarzinger <mstarzinger@chromium.org>
Tue, 1 Sep 2015 14:28:21 +0000 (07:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Sep 2015 14:28:31 +0000 (14:28 +0000)
commit77e40bc5f3227f8bdeba9de6e7fa363ec5ed4f8f
tree3a8de8532816b4806fe47b55afe1f5bf906b8432
parente1b46f7a18a403524bb81cb1bb4c1c26c8e143ea
Make presubmit.py rules differential.

This turns the absolute list of linter rules within the presubmit.py
wrapper into a list relative to the default of the cpplint.py script.
This has the advantage that new rules are picked up when the script is
updated and that allowed violations are visible from the list.

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1325833005

Cr-Commit-Position: refs/heads/master@{#30513}
tools/presubmit.py