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
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 @@
 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