Merge "Update exportable to handle documentation issues being errors" into main am: 1d903eb078
am: e17b902d8d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3110137 Change-Id: I93aa97dcc411d4f4e5c973438b984e43d991b7cf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9a182bca8a
1 changed files with 3 additions and 0 deletions
|
@ -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").
|
||||
|
|
Loading…
Reference in a new issue