// Vanta Aurora: the default live wallpaper (OVERHAUL.md row 15). Not
// privileged: a wallpaper needs no privileged permission, only the platform
// cert for the signature-guarded VantaConfig store.
android_app {
    name: "VantaAurora",
    manifest: "AndroidManifest.xml",
    srcs: ["src/**/*.kt"],
    resource_dirs: ["res"],
    certificate: "platform",
    system_ext_specific: true,
    platform_apis: true,
    kotlin_plugins: ["kotlin-compose-compiler-plugin"],
    static_libs: ["VantaCore"],
    required: ["VantaAuroraDefaultOverlay"],
    optimize: {
        enabled: false,
    },
}

// Makes Aurora the framework's default_wallpaper_component, so first boot and
// "reset wallpaper" both land on it.
runtime_resource_overlay {
    name: "VantaAuroraDefaultOverlay",
    manifest: "overlay/AndroidManifest.xml",
    resource_dirs: ["overlay/res"],
    product_specific: true,
}
