Merge "rust: Register rustdoc with checkbuild"

This commit is contained in:
Treehugger Robot
2022-01-05 21:54:40 +00:00
committed by Gerrit Code Review

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.