Merge "Capture snapshot headers in parallel"

This commit is contained in:
Treehugger Robot
2020-03-05 00:03:00 +00:00
committed by Gerrit Code Review
5 changed files with 112 additions and 82 deletions

View File

@@ -1465,6 +1465,13 @@ func (c *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
c.Properties.HideFromMake = false // unhide
// Note: this is still non-installable
}
// glob exported headers for snapshot, if BOARD_VNDK_VERSION is current.
if i, ok := c.linker.(snapshotLibraryInterface); ok && ctx.DeviceConfig().VndkVersion() == "current" {
if isSnapshotAware(ctx, c) {
i.collectHeadersForSnapshot(ctx)
}
}
}
if c.installable() {