aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpandan Das <spandandas@google.com>2024-10-03 23:10:23 +0000
committerSpandan Das <spandandas@google.com>2024-10-03 23:10:23 +0000
commit859ebf0df41f179d2f1fecb6b6b02e1094abc128 (patch)
tree2009a0090264a4a346925200b17b6cbd6be7c1ae
parent95b75a128b8e29eb3d22f6fc672c713bdf1f4c38 (diff)
downloadlatinime-859ebf0df41f179d2f1fecb6b6b02e1094abc128.tar.gz
latinime-859ebf0df41f179d2f1fecb6b6b02e1094abc128.tar.xz
latinime-859ebf0df41f179d2f1fecb6b6b02e1094abc128.zip
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
Diffstat (limited to '')
-rw-r--r--tools/dicttool/Android.bp2
1 files changed, 1 insertions, 1 deletions
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",
}