summaryrefslogtreecommitdiff
path: root/build/Android.cpplint.mk
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2021-09-21 14:18:11 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-09-22 08:33:03 +0000
commit145f96954680bd24f2c8bbc63b9e199343ba0401 (patch)
tree7d6bb8b6ae8f2b20448503c43f4d0c9b77d8bda5 /build/Android.cpplint.mk
parente684fc5975d448d761a2123a79f8be9d30089e15 (diff)
Use cpplint.py from repohooks
The cpplint.py in external/google-styleguide is out of date and doesn't support python 3. Switch to the one in tools/repohooks/tools to match the preupload configuration. Also fix some lint issues caught by the new version. Test: m cpplint-art Change-Id: Ie8c307388362c03c6f33cda6d4ec95c244481adf
Diffstat (limited to 'build/Android.cpplint.mk')
-rw-r--r--build/Android.cpplint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Android.cpplint.mk b/build/Android.cpplint.mk
index ce68214a9e..ab70e97ac5 100644
--- a/build/Android.cpplint.mk
+++ b/build/Android.cpplint.mk
@@ -20,7 +20,7 @@ include art/build/Android.common_build.mk
LOCAL_PATH := $(art_path)
# Use upstream cpplint (toolpath from .repo/manifests/GLOBAL-PREUPLOAD.cfg).
-ART_CPPLINT := external/google-styleguide/cpplint/cpplint.py
+ART_CPPLINT := tools/repohooks/tools/cpplint.py
# This file previously configured many cpplint settings.
# Everything that could be moved to CPPLINT.cfg has moved there.