Default to enable tidy warnings in header files.

Change-Id: I3831f03facbbd6d17117d82f9ccac49bc2645237
This commit is contained in:
Chih-Hung Hsieh
2016-06-02 15:20:05 -07:00
parent 476b5b1616
commit 870f087867

View File

@@ -1419,6 +1419,10 @@ ifneq (,$(filter 1 true,$(my_tidy_enabled)))
ifneq ($(LOCAL_TIDY_FLAGS),)
my_tidy_flags := $(LOCAL_TIDY_FLAGS)
endif
# If tidy flags are not specified, default to check all header files.
ifeq ($(my_tidy_flags),)
my_tidy_flags := -header-filter=.*
endif
endif
endif