Export BTS library(setupcompat_bts)
Bug: 289960636
Test: presubmit
Change-Id: I741b7e2bda331033bd2cb639aa538a7ba952e01a
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"],
+ }
+}