diff options
| author | 2025-02-24 19:06:40 -0800 | |
|---|---|---|
| committer | 2025-02-24 19:06:40 -0800 | |
| commit | c71267376498c87099d13e5b9d21ae2c6631c30d (patch) | |
| tree | 33bd95f68ea0c5c7ff36c2f34869e2093f04413b | |
| parent | 007e70a8fd33a91da503bb4ffeee71840ed55572 (diff) | |
| parent | 7935027abd5fa796529793945e87ef33f99a347f (diff) | |
Convert cpplint-art-all to Android.bp am: 8b75fafb81 am: 7935027abd
Original change: https://android-review.googlesource.com/c/platform/art/+/3496710
Change-Id: I5b0f4e715182a93d6f4308855b531635ddf63d44
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, 12 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp index 095d0aff3d..3c384f6d95 100644 --- a/Android.bp +++ b/Android.bp @@ -60,3 +60,15 @@ 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 6eeaa49d8d..f364baf9b1 100644 --- a/build/Android.cpplint.mk +++ b/build/Android.cpplint.mk @@ -42,11 +42,6 @@ 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. |