forked from PeterCxy/OpenEUICC
Android.bp: Fix building on AOSP 14 (finally)
This commit is contained in:
parent
06fe15bb11
commit
a53ff97ecc
20
Android.bp
20
Android.bp
|
@ -14,22 +14,11 @@ java_library {
|
||||||
|
|
||||||
android_library {
|
android_library {
|
||||||
name: "OpenEUICC-common",
|
name: "OpenEUICC-common",
|
||||||
|
defaults: [
|
||||||
|
"OpenEUICC-deps-defaults",
|
||||||
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"net.typeblog.lpac_jni",
|
"net.typeblog.lpac_jni",
|
||||||
|
|
||||||
// Dependencies that must be pulled from maven,
|
|
||||||
"zxing-core-prebuilt-jar",
|
|
||||||
"zxing-android-embedded-prebuilt-aar",
|
|
||||||
|
|
||||||
// Dependencies included with AOSP
|
|
||||||
"androidx.appcompat_appcompat",
|
|
||||||
"androidx.cardview_cardview",
|
|
||||||
"androidx-constraintlayout_constraintlayout",
|
|
||||||
"androidx.core_core-ktx",
|
|
||||||
"androidx.lifecycle_lifecycle-runtime-ktx",
|
|
||||||
"androidx.preference_preference",
|
|
||||||
"androidx.swiperefreshlayout_swiperefreshlayout",
|
|
||||||
"com.google.android.material_material",
|
|
||||||
"kotlinx_coroutines",
|
"kotlinx_coroutines",
|
||||||
],
|
],
|
||||||
srcs: [
|
srcs: [
|
||||||
|
@ -41,6 +30,9 @@ android_library {
|
||||||
resource_dirs: [
|
resource_dirs: [
|
||||||
"app-common/src/main/res",
|
"app-common/src/main/res",
|
||||||
],
|
],
|
||||||
|
kotlincflags: [
|
||||||
|
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||||
|
],
|
||||||
manifest: "app-common/src/main/AndroidManifest.xml",
|
manifest: "app-common/src/main/AndroidManifest.xml",
|
||||||
system_ext_specific: true,
|
system_ext_specific: true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue