@ -406,6 +406,14 @@ framework_res_package_export := \
e l s e # LOCAL_SDK_RES_VERSION
framework_res_package_export := \
$( call intermediates-dir-for,APPS,framework-res,,COMMON) /package-export.apk
# Avoid possible circular dependency with our platform-res
lineage_plat_res_package_export := \
$( call intermediates-dir-for,APPS,org.lineageos.platform-res,,COMMON) /package-export.apk
lineage_plat_res_package_export_deps := \
$( dir $( lineage_plat_res_package_export) ) src/R.stamp
e n d i f # LOCAL_SDK_RES_VERSION
e n d i f # LOCAL_NO_STANDARD_LIBRARIES
@ -418,6 +426,12 @@ all_library_res_package_export_deps := \
$( framework_res_package_export) \
$( foreach lib,$( LOCAL_RES_LIBRARIES) ,\
$( call intermediates-dir-for,APPS,$( lib) ,,COMMON) /src/R.stamp)
all_library_res_package_exports += \
$( lineage_plat_res_package_export)
all_library_res_package_export_deps += \
$( lineage_plat_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)