From 0234737f305252f011a24231ee31f4401d6bd72e Mon Sep 17 00:00:00 2001 From: sophiez Date: Tue, 2 Nov 2021 17:58:02 -0700 Subject: Java APIs used by Mainline modules. Add scripts to generate java APIs used by Mainline modules. This is aosp/1879177 with fixed build error that caused by dexdeps analyzing resource only APKs which doesn't contains any .dex files. Now skip the error generates in that case in gen_java_usedby_apex.sh Forrest run:https://android-build.googleplex.com/builds/abtd/run/L38900000951898586 Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only Change-Id: Id539cbe1b7306ace69c047f95ffc02265a467511 --- apex/apex.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apex/apex.go') diff --git a/apex/apex.go b/apex/apex.go index 33188cbcb..20660d345 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -424,8 +424,9 @@ type apexBundle struct { isCompressed bool // Path of API coverage generate file - apisUsedByModuleFile android.ModuleOutPath - apisBackedByModuleFile android.ModuleOutPath + nativeApisUsedByModuleFile android.ModuleOutPath + nativeApisBackedByModuleFile android.ModuleOutPath + javaApisUsedByModuleFile android.ModuleOutPath // Collect the module directory for IDE info in java/jdeps.go. modulePaths []string -- cgit v1.2.3-59-g8ed1b