summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Artur Satayev <satayev@google.com> 2020-03-25 15:36:55 +0000
committer Artur Satayev <satayev@google.com> 2020-03-28 19:24:53 +0000
commitf9172bd785203c989363ae0e3837bfa3f912e5ef (patch)
tree60f0273ee5cdbfa95809f2fe327facb35c6705a9
parentc02e0d8cdf1308be1bf5511f7287930a355bd4c3 (diff)
Export change id processor.
- Don't declare the plugin directly, it is exported via java_library that defines the sources. - Remove unneeded framework-annotation-proc. Bug: 152220864 Test: m && diff merged_compat_config.xml Change-Id: Ie750b5391229d21679a8610780b9f8d4a997e204 Merged-In: Ie750b5391229d21679a8610780b9f8d4a997e204 (cherry picked from commit 9f5a5623a7ff91d4e77b9f5634e63ca3b214758a)
-rw-r--r--Android.bp26
-rw-r--r--services/Android.bp4
-rw-r--r--services/core/Android.bp4
-rw-r--r--services/devicepolicy/Android.bp4
4 files changed, 1 insertions, 37 deletions
diff --git a/Android.bp b/Android.bp
index b0e0b35a1f76..4d559e8ef03d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -548,33 +548,9 @@ java_library {
],
}
-java_library {
- name: "framework-annotation-proc",
- srcs: [
- ":framework-all-sources",
- "core/java/**/*.logtags",
- ],
- sdk_version: "core_platform",
- libs: [
- "app-compat-annotations",
- "ext",
- "unsupportedappusage",
- ],
-
- installable: false,
- plugins: [
- "compat-changeid-annotation-processor",
- ],
- static_libs: [
- "framework-internal-utils",
- "exoplayer2-extractor",
- "android.hardware.wifi-V1.0-java-constants",
- ]
-}
-
platform_compat_config {
name: "framework-platform-compat-config",
- src: ":framework-annotation-proc",
+ src: ":framework-minus-apex",
}
// A library including just UnsupportedAppUsage.java classes.
diff --git a/services/Android.bp b/services/Android.bp
index 52c5993a2862..9785493f4d68 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -81,10 +81,6 @@ java_library {
"framework-tethering-stubs-module_libs_api",
],
- plugins: [
- "compat-changeid-annotation-processor",
- ],
-
// Uncomment to enable output of certain warnings (deprecated, unchecked)
//javacflags: ["-Xlint"],
diff --git a/services/core/Android.bp b/services/core/Android.bp
index 7a26b21d6ac7..dcf761525382 100644
--- a/services/core/Android.bp
+++ b/services/core/Android.bp
@@ -130,10 +130,6 @@ java_library_static {
"netd_event_listener_interface-java",
"overlayable_policy_aidl-java",
],
-
- plugins: [
- "compat-changeid-annotation-processor",
- ],
}
java_genrule {
diff --git a/services/devicepolicy/Android.bp b/services/devicepolicy/Android.bp
index cdbe77a3d64c..2f6592bd33b0 100644
--- a/services/devicepolicy/Android.bp
+++ b/services/devicepolicy/Android.bp
@@ -13,8 +13,4 @@ java_library_static {
"services.core",
"app-compat-annotations",
],
-
- plugins: [
- "compat-changeid-annotation-processor",
- ],
}