1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5android_app {
6    name: "VmLauncherApp",
7    srcs: ["java/**/*.java"],
8    resource_dirs: ["res"],
9    static_libs: [
10        // TODO(b/330257000): will be removed when binder RPC is used
11        "android.system.virtualizationservice_internal-java",
12        // TODO(b/331708504): will be removed when AVF framework handles surface
13        "libcrosvm_android_display_service-java",
14    ],
15    libs: [
16        "framework-virtualization.impl",
17        "framework-annotations-lib",
18    ],
19    platform_apis: true,
20    privileged: true,
21    apex_available: [
22        "com.android.virt",
23    ],
24    optimize: {
25        optimize: true,
26        shrink_resources: true,
27    },
28}
29