summaryrefslogtreecommitdiffstats
path: root/core/pdk_config.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-05-15 10:54:32 -0700
committerYing Wang <wangying@google.com>2014-05-15 10:54:32 -0700
commit788c7789b9d5406b24efff7d6bdb113dafe05759 (patch)
treeb77702160b87a3b3503ebd626cf93f65e56907b5 /core/pdk_config.mk
parent8200231ae1891fdb3bba8ff4cefbaea88dbbe61b (diff)
downloadbuild-788c7789b9d5406b24efff7d6bdb113dafe05759.zip
build-788c7789b9d5406b24efff7d6bdb113dafe05759.tar.gz
build-788c7789b9d5406b24efff7d6bdb113dafe05759.tar.bz2
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
Diffstat (limited to 'core/pdk_config.mk')
-rw-r--r--core/pdk_config.mk11
1 files changed, 10 insertions, 1 deletions
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