commit | e17b902d8dcddf3b3dc9f1649cf862265118925f | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Fri May 31 18:11:10 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri May 31 18:11:10 2024 +0000 |
tree | 2bd67655086a7ef9af58d7103b87fdfbabc58c9b | |
parent | eaf7f7ff4877b7e80529dd46efeb4faec736668e [diff] | |
parent | 1d903eb078864c3e35905c253004194a267158a7 [diff] |
Merge "Update exportable to handle documentation issues being errors" into main am: 1d903eb078 Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3110137 Change-Id: I16ec61988da6f1fb9f93d8e89979036a1b0eb402 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/java/droidstubs.go b/java/droidstubs.go index b94ad16..5ca6c25 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go
@@ -1153,6 +1153,9 @@ } } + // 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").