Explicitly disable api lint for graphics
It needs a baseline or checked in prior API in order not to produce
errors, but it's holding up an upstream CL that turns API lint on
everywhere from submitting right now.
Bug: 144149403
Test: m
Change-Id: I558be69e7cf8deac31e612ab393f1979984933b9
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
index 769afc5..eb63ba0 100644
--- a/libs/hwui/Android.bp
+++ b/libs/hwui/Android.bp
@@ -197,6 +197,13 @@
"framework-graphics-stubs-srcs-defaults",
"framework-module-api-defaults-module_libs_api",
],
+ check_api: {
+ // Disable api_lint that the defaults enable
+ // TODO: enable this
+ api_lint: {
+ enabled: false,
+ },
+ },
}
droidstubs {
@@ -213,6 +220,13 @@
"framework-graphics-stubs-srcs-defaults",
"framework-module-stubs-defaults-publicapi",
],
+ check_api: {
+ // Disable api_lint that the defaults enable
+ // TODO: enable this
+ api_lint: {
+ enabled: false,
+ },
+ },
}
droidstubs {
@@ -221,6 +235,13 @@
"framework-graphics-stubs-srcs-defaults",
"framework-module-stubs-defaults-systemapi",
],
+ check_api: {
+ // Disable api_lint that the defaults enable
+ // TODO: enable this
+ api_lint: {
+ enabled: false,
+ },
+ },
}
java_library {