Update Android.bp am: 5b6a599727
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/kotlinx.serialization/+/27072203
Change-Id: Ie27c49e020dcf8f73dc15cde0fe458ed1fbb0a12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 67ac91c..d6c6f8d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,6 +6,10 @@
common_srcs: ["core/commonMain/src/kotlinx/serialization/**/*.kt"],
kotlincflags: [
"-Xmulti-platform",
+ "-Xexpect-actual-classes",
+ "-opt-in=kotlin.ExperimentalStdlibApi",
+ "-opt-in=kotlin.ExperimentalMultiplatform",
+ "-opt-in=kotlinx.serialization.internal.CoreFriendModuleApi",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=kotlinx.serialization.InternalSerializationApi",
],
@@ -23,6 +27,11 @@
common_srcs: ["formats/json/commonMain/src/kotlinx/serialization/**/*.kt"],
kotlincflags: [
"-Xmulti-platform",
+ "-Xexpect-actual-classes",
+ "-opt-in=kotlin.ExperimentalStdlibApi",
+ "-opt-in=kotlin.ExperimentalMultiplatform",
+ "-opt-in=kotlinx.serialization.internal.CoreFriendModuleApi",
+ "-opt-in=kotlinx.serialization.json.internal.JsonFriendModuleApi",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=kotlinx.serialization.InternalSerializationApi",
],