Find the jar libraries in APEX from the correct path
JAR libraries in the ART and conscrypt APEXes are no longer built for the platform. Therefore, the path out/target/common/<name>_intermediates does not exist. Instead use the path out/target/common/<libname>.<apexname>_intermediates paths for those APEX-only jars. Bug: 128708192 Bug: 133140750 Test: m Change-Id: I5fb725403ac22198e5ce6d77ca97c5f3392fabfd
This commit is contained in:
parent
0d7bd6be90
commit
439b829b42
|
@ -22,7 +22,10 @@ ifdef PRODUCT_BOOT_JARS
|
|||
|
||||
intermediates := $(call intermediates-dir-for, PACKAGING, boot-jars-package-check,,COMMON)
|
||||
stamp := $(intermediates)/stamp
|
||||
built_boot_jars := $(foreach j, $(PRODUCT_BOOT_JARS), \
|
||||
art_boot_jars := $(addsuffix .com.android.art.release,$(filter $(ART_APEX_JARS), $(PRODUCT_BOOT_JARS)))
|
||||
conscrypt_boot_jars := $(addsuffix .com.android.conscrypt,$(filter conscrypt, $(PRODUCT_BOOT_JARS)))
|
||||
noncore_boot_jars := $(filter-out $(ART_APEX_JARS) conscrypt, $(PRODUCT_BOOT_JARS))
|
||||
built_boot_jars := $(foreach j, $(art_boot_jars) $(conscrypt_boot_jars) $(noncore_boot_jars), \
|
||||
$(call intermediates-dir-for, JAVA_LIBRARIES, $(j),,COMMON)/classes.jar)
|
||||
script := build/make/core/tasks/check_boot_jars/check_boot_jars.py
|
||||
whitelist_file := build/make/core/tasks/check_boot_jars/package_whitelist.txt
|
||||
|
|
Loading…
Reference in New Issue