From 788c7789b9d5406b24efff7d6bdb113dafe05759 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 15 May 2014 10:54:32 -0700 Subject: Fix the PDK fusion build error of missing symbol file for system/bin/app_process system/bin/app_process may be a symlink to system/bin/app_process32 or system/bin/app_process64. Change-Id: I008bd0a5a801e79144fe2debe27a3a4b4deb1195 --- core/pdk_config.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'core/pdk_config.mk') diff --git a/core/pdk_config.mk b/core/pdk_config.mk index f5fdd15..d1e86f1 100644 --- a/core/pdk_config.mk +++ b/core/pdk_config.mk @@ -192,8 +192,17 @@ endif # BUILD_PDK ifneq (,$(filter platform platform-java, $(MAKECMDGOALS))$(filter true,$(TARGET_BUILD_PDK))) # files under $(PRODUCT_OUT)/symbols to help debugging. # Source not included to PDK due to dependency issue, so provide symbols instead. + +# find the real path of app_process, not the symlink +_all_app_process := $(filter system/bin/app_process%, $(_pdk_fusion_file_list)) +ifneq (1,$(words $(_all_app_process))) +_all_app_process := $(filter-out system/bin/app_process, $(_all_app_process)) +endif + PDK_SYMBOL_FILES_LIST := \ - system/bin/app_process + $(_all_app_process) + +_all_app_process := ifdef PDK_FUSION_PLATFORM_ZIP # symbols should be explicitly pulled for fusion build -- cgit v1.1