Merge "rust: Allow rust_ffi_shared in jni_libs"

This commit is contained in:
Ivan Lozano
2022-06-28 12:57:05 +00:00
committed by Gerrit Code Review
3 changed files with 23 additions and 1 deletions

View File

@@ -740,7 +740,7 @@ func collectAppDeps(ctx android.ModuleContext, app appDepsInterface,
tag := ctx.OtherModuleDependencyTag(module)
if IsJniDepTag(tag) || cc.IsSharedDepTag(tag) {
if dep, ok := module.(*cc.Module); ok {
if dep, ok := module.(cc.LinkableInterface); ok {
if dep.IsNdk(ctx.Config()) || dep.IsStubs() {
return false
}