Merge "APEX should require base module of stub libraries" am: 6345dfde49
am: f8ae216e9c
Change-Id: Id5c8cb5aa416a3e0cf927067fd2bc2fbf6639128
This commit is contained in:
commit
c746c894b3
1 changed files with 2 additions and 2 deletions
|
@ -2101,8 +2101,8 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||
//
|
||||
// Always include if we are a host-apex however since those won't have any
|
||||
// system libraries.
|
||||
if !android.DirectlyInAnyApex(ctx, cc.Name()) && !android.InList(cc.Name(), a.requiredDeps) {
|
||||
a.requiredDeps = append(a.requiredDeps, cc.Name())
|
||||
if !android.DirectlyInAnyApex(ctx, cc.Name()) && !android.InList(cc.BaseModuleName(), a.requiredDeps) {
|
||||
a.requiredDeps = append(a.requiredDeps, cc.BaseModuleName())
|
||||
}
|
||||
requireNativeLibs = append(requireNativeLibs, cc.OutputFile().Path().Base())
|
||||
// Don't track further
|
||||
|
|
Loading…
Reference in a new issue