-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
79 lines (74 loc) · 1.92 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
java_library {
name: "net.typeblog.lpac_jni",
srcs: [
"libs/lpac-jni/src/main/**/*.kt",
],
optimize: {
enabled: false,
},
static_libs: [
"kotlinx_coroutines",
],
system_ext_specific: true,
}
android_library {
name: "OpenEUICC-common",
static_libs: [
"net.typeblog.lpac_jni",
// Dependencies that must be pulled from maven,
"OpenEUICC_androidx.datastore_datastore-preferences",
"OpenEUICC_com.google.zxing_core",
"OpenEUICC_com.journeyapps_zxing-android-embedded",
// 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",
],
srcs: [
"app-common/src/main/**/*.kt",
],
optimize: {
enabled: false,
},
resource_dirs: [
"app-common/src/main/res",
],
manifest: "app-common/src/main/AndroidManifest.xml",
system_ext_specific: true,
}
android_app {
name: "OpenEUICC",
static_libs: [
"OpenEUICC-common",
],
jni_libs: [
"liblpac-jni",
],
srcs: [
"app/src/main/**/*.kt",
],
optimize: {
enabled: false,
},
resource_dirs: [
"app/src/main/res",
],
required: ["privapp_whitelist_im.angry.openeuicc.xml"],
manifest: "app/src/main/AndroidManifest.xml",
privileged: true,
platform_apis: true,
system_ext_specific: true,
certificate: "platform",
}
prebuilt_etc {
name: "privapp_whitelist_im.angry.openeuicc.xml",
system_ext_specific: true,
src: "privapp_whitelist_im.angry.openeuicc.xml",
sub_dir: "permissions",
}