From ba646253cec218d08adce085eab06b13e7cbb360 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 16 Aug 2016 16:27:30 -0700 Subject: [PATCH] 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. --- core/binary.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/binary.mk b/core/binary.mk index 8fddbd767c..0589de0b71 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -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))