From 859ebf0df41f179d2f1fecb6b6b02e1094abc128 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 3 Oct 2024 23:10:23 +0000 Subject: Use jni_libs to install shared library dependency `jni_libs` is more specific than `required`, and allows Soong to be more restrictive when creating the dependency edge from the java_binary to the cc_library. Bug: 370110572 Test: m installclean && m dicttool_aosp Test: verified that libjni_latinime gets installed in out/host/linux-x86/lib64 Change-Id: I49bde551c65e344c566decffc7f447fc4813f70b --- tools/dicttool/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dicttool/Android.bp b/tools/dicttool/Android.bp index 48f751e78..3a6c7dc09 100644 --- a/tools/dicttool/Android.bp +++ b/tools/dicttool/Android.bp @@ -36,6 +36,6 @@ java_binary_host { "jsr305", "latinime-common", ], - required: ["libjni_latinime"], + jni_libs: ["libjni_latinime"], main_class: "com.android.inputmethod.latin.dicttool.Dicttool", } -- cgit v1.2.3-83-g751a