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
This commit is contained in:
Ying Wang 2014-05-15 10:54:32 -07:00
parent 8200231ae1
commit 788c7789b9
1 changed files with 10 additions and 1 deletions

View File

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