Merge changes I02fb745a,Iccc96c0d
* changes: Follow all shared library dependencies when collecting JNI libraries Handle static unwinder in ltoDepsMutator
This commit is contained in:
@@ -845,9 +845,7 @@ func collectAppDeps(ctx android.ModuleContext, app appDepsInterface,
|
||||
otherName := ctx.OtherModuleName(module)
|
||||
tag := ctx.OtherModuleDependencyTag(module)
|
||||
|
||||
// TODO(ccross): The tag == cc.SharedDepTag() check should be cc.IsSharedDepTag(tag) but
|
||||
// was left to maintain behavior when adding libraryDependencyTag.
|
||||
if IsJniDepTag(tag) || tag == cc.SharedDepTag() {
|
||||
if IsJniDepTag(tag) || cc.IsSharedDepTag(tag) {
|
||||
if dep, ok := module.(*cc.Module); ok {
|
||||
if dep.IsNdk() || dep.IsStubs() {
|
||||
return false
|
||||
|
Reference in New Issue
Block a user