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.
This commit is contained in:
Chih-Hung Hsieh 2016-08-16 16:27:30 -07:00
parent 6b9aa6938d
commit ba646253ce
1 changed files with 2 additions and 0 deletions

View 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))