summaryrefslogtreecommitdiff
path: root/java/droiddoc.go
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2020-09-16 13:14:18 +0100
committer Anton Hansson <hansson@google.com> 2020-09-24 13:51:29 +0100
commitb30f593da486f2eb87db82014792efe8798b6f30 (patch)
treebc09c6c20990b5ff233e40c17c102181c583909a /java/droiddoc.go
parent3735c144e03cd1434a8c33d1ef1724d53efd8e19 (diff)
Make API lint warnings errors for system & testapi
They used to be listed to not have this treatment, but we are baselining the existing warnings and making them errors instead. Bug: 154317059 Test: m Change-Id: I306b5a07d1b771cc0061aaac44f881f40fbe85ed Merged-In: I306b5a07d1b771cc0061aaac44f881f40fbe85ed
Diffstat (limited to 'java/droiddoc.go')
-rw-r--r--java/droiddoc.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/droiddoc.go b/java/droiddoc.go
index 85a61dd98..a84e2b80c 100644
--- a/java/droiddoc.go
+++ b/java/droiddoc.go
@@ -1412,9 +1412,7 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// TODO(b/154317059): Clean up this whitelist by baselining and/or checking in last-released.
if d.Name() != "android.car-system-stubs-docs" &&
- d.Name() != "android.car-stubs-docs" &&
- d.Name() != "system-api-stubs-docs" &&
- d.Name() != "test-api-stubs-docs" {
+ d.Name() != "android.car-stubs-docs" {
cmd.Flag("--lints-as-errors")
cmd.Flag("--warnings-as-errors") // Most lints are actually warnings.
}