From 69811f89d62ea1cbf7ea7429e87f263868bf1e37 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 26 Sep 2016 15:43:45 -0700 Subject: [PATCH] Remove spaces from DEFAULT_TIDY_HEADER_DIRS I'm preparing to move this to Soong, and it's simpler to compare if the spaces are removed here (to match the other lists in this file). Test: WITH_TIDY=true; compare build.ninja before and after change Change-Id: Ib27a19a36ebb1132300a8c1eeace1202685dfc4c --- core/clang/tidy.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/clang/tidy.mk b/core/clang/tidy.mk index 7ec937826..c1d485d6e 100644 --- a/core/clang/tidy.mk +++ b/core/clang/tidy.mk @@ -78,6 +78,7 @@ endef # Do not give warnings to external or vendor header files, # which contain too many warnings. DEFAULT_TIDY_HEADER_DIRS := \ + $(subst $(space),, \ art/ \ |bionic/ \ |bootable/ \ @@ -89,7 +90,8 @@ DEFAULT_TIDY_HEADER_DIRS := \ |frameworks/ \ |libcore/ \ |libnativehelper/ \ - |system/ + |system/ \ + ) # Default filter contains current directory $1 and DEFAULT_TIDY_HEADER_DIRS. define default_tidy_header_filter -- 2.11.0