diff --git a/Android.bp b/Android.bp index 054d40871659c..9e1820e9f6eae 100644 --- a/Android.bp +++ b/Android.bp @@ -350,8 +350,6 @@ java_defaults { ":framework-non-updatable-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, local_include_dirs: [ @@ -462,20 +460,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 fbabf4ae12008..e1d44dc9a3cf9 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",