-
-
Notifications
You must be signed in to change notification settings - Fork 154
/
Android.bp
107 lines (93 loc) · 2.3 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
package {
default_applicable_licenses: ["Rethink_license"],
}
license {
name: "Rethink_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0"
],
license_text: [
"LICENSE"
],
}
android_app {
name: "Rethink",
manifest: "app/src/main/AndroidManifest.xml",
additional_manifests: ["app/src/headless/AndroidManifest.xml"],
srcs: [
"app/src/main/**/*.kt",
"app/src/main/**/*.java",
"app/src/headless/**/*.kt",
"app/src/headless/**/*.java",
],
asset_dirs: [
"app/src/main/assets",
"app/src/headless/assets",
],
resource_dirs: ["app/src/main/res"],
certificate: "testkey",
privileged: true,
platform_apis: true,
system_ext_specific: true,
plugins: [
"androidx.room_room-compiler-plugin",
],
required: [
"privapp_whitelist_com.celzero.bravedns",
"com.celzero.bravedns_whitelist",
],
static_libs: [
"androidx.activity_activity-ktx",
"androidx.appcompat_appcompat",
"androidx.paging_paging-runtime",
"androidx.preference_preference",
"androidx.room_room-paging",
"androidx.work_work-runtime-ktx",
"com.google.android.material_material",
"firestack",
"gson",
"guava",
"ipaddress",
"koin-android",
"koin-core",
"krate",
"okio-lib",
],
use_embedded_native_libs: true
}
android_library_import {
name: "firestack",
aars: ["app/libs/firestack*.aar"],
extract_jni: true,
}
android_library_import {
name: "koin-android",
aars: ["app/libs/koin-android*.aar"],
}
android_library_import {
name: "krate",
aars: ["app/libs/krate*.aar"],
}
java_import {
name: "ipaddress",
jars: ["app/libs/ipaddress*.jar"],
}
java_import {
name: "koin-core",
jars: ["app/libs/koin-core*.jar"],
}
prebuilt_etc {
name: "privapp_whitelist_com.celzero.bravedns",
system_ext_specific: true,
sub_dir: "permissions",
src: "com.celzero.bravedns.xml",
filename_from_src: true,
}
prebuilt_etc {
name: "com.celzero.bravedns_whitelist",
system_ext_specific: true,
sub_dir: "sysconfig",
src: "com.celzero.bravedns_whitelist.xml",
filename_from_src: true,
}