Merge changes from topic "no_staticlinking_to_stubs"

* changes:
  Prevent statically linking to a lib providing stable C APIs
  Add GetPathString
This commit is contained in:
Jiyong Park
2020-05-08 02:12:58 +00:00
committed by Gerrit Code Review
4 changed files with 123 additions and 28 deletions

View File

@@ -2862,6 +2862,9 @@ func (c *Module) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Modu
return false
}
}
} else if ctx.OtherModuleDependencyTag(dep) == llndkImplDep {
// We don't track beyond LLNDK
return false
}
return true
}