rust: Register rustdoc with checkbuild

Bug: 197237709
Test: m checkbuild, manually verify rustdoc targets built
Change-Id: Icfcc4a8c1bc7de4c5e1abbe495646504490ac927
This commit is contained in:
Matthew Maurer
2021-12-10 21:57:21 +00:00
parent b435744fdc
commit e3803630c2

View File

@@ -901,6 +901,9 @@ func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
bloaty.MeasureSizeForPaths(ctx, mod.compiler.strippedOutputFilePath(), android.OptionalPathForPath(mod.compiler.unstrippedOutputFilePath()))
mod.docTimestampFile = mod.compiler.rustdoc(ctx, flags, deps)
if mod.docTimestampFile.Valid() {
ctx.CheckbuildFile(mod.docTimestampFile.Path())
}
// glob exported headers for snapshot, if BOARD_VNDK_VERSION is current or
// RECOVERY_SNAPSHOT_VERSION is current.