summaryrefslogtreecommitdiff
path: root/golang/golang.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-10-03 22:39:52 +0000
committer Spandan Das <spandandas@google.com> 2024-10-04 18:10:15 +0000
commite42c5d96f90f64ba9b2d85b2e8e099c1f8ea3f8e (patch)
tree25d671fe6994471c6af0f38412c391f6b3ec002b /golang/golang.go
parent323253721116cf9bd9f558ae7449494e3cebfcf6 (diff)
Add JNI libs support to device variants of java_binary
This adds jni_libs support back to device variants, which was removed in https://r.android.com/3230584. These will be installed by the two packaging systems in different ways 1. Kati: By being listed in `LOCAL_REQUIRED_MODULES` of the autogenerated Android.mk 2. Soong: Via the`jniInstallTag`, whose `InstallDepNeeded` value is true This CL also makes it an error for a native library to be listed in `required` of a `java_binary(_host)`. Test: m nothing --no-skip-soong-tests Test: Verified that there are no diff in system_intermediates/file_list.txt (device variants) Test: m installclean && m <host_java_bin> ; verified that the jni library is installed in out/host/linux-x86/lib64 (host variants) Bug: 370110572 Change-Id: I6aebc648191ab39f2da15a5f2807d46abab22cb0
Diffstat (limited to 'golang/golang.go')
0 files changed, 0 insertions, 0 deletions