blob: 4bb97034247a7492c1b264e90b9d4669b9f693d2 [file] [log] [blame]
Jeongik Cha146bd252024-08-13 17:44:00 +09001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5android_app {
6 name: "VmTerminalApp",
Mu-Le Lee0b53a602024-10-10 21:01:03 +08007 srcs: [
8 "java/**/*.java",
9 "java/**/*.kt",
10 ],
Jeongik Chad23c5d92024-12-03 18:51:50 +090011 asset_dirs: ["assets"],
Jeongik Cha146bd252024-08-13 17:44:00 +090012 resource_dirs: ["res"],
13 static_libs: [
Mu-Le Lee0b53a602024-10-10 21:01:03 +080014 "androidx-constraintlayout_constraintlayout",
Mu-Le Lee0b53a602024-10-10 21:01:03 +080015 "androidx.window_window",
Seungjae Yoo675f1332024-11-20 19:29:05 +090016 "apache-commons-compress",
17 "com.google.android.material_material",
18 "debian-service-grpclib-lite",
19 "gson",
20 "VmTerminalApp.aidl-java",
Jeongik Cha146bd252024-08-13 17:44:00 +090021 ],
Seungjae Yooe04fac82024-10-31 15:53:46 +090022 jni_libs: [
23 "libforwarder_host_jni",
24 ],
Seungjae Yoo675f1332024-11-20 19:29:05 +090025 libs: [
26 "androidx.annotation_annotation",
27 "framework-virtualization.impl",
28 "framework-annotations-lib",
29 ],
Seungjae Yooe04fac82024-10-31 15:53:46 +090030 use_embedded_native_libs: true,
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090031 platform_apis: true,
32 privileged: true,
Jeongik Cha146bd252024-08-13 17:44:00 +090033 optimize: {
Jiyong Park6a2a4dc2024-11-05 07:33:00 +090034 // TODO(b/377100096): enable bytecode optimization again
35 //optimize: true,
36 proguard_flags_files: ["proguard.flags"],
37 shrink_resources: true,
Jeongik Cha146bd252024-08-13 17:44:00 +090038 },
Jeongik Cha856767c2024-08-26 16:23:51 +090039 apex_available: [
40 "com.android.virt",
41 ],
Jeongik Cha146bd252024-08-13 17:44:00 +090042}
Jaewan Kimb6bcab82024-10-22 00:59:12 +090043
44aidl_interface {
45 name: "VmTerminalApp.aidl",
46 srcs: ["aidl/**/*.aidl"],
47 unstable: true,
48 local_include_dir: "aidl",
49 backend: {
50 java: {
51 enabled: true,
52 apex_available: [
53 "com.android.virt",
54 ],
55 },
56 },
57}