From 86895aad82c7efc7a7f7d81e3060bdc991a7b558 Mon Sep 17 00:00:00 2001 From: atrost Date: Mon, 19 Aug 2019 16:51:15 +0100 Subject: [PATCH] Add a platform-compat-config to the framework services. Bug: 138222363 Test: m. the config builds and contains annotated changes. Change-Id: I35ab9d028bbf23aca38494b66592779fdb4ef01e --- Android.bp | 1 + services/Android.bp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Android.bp b/Android.bp index 2896f28f5e43f..8c403edbeb581 100644 --- a/Android.bp +++ b/Android.bp @@ -763,6 +763,7 @@ java_library { required: [ "framework-platform-compat-config", "libcore-platform-compat-config", + "services-platform-compat-config", ], } diff --git a/services/Android.bp b/services/Android.bp index bea51be321c99..75fd0129d27a2 100644 --- a/services/Android.bp +++ b/services/Android.bp @@ -37,6 +37,10 @@ java_library { "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 @@ cc_library_shared { defaults: ["libservices.core-libs"], whole_static_libs: ["libservices.core"], } + +platform_compat_config { + name: "services-platform-compat-config", + prefix: "services", + src: ":services", +}