Commit 6744a5ce authored by Colin Cross's avatar Colin Cross
Browse files

Always pass --root to cpplint

Mac builds were sometimes flaky when running cpplint.py because
the .git directory is sometimes removed when the disk is almost
full, which causes cpplint.py to fail to autodetect the project
root.  Change "Pass --root to cpplint."
(I6d418979a9bdceefc7a2c19297a7cc9aacb3e83f) fixed a similar
problem when running inside of gitc, which doesn't have .git
directories, but use ANDROID_BUILD_TOP, which is only set if
lunch has been run.  It also didn't set --root for some of the
phony targets.

Bug: 34787652
Test: m -j cpplint-art-phony
Change-Id: Ie0eb9d9d038f56a661750bb0f782321aba314a37
parent 2d0fe4ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment