Skip to content

Commit 859ebf0

Browse files
committed
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
1 parent 95b75a1 commit 859ebf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/dicttool/Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ java_binary_host {
3636
"jsr305",
3737
"latinime-common",
3838
],
39-
required: ["libjni_latinime"],
39+
jni_libs: ["libjni_latinime"],
4040
main_class: "com.android.inputmethod.latin.dicttool.Dicttool",
4141
}

0 commit comments

Comments
 (0)