Strip spaces in my_tidy_flags.
Test: make with WITH_TIDY=1 DEFAULT_TIDY_HEADER_DIRS="d1/d2|external/*" Bug: 32668284 Change-Id: I7443210444d65d7e31b91b312bc518e40167305d
This commit is contained in:
parent
5875ca06ce
commit
1d9f04ff53
|
@ -1654,7 +1654,7 @@ ifneq (,$(filter 1 true,$(my_tidy_enabled)))
|
|||
ifneq ($(LOCAL_TIDY_CHECKS),)
|
||||
my_tidy_checks := $(my_tidy_checks),$(LOCAL_TIDY_CHECKS)
|
||||
endif
|
||||
my_tidy_flags += $(WITH_TIDY_FLAGS) $(LOCAL_TIDY_FLAGS)
|
||||
my_tidy_flags := $(strip $(WITH_TIDY_FLAGS) $(LOCAL_TIDY_FLAGS))
|
||||
# If tidy flags are not specified, default to check all header files.
|
||||
ifeq ($(my_tidy_flags),)
|
||||
my_tidy_flags := $(call default_tidy_header_filter,$(LOCAL_PATH))
|
||||
|
|
Loading…
Reference in New Issue