Merge "Default to enable tidy warnings in header files."

am: 6a7cf55a7d

* commit '6a7cf55a7dfe844b4df173520890b4daee60ea63':
  Default to enable tidy warnings in header files.

Change-Id: Ib4ca529f2f81d05db8392a4f501bea3400f17d57
This commit is contained in:
Chih-Hung Hsieh
2016-06-02 23:27:17 +00:00
committed by android-build-merger

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