diff options
author | 2025-03-06 11:02:34 -0800 | |
---|---|---|
committer | 2025-03-06 11:02:34 -0800 | |
commit | d75809fe42cc7cb22db0a79f474d0130eec4ca42 (patch) | |
tree | a55e476187669544e92bd85e5e588e24952729e4 | |
parent | 03819719d9cad29e45cb9b7304899c56b1f578cf (diff) | |
parent | b8764bb1b99473a30edb137987b84b9bfbaf9ada (diff) |
Revert "Convert cpplint-art-all to Android.bp" am: b8764bb1b9
Original change: https://android-review.googlesource.com/c/platform/art/+/3528732
Change-Id: I24547d3414691f8649c20ac7d8563bab0bd5f3a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 12 | ||||
-rw-r--r-- | build/Android.cpplint.mk | 5 |
2 files changed, 5 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp index 3c384f6d95..095d0aff3d 100644 --- a/Android.bp +++ b/Android.bp @@ -60,15 +60,3 @@ phony_rule { default: true, }), } - -genrule { - name: "cpplint-art-all", - tools: ["cpplint"], - srcs: [ - "**/*.h", - "**/*.cc", - "CPPLINT.cfg", - ], - out: ["cpplint_output.txt"], - cmd: "$(location cpplint) --quiet art/**/*.h art/**/*.cc > $(out)", -} 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. |