Add kotlinx_coroutines_test
Bug: 195129231
Test: m kotlinx_coroutines_test
Change-Id: Idc304562b8e3b62fb193f3502172aeb897f08cd2
diff --git a/Android.bp b/Android.bp
index ce531ac..1537c76 100644
--- a/Android.bp
+++ b/Android.bp
@@ -76,3 +76,16 @@
"androidx.annotation_annotation",
],
}
+
+java_library {
+ name: "kotlinx_coroutines_test",
+ host_supported: true,
+ srcs: ["kotlinx-coroutines-test/src/**/*.kt"],
+ kotlincflags: [
+ "-Xuse-experimental=kotlinx.coroutines.InternalCoroutinesApi",
+ "-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi",
+ ],
+ libs: [
+ "kotlinx_coroutines",
+ ],
+}