Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 859ebf0d authored by Spandan Das's avatar Spandan Das
Browse files

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
parent 95b75a12
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,6 +36,6 @@ java_binary_host {
        "jsr305",
        "jsr305",
        "latinime-common",
        "latinime-common",
    ],
    ],
    required: ["libjni_latinime"],
    jni_libs: ["libjni_latinime"],
    main_class: "com.android.inputmethod.latin.dicttool.Dicttool",
    main_class: "com.android.inputmethod.latin.dicttool.Dicttool",
}
}