aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2023-05-01 22:43:29 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-05-01 22:43:29 +0000
commit09af7407b53ed06d87bad00fd698db67301ab2d4 (patch)
tree57da44d194cba49cb3472ad4264acbd3adbede3c
parenta34e453181ab0eb983f1d1ce10e44925b53cfeb8 (diff)
parent0b45cdc4137a6ae11e58fe8795f18b3c80337452 (diff)
downloadkotlinx.coroutines-09af7407b53ed06d87bad00fd698db67301ab2d4.tar.gz
Add build target for kotlinx-coroutines-guava am: 5631454799 am: 0b45cdc413
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/kotlinx.coroutines/+/22955996 Change-Id: Ic834981b2d35b049a0f301a28fff9d9b835c176b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp22
1 files changed, 22 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index a0e14d2f..db94babe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -174,3 +174,25 @@ filegroup {
srcs: ["integration/kotlinx-coroutines-play-services/src/**/*.kt"],
visibility: ["//visibility:public"],
}
+
+// Maven coordinate: org.jetbrains.kotlinx:kotlinx-coroutines-guava
+java_library {
+ name: "kotlinx_coroutines_guava",
+ host_supported: true,
+ srcs: ["integration/kotlinx-coroutines-guava/src/**/*.kt"],
+ kotlincflags: [
+ "-opt-in=kotlin.RequiresOptIn",
+ "-opt-in=kotlinx.coroutines.InternalCoroutinesApi",
+ "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
+ ],
+ libs: [
+ "kotlinx_coroutines",
+ "kotlin-stdlib-jdk8",
+ "guava",
+ ],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+}
+