Remove spaces in tidy check list.
This will allow spaces in LOCAL_TIDY_CHECKS.
Bug: http://b/27779618
Change-Id: I6f9b133220e49b2581a06d2fd9083a1d6b7badca
Test: build with WITH_TIDY=1.
diff --git a/core/binary.mk b/core/binary.mk
index 8fddbd7..0589de0 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -1601,6 +1601,8 @@
endif
endif
+my_tidy_checks := $(subst $(space),,$(my_tidy_checks))
+
# Move -l* entries from ldflags to ldlibs, and everything else to ldflags
my_ldlib_flags := $(my_ldflags) $(my_ldlibs)
my_ldlibs := $(filter -l%,$(my_ldlib_flags))