From bbc94b0d832dd5619c0c4317eeb7bae0934a5364 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 2 Dec 2020 11:37:21 -0800 Subject: [PATCH] Use jni_libs instead of required for signapk conscrypt JNI Using jni_libs tells Soong to install the JNI library into a genrule sandbox alongside the java binary. Bug: 124313442 Test: m checkbuild Change-Id: Ia550102c7aa483497f95ac2ea8bb01bce89ae9c1 --- tools/signapk/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/signapk/Android.bp b/tools/signapk/Android.bp index f5b2ba73d..b90f010b0 100644 --- a/tools/signapk/Android.bp +++ b/tools/signapk/Android.bp @@ -27,7 +27,7 @@ java_binary_host { "conscrypt-unbundled", ], - required: ["libconscrypt_openjdk_jni"], + jni_libs: ["libconscrypt_openjdk_jni"], // The post-build signing tools need signapk.jar (and its shared libraries, // handled in their own Android.bp files)