aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2023-07-28 16:55:26 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-11-09 21:09:28 +0000
commitbd827552ad451c5d31cd795454e3ffb0d5853d1a (patch)
treeb4cf750610110fb17cc371432d56fbd3720c2362
parent5c53be67b175ad7e14696616563e8cba22231505 (diff)
downloadkotlinx.coroutines-bd827552ad451c5d31cd795454e3ffb0d5853d1a.tar.gz
Add build target for kotlinx-coroutines-rx2
Bug: 293507234 Test: m kotlinx-coroutines-rx2 (cherry picked from https://android-review.googlesource.com/q/commit:1b8434ec7e8159a7513a3458621a77d7f84cec59) Merged-In: Ie2b000146a2004a393ab8bb851dfff9b3a317091 Change-Id: Ie2b000146a2004a393ab8bb851dfff9b3a317091
-rw-r--r--Android.bp47
1 files changed, 47 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index db94babe..e00accc5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -196,3 +196,50 @@ java_library {
],
}
+// Maven coordinate: org.jetbrains.kotlinx:kotlinx-coroutines-reactive
+java_library {
+ name: "kotlinx_coroutines_reactive",
+ host_supported: true,
+ srcs: ["reactive/kotlinx-coroutines-reactive/src/**/*.kt"],
+ kotlincflags: [
+ "-opt-in=kotlin.RequiresOptIn",
+ "-opt-in=kotlinx.coroutines.InternalCoroutinesApi",
+ "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
+ "-opt-in=kotlin.experimental.ExperimentalTypeInference",
+ ],
+ libs: [
+ "kotlin-stdlib",
+ "kotlinx_coroutines",
+ "rxjava",
+ ],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ visibility: ["//visibility:public"],
+}
+
+
+// Maven coordinate: org.jetbrains.kotlinx:kotlinx-coroutines-rx2
+java_library {
+ name: "kotlinx_coroutines_rx2",
+ host_supported: true,
+ srcs: ["reactive/kotlinx-coroutines-rx2/src/**/*.kt"],
+ kotlincflags: [
+ "-opt-in=kotlin.RequiresOptIn",
+ "-opt-in=kotlinx.coroutines.InternalCoroutinesApi",
+ "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
+ "-opt-in=kotlin.experimental.ExperimentalTypeInference",
+ ],
+ libs: [
+ "kotlin-stdlib",
+ "kotlinx_coroutines",
+ "kotlinx_coroutines_reactive",
+ "rxjava",
+ ],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ visibility: ["//visibility:public"],
+}