summaryrefslogtreecommitdiff
path: root/build/Android.cpplint.mk
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2016-08-11 15:35:28 -0700
committer Alex Light <allight@google.com> 2016-08-17 10:50:37 -0700
commit49948e9d4e66e68ea077031f9aa80b6c332bd673 (patch)
treecc50d0259b02d3021241f74ed659f74f52771268 /build/Android.cpplint.mk
parent3f410202b177416c785e6172138a265a91c81b0a (diff)
Add skeleton of a jvmti plugin for art.
Test: mma test-art-host-run-test-901-hello-ti-agent Change-Id: If6807b6238d57471e4ba0dd75c717721246443f6
Diffstat (limited to 'build/Android.cpplint.mk')
-rw-r--r--build/Android.cpplint.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/Android.cpplint.mk b/build/Android.cpplint.mk
index a06f45a4fb..03791f3907 100644
--- a/build/Android.cpplint.mk
+++ b/build/Android.cpplint.mk
@@ -19,11 +19,15 @@ include art/build/Android.common_build.mk
ART_CPPLINT := $(LOCAL_PATH)/tools/cpplint.py
ART_CPPLINT_FILTER := --filter=-whitespace/line_length,-build/include,-readability/function,-readability/streams,-readability/todo,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn,-runtime/printf
ART_CPPLINT_FLAGS := --quiet
+ART_CPPLINT_INGORED := \
+ runtime/elf.h \
+ runtime/openjdkjvmti/jvmti.h
+
# This:
# 1) Gets a list of all .h & .cc files in the art directory.
# 2) Prepends 'art/' to each of them to make the full name.
# 3) removes art/runtime/elf.h from the list.
-ART_CPPLINT_SRC := $(filter-out $(LOCAL_PATH)/runtime/elf.h, $(addprefix $(LOCAL_PATH)/, $(call all-subdir-named-files,*.h) $(call all-subdir-named-files,*$(ART_CPP_EXTENSION))))
+ART_CPPLINT_SRC := $(filter-out $(patsubst %,$(LOCAL_PATH)/%,$(ART_CPPLINT_INGORED)), $(addprefix $(LOCAL_PATH)/, $(call all-subdir-named-files,*.h) $(call all-subdir-named-files,*$(ART_CPP_EXTENSION))))
# "mm cpplint-art" to verify we aren't regressing
.PHONY: cpplint-art