diff options
author | 2020-09-16 13:14:18 +0100 | |
---|---|---|
committer | 2020-09-24 13:51:29 +0100 | |
commit | b30f593da486f2eb87db82014792efe8798b6f30 (patch) | |
tree | bc09c6c20990b5ff233e40c17c102181c583909a /java/droiddoc.go | |
parent | 3735c144e03cd1434a8c33d1ef1724d53efd8e19 (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.go | 4 |
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. } |