Upload platform compat config generated from core-all target.

Add compat-changeid-annotation-processor and upload the generated compat
config using the platform_compat_config rule.

Test: flashed device locally, config files found and read by
com.android.server.compat.CompatConfig.
Bug: 138222363

Change-Id: I6572c8442cfdd82d31bf68f57934cd8b56e3bb46
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index bc44e71..fc07815 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -210,6 +210,14 @@
     java_version: "1.9",
 
     installable: false,
+
+    plugins: ["compat-changeid-annotation-processor"],
+}
+
+platform_compat_config {
+    name: "libcore-platform-compat-config",
+    prefix: "libcore",
+    src: ":core-all",
 }
 
 // A system modules definition for use by core library targets only. It only