Only add deps on java_binary's jni_libs on host
The jni_libs property of java_binary is documented to only install the jni libraries on host. However, it was adding installable deptag deps on those libraries, even if they were for device. This caused soong to emit installation rules for the jni libraries, causing them to be installed to the staging directory, but not emitting proper information to make, so they wouldn't be included on the built partitions. Only install them if the module is built for host, so that they don't erroneously appear in the staging directory. Bug: 344695913 Test: Presubmits Change-Id: Ic40b4fc6d7dbd51c03b08e28037be5428db49c33
Loading
Please register or sign in to comment