Export BTS library(setupcompat_bts) am: 7cfd1d6501
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/setupcompat/+/24053006
Change-Id: I3fbb7f11f61de8568a419c8ed3911a5bee5812ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 26a0270..effa39b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,14 @@
}
filegroup {
+ name: "AidlsBts",
+ srcs: [
+ "bts/aidl/com/google/android/setupcompat/bts/*.aidl",
+ ],
+ path: "bts/aidl",
+}
+
+filegroup {
name: "Srcs",
srcs: [
"main/java/com/google/android/setupcompat/*.java",
@@ -65,6 +73,14 @@
path: "main/java",
}
+filegroup {
+ name: "SrcsBts",
+ srcs: [
+ "bts/java/com/google/android/setupcompat/bts/*.java",
+ ],
+ path: "bts/java",
+}
+
android_library {
name: "setupcompat",
manifest: "AndroidManifest.xml",
@@ -88,3 +104,27 @@
proguard_flags_files: ["proguard.flags"],
}
}
+
+android_library {
+ name: "setupcompat_bts",
+ manifest: "AndroidManifest.xml",
+ resource_dirs: [
+ "main/res",
+ ],
+ srcs: [
+ ":Srcs",
+ ":SrcsBts",
+ ":SrcsPartnerConfig",
+ ":Aidls",
+ ":AidlsBts",
+ ],
+ static_libs: [
+ "androidx.annotation_annotation",
+ "error_prone_annotations",
+ ],
+ min_sdk_version: "14",
+ sdk_version: "current",
+ optimize: {
+ proguard_flags_files: ["proguard.flags"],
+ }
+}