commit | 870f0878678bba68576a4bff0a5fe9681285e66a | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Jun 02 15:20:05 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Jun 02 15:20:05 2016 -0700 |
tree | 6e45e557cf4c2ae772ae586cbb1e15816fac4807 | |
parent | 476b5b161613cc352961414b549a0553361d533b [diff] |
Default to enable tidy warnings in header files. Change-Id: I3831f03facbbd6d17117d82f9ccac49bc2645237
diff --git a/core/binary.mk b/core/binary.mk index 614b8aa..f13689a 100644 --- a/core/binary.mk +++ b/core/binary.mk
@@ -1419,6 +1419,10 @@ 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