Export BTS library(setupcompat_bts) am: 7cfd1d6501 am: c6f701f9d1

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/setupcompat/+/24053006

Change-Id: I49f20bfbb2ec4fa6e0afccc4af3afd7ce08a1569
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"],
+    }
+}