From 439b829b42e557f072436613ba987b7928680433 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 3 Dec 2019 12:54:35 +0900 Subject: 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/_intermediates does not exist. Instead use the path out/target/common/._intermediates paths for those APEX-only jars. Bug: 128708192 Bug: 133140750 Test: m Change-Id: I5fb725403ac22198e5ce6d77ca97c5f3392fabfd --- core/tasks/boot_jars_package_check.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/tasks/boot_jars_package_check.mk b/core/tasks/boot_jars_package_check.mk index dc79e237d3..ba383f514b 100644 --- a/core/tasks/boot_jars_package_check.mk +++ b/core/tasks/boot_jars_package_check.mk @@ -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 -- cgit v1.2.3