Revert "Revert "API: enable API lint on public and system APIs""

This reverts commit fbaa860e03f3b3581f86271ec1441a7a31ebd9f1 and
relands b4f91321d1fc2074df9656787338e9f466c56aea, with updated
baselines.

Bug: 142459906
Test: make droid
Change-Id: I7736b2caa1c06db7ac837e53fffa8d3b38c4b579
diff --git a/Android.bp b/Android.bp
index e2a4219..b64907a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1461,6 +1461,11 @@
             removed_api_file: "api/removed.txt",
             baseline_file: ":public-api-incompatibilities-with-last-released",
         },
+        api_lint: {
+            enabled: true,
+            new_since: ":last-released-public-api",
+            baseline_file: "api/lint-baseline.txt",
+        },
     },
     jdiff_enabled: true,
 }
@@ -1487,6 +1492,11 @@
             removed_api_file: "api/system-removed.txt",
             baseline_file: ":system-api-incompatibilities-with-last-released"
         },
+        api_lint: {
+            enabled: true,
+            new_since: ":last-released-system-api",
+            baseline_file: "api/system-lint-baseline.txt",
+        },
     },
     jdiff_enabled: true,
 }