Enable running cpplint.py on art C++ files when using mm and mmm
Change-Id: I945bfc37c1e95310ee52e171faeeafc224934215
diff --git a/Android.mk b/Android.mk
index 7c91396..2e29385 100644
--- a/Android.mk
+++ b/Android.mk
@@ -330,19 +330,7 @@
########################################################################
# cpplint targets to style check art source files
-# "mm cpplint-art" to verify we aren't regressing
-.PHONY: cpplint-art
-cpplint-art:
- ./art/tools/cpplint.py \
- --filter=-,+build/header_guard,+whitespace/braces,+whitespace/comma,+runtime/explicit,+whitespace/newline,+whitespace/parens,+build/namespaces,+readability/fn_size,+whitespace/operators,+readability/braces,+whitespace/indent,+whitespace/blank_line,+whitespace/end_of_line,+whitespace/labels,+whitespace/semicolon,+legal/copyright,+readability/casting,+readability/check,+readability/constructors,+runtime/arrays,+runtime/int,+runtime/virtual \
- $(shell find art -name *.h -o -name *$(ART_CPP_EXTENSION) | grep -v art/compiler/llvm/generated/)
-
-# "mm cpplint-art-aspirational" to see warnings we would like to fix
-.PHONY: cpplint-art-aspirational
-cpplint-art-aspirational:
- ./art/tools/cpplint.py \
- --filter=-whitespace/comments,-whitespace/line_length,-build/include,-readability/function,-readability/streams,-readability/todo,-runtime/references,-runtime/threadsafe_fn \
- $(shell find art -name *.h -o -name *$(ART_CPP_EXTENSION) | grep -v art/compiler/llvm/generated/)
+include $(art_build_path)/Android.cpplint.mk
########################################################################
# targets to switch back and forth from libdvm to libart