Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba646253 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

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.
parent 6b9aa693
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))