OSDN Git Service

Remove spaces in tidy check list.
authorChih-Hung Hsieh <chh@google.com>
Tue, 16 Aug 2016 23:27:30 +0000 (16:27 -0700)
committerChih-Hung Hsieh <chh@google.com>
Tue, 16 Aug 2016 23:27:30 +0000 (16:27 -0700)
This will allow spaces in LOCAL_TIDY_CHECKS.

Bug: http://b/27779618
Change-Id: I6f9b133220e49b2581a06d2fd9083a1d6b7badca
Test: build with WITH_TIDY=1.

core/binary.mk

index 8fddbd7..0589de0 100644 (file)
@@ -1601,6 +1601,8 @@ ifneq (,$(filter 1 true,$(my_tidy_enabled)))
   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))