Reinforce the dependency on package-export.apk.
This fixes the bug that if an app has no resource at all, we should still set up the dependency on package-export.apk, because the AndroidManifest.xml may still reference symbols in package-export.apk. Change-Id: Idb3f12abf55c04824da5b666fe7c49694e227e2c
This commit is contained in:
@@ -297,7 +297,7 @@ all_library_res_package_export_deps := \
|
||||
$(foreach lib,$(LOCAL_RES_LIBRARIES),\
|
||||
$(call intermediates-dir-for,APPS,$(lib),,COMMON)/src/R.stamp)
|
||||
|
||||
$(resource_export_package) $(R_file_stamp): $(all_library_res_package_export_deps)
|
||||
$(resource_export_package) $(R_file_stamp) $(LOCAL_BUILT_MODULE): $(all_library_res_package_export_deps)
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): \
|
||||
PRIVATE_AAPT_INCLUDES := $(all_library_res_package_exports)
|
||||
endif # LOCAL_NO_STANDARD_LIBRARIES
|
||||
|
Reference in New Issue
Block a user