From 870f0878678bba68576a4bff0a5fe9681285e66a Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 2 Jun 2016 15:20:05 -0700 Subject: [PATCH] Default to enable tidy warnings in header files. Change-Id: I3831f03facbbd6d17117d82f9ccac49bc2645237 --- core/binary.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/binary.mk b/core/binary.mk index 614b8aa8f8..f13689ac5f 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -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