Add a platform-compat-config to the framework services.
Bug: 138222363
Test: m. the config builds and contains annotated changes.
Change-Id: I35ab9d028bbf23aca38494b66592779fdb4ef01e
diff --git a/Android.bp b/Android.bp
index 2896f28..8c403ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -763,6 +763,7 @@
required: [
"framework-platform-compat-config",
"libcore-platform-compat-config",
+ "services-platform-compat-config",
],
}
diff --git a/services/Android.bp b/services/Android.bp
index bea51be..75fd012 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -37,6 +37,10 @@
"android.hidl.manager-V1.0-java",
],
+ plugins: [
+ "compat-changeid-annotation-processor",
+ ],
+
// Uncomment to enable output of certain warnings (deprecated, unchecked)
//javacflags: ["-Xlint"],
@@ -50,3 +54,9 @@
defaults: ["libservices.core-libs"],
whole_static_libs: ["libservices.core"],
}
+
+platform_compat_config {
+ name: "services-platform-compat-config",
+ prefix: "services",
+ src: ":services",
+}