Revert "Use codegen to catch LinkageErrors from plugins"
Revert submission 28801121-codegen-plugin
Reason for revert: Droidmonitor created revert due to b/368040334.
Reverted changes: /q/submissionid:28801121-codegen-plugin
Change-Id: I7888264372acdbb7352f80317926aab84be140da
diff --git a/packages/SystemUI/plugin/Android.bp b/packages/SystemUI/plugin/Android.bp
index a26cf12..682a68f 100644
--- a/packages/SystemUI/plugin/Android.bp
+++ b/packages/SystemUI/plugin/Android.bp
@@ -23,7 +23,9 @@
}
java_library {
+
name: "SystemUIPluginLib",
+
srcs: [
"bcsmartspace/src/**/*.java",
"bcsmartspace/src/**/*.kt",
@@ -38,8 +40,6 @@
export_proguard_flags_files: true,
},
- plugins: ["PluginAnnotationProcessor"],
-
// If you add a static lib here, you may need to also add the package to the ClassLoaderFilter
// in PluginInstance. That will ensure that loaded plugins have access to the related classes.
// You should also add it to proguard_common.flags so that proguard does not remove the portions
@@ -53,6 +53,7 @@
"SystemUILogLib",
"androidx.annotation_annotation",
],
+
}
android_app {