Merge "Add tidy.mk to set up global default checks." am: 214c7fa
am: 6014381
* commit '60143818969a97ee6827b9de3b56670b0ff774df':
Add tidy.mk to set up global default checks.
Change-Id: I4f678930148ee6a0a3bccce899275af07cc4a738
This commit is contained in:
@@ -1446,8 +1446,7 @@ ifneq (,$(filter 1 true,$(my_tidy_enabled)))
|
||||
# Set up global default checks
|
||||
my_tidy_checks := $(WITH_TIDY_CHECKS)
|
||||
ifeq ($(my_tidy_checks),)
|
||||
# AOSP source did not follow Google readability rules.
|
||||
my_tidy_checks := -*,google*,-google-readability*
|
||||
my_tidy_checks := $(call default_global_tidy_checks,$(LOCAL_PATH))
|
||||
endif
|
||||
# Append local clang-tidy checks.
|
||||
ifneq ($(LOCAL_TIDY_CHECKS),)
|
||||
|
Reference in New Issue
Block a user