From b8764bb1b99473a30edb137987b84b9bfbaf9ada Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 5 Mar 2025 10:35:34 -0800 Subject: Revert "Convert cpplint-art-all to Android.bp" This reverts commit 8b75fafb8160d29e228e569bfeeeedf462f19899. Reason for revert: We're rolling back the repohooks change and will look at pulling in cpplint under external/. We need to rollback now rather than migrate to the new thing directly because the current repohooks codebase is breaking on older branches. Bug: 396027786 Bug: 396308027 Change-Id: I73c8cb1fe154141d424add5ccf792b258372788e --- build/Android.cpplint.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build') diff --git a/build/Android.cpplint.mk b/build/Android.cpplint.mk index f364baf9b1..6eeaa49d8d 100644 --- a/build/Android.cpplint.mk +++ b/build/Android.cpplint.mk @@ -42,6 +42,11 @@ ART_CPPLINT_CFG := $(addprefix $(LOCAL_PATH)/, $(call all-subdir-named-files,CPP .PHONY: cpplint-art cpplint-art: cpplint-art-phony +# "mm cpplint-art-all" to manually execute cpplint.py on all files (very slow). +.PHONY: cpplint-art-all +cpplint-art-all: + $(ART_CPPLINT) $(ART_CPPLINT_FLAGS) $(ART_CPPLINT_SRC) + OUT_CPPLINT := $(TARGET_COMMON_OUT_ROOT)/cpplint # Build up the list of all targets for linting the ART source files. -- cgit v1.2.3-59-g8ed1b