-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
110 lines (95 loc) · 2.67 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
java_import {
name: "okhttp-jvm-5.0.0-alpha.10",
jars: ["libs/okhttp-jvm-5.0.0-alpha.10.jar"],
//sdk_version: "current",
//min_sdk_version: "29",
host_supported: true,
installable: false,
}
//java_import {
// name: "okio-3.3.0-all",
// jars: ["libs/okio-3.3.0-all.jar"],
// sdk_version: "system_current",
// min_sdk_version: "29",
// host_supported: true,
// installable: false,
//}
java_import {
name: "okio-jvm-3.2.0",
jars: ["libs/okio-jvm-3.2.0.jar"],
//sdk_version: "current",
//min_sdk_version: "29",
host_supported: true,
installable: false,
}
android_library_import {
name: "xlog-1.11.0",
aars: ["libs/xlog-1.11.0.aar"],
}
android_app {
owner: "easterNday",
name: "DogDaySettings",
manifest: "AndroidManifest.xml",
//Replace crDroid Updater
overrides: ["Updater"],
// Include SettingsLib and its dependencies
defaults: ["SettingsLibDefaults"],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
resource_dirs: ["res"],
libs: [
],
static_libs: [
"androidx.core_core-ktx",
"androidx.cardview_cardview",
"androidx.fragment_fragment",
"androidx.appcompat_appcompat",
//"androidx.recyclerview_recyclerview",
//"androidx.recyclerview_recyclerview-selection",
"com.google.android.material_material",
"androidx.navigation_navigation-common-ktx",
"androidx.navigation_navigation-fragment-ktx",
"androidx.navigation_navigation-runtime-ktx",
"androidx.navigation_navigation-ui-ktx",
"androidx.navigation_navigation-ui",
//"androidx.lifecycle_lifecycle-livedata-ktx",
//"androidx.lifecycle_lifecycle-viewmodel-ktx",
//"androidx-constraintlayout_constraintlayout",
"kotlinx-coroutines-android",
"kotlinx-coroutines-core",
"okhttp-jvm-5.0.0-alpha.10",
//"okio-3.3.0-all",
"okio-jvm-3.2.0",
"xlog-1.11.0",
],
//updatable: true,
privileged: true,
certificate: "platform",
system_ext_specific: true,
//sdk_version: "current",
//min_sdk_version: "29",
platform_apis: true,
optimize: {
enabled: false
},
//dex_preopt: {
// enabled: false,
//},
//aaptflags: [
// "--auto-add-overlay",
// "--extra-packages",
// "com.squareup.okhttp3",
//],
required: [
"privapp_whitelist_top.easterNday.settings",
],
}
prebuilt_etc {
name: "privapp_whitelist_top.easterNday.settings",
system_ext_specific: true,
sub_dir: "permissions",
src: "privapp_whitelist_top.easterNday.settings.xml",
filename_from_src: true,
}