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
Loading
Please sign in to comment