Use local cpplint.py if it exists.
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Sep 2009 12:21:48 +0000 (12:21 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Sep 2009 12:21:48 +0000 (12:21 +0000)
commitf5864d08af29e10f67cb6ffb77835f5cdae3f87a
treebbfe748709c80d89ca58d6bcf5ae0d3ac0c7d702
parent4052dcd3926230c864d6be213ecdf08991e4f6b2
Use local cpplint.py if it exists.

If there is a local cpplint.py in the tools directory use this instead of any cpplint in the path. This makes it possible to run presubmit checks on Windows by downloading cpplint.py from http://code.google.com/p/google-styleguide/.
Review URL: http://codereview.chromium.org/194039

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2874 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
tools/presubmit.py