Merge "Make API lint warnings errors for system & testapi"

This commit is contained in:
Anton Hansson 2020-09-25 06:52:57 +00:00 committed by Gerrit Code Review
commit a6906e2329
1 changed files with 1 additions and 3 deletions

View File

@ -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.
}