Merge "Update exportable to handle documentation issues being errors" into main

This commit is contained in:
Treehugger Robot 2024-05-31 18:02:54 +00:00 committed by Gerrit Code Review
commit 1d903eb078

View file

@ -1153,6 +1153,9 @@ func (d *Droidstubs) optionalStubCmd(ctx android.ModuleContext, params stubsComm
}
}
// Treat documentation issues as warnings, but error when new.
cmd.Flag("--error-when-new-category").Flag("Documentation")
if params.stubConfig.generateStubs {
rule.Command().
BuiltTool("soong_zip").