Strip my_shared_libraries to remove space char

This commit strips my_shared_libraries to remove the unwanted space
character when both `$(filter-out ...)` and
`$(my_system_shared_libraries)` are empty.

Bug: 137302468
Test: lunch aosp_walleye-userdebug && make
Test: lunch aosp_walleye-userdebug && make check-elf-files
Change-Id: Ia0410da877196c104a61d48c92a2be969a9754a5
This commit is contained in:
Logan Chien
2019-07-11 14:00:04 -07:00
parent a45d6f5ee9
commit e984ebbb57

View File

@@ -135,9 +135,9 @@ else
endif
endif
my_shared_libraries := \
my_shared_libraries := $(strip \
$(filter-out $(my_system_shared_libraries),$(LOCAL_SHARED_LIBRARIES)) \
$(my_system_shared_libraries)
$(my_system_shared_libraries))
# Extra shared libraries introduced by LOCAL_CXX_STL (may append some libraries to
# my_shared_libraries).