-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroid.bp
More file actions
50 lines (47 loc) · 1.19 KB
/
Android.bp
File metadata and controls
50 lines (47 loc) · 1.19 KB
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
//
// SPDX-FileCopyrightText: The Android Open Source Project
// SPDX-FileCopyrightText: The Proton AOSP Project
// SPDX-FileCopyrightText: TheParasiteProject
// SPDX-License-Identifier: GPL-3.0
//
android_app {
name: "ColumbusService",
defaults: [
"SettingsLibDefaults",
],
srcs: [
"src/**/*.java",
"src/**/*.kt",
"src/**/*.proto",
],
platform_apis: true,
system_ext_specific: true,
certificate: "platform",
privileged: true,
privapp_allowlist: "privapp_whitelist_org.protonaosp.columbus.xml",
static_libs: [
"kotlin-stdlib",
"androidx.preference_preference",
"androidx.core_core-ktx",
"androidx.lifecycle_lifecycle-runtime-ktx",
"tensorflowlite_java",
"SettingsLib",
"SettingsLibSettingsTheme",
"SystemUISharedLib",
],
jni_libs: ["libtensorflowlite_jni"],
use_embedded_native_libs: true,
optimize: {
enabled: true,
shrink: true,
optimize: true,
proguard_flags_files: ["proguard.flags"],
},
proto: {
type: "nano",
},
aaptflags: [
"-0 .tflite",
],
kotlincflags: ["-Xjvm-default=all"],
}