From b30f593da486f2eb87db82014792efe8798b6f30 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 16 Sep 2020 13:14:18 +0100 Subject: [PATCH] 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 --- java/droiddoc.go | 4 +--- 1 file changed, 1 insertion(+), 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. }