summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-04-02 10:56:09 +0100
committer Paul Duffin <paulduffin@google.com> 2021-04-06 11:41:49 +0100
commit20c056dacb3e66f1d93dc65257ae29b5681fea5e (patch)
treee23e764b5b2ea6c42c7f817a239f8ae55f3df34b
parentdfefb9e59d822910e4945a609bdc147cd26fb232 (diff)
Remove framework-atb-backward-compatibility
The class in this library no longer needs to be conditionally included on the bootclasspath based on the REMOVE_ATB_FROM_BCP flag so is being built as part of framework-minus-apex. Bug: 184331423 Test: m nothing Change-Id: If7c2ec51be0670ffda22e18ce1e028783a1513e7
-rw-r--r--Android.bp16
-rw-r--r--core/tests/coretests/Android.bp1
2 files changed, 0 insertions, 17 deletions
diff --git a/Android.bp b/Android.bp
index 856e11ec110d..3ae715967c8c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -296,8 +296,6 @@ java_library {
":framework-connectivity-sources",
"core/java/**/*.logtags",
],
- // See comment on framework-atb-backward-compatibility module below
- exclude_srcs: ["core/java/android/content/pm/AndroidTestBaseUpdater.java"],
aidl: {
generate_get_transaction_name: true,
},
@@ -378,20 +376,6 @@ platform_compat_config {
src: ":framework-minus-apex",
}
-// A temporary build target that is conditionally included on the bootclasspath if
-// android.test.base library has been removed and which provides support for
-// maintaining backwards compatibility for APKs that target pre-P and depend on
-// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
-// specified on the build command line.
-java_library {
- name: "framework-atb-backward-compatibility",
- installable: true,
- libs: ["app-compat-annotations"],
- srcs: [
- "core/java/android/content/pm/AndroidTestBaseUpdater.java",
- ],
-}
-
genrule {
name: "statslog-framework-java-gen",
tools: ["stats-log-api-gen"],
diff --git a/core/tests/coretests/Android.bp b/core/tests/coretests/Android.bp
index 510578e1e50b..5045e3b2cf99 100644
--- a/core/tests/coretests/Android.bp
+++ b/core/tests/coretests/Android.bp
@@ -61,7 +61,6 @@ android_test {
"org.apache.http.legacy",
"android.test.base",
"android.test.mock",
- "framework-atb-backward-compatibility",
"framework",
"ext",
"framework-res",