Files
android_packages_apps_Setup…/Android.bp
T

63 lines
1.6 KiB
Plaintext

// SPDX-FileCopyrightText: The PawletOS Project
// SPDX-License-Identifier: Apache-2.0
android_app {
name: "PawletSetupWizard",
srcs: ["app/src/main/java/**/*.kt"],
resource_dirs: ["app/src/main/res"],
manifest: "AndroidManifest.xml",
kotlincflags: ["-Xjvm-default=all"],
certificate: "platform",
privileged: true,
privapp_allowlist: "me.pawlet.setupwizard.xml",
system_ext_specific: true,
platform_apis: true,
overrides: ["Provision"],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
static_libs: [
// AndroidX core
"androidx.core_core-ktx",
"androidx.appcompat_appcompat",
"androidx.activity_activity",
"androidx.activity_activity-compose",
"androidx.lifecycle_lifecycle-runtime-ktx",
// Compose runtime + UI
"androidx.compose.runtime_runtime",
"androidx.compose.ui_ui",
"androidx.compose.ui_ui-graphics",
"androidx.compose.foundation_foundation",
// Material3 + icons
"androidx.compose.material3_material3",
"androidx.compose.material_material-icons-extended",
// Compose animation
"androidx.compose.animation_animation",
// JSON
"gson",
// PawletOS platform APIs
"pawlet-system",
// Telephony helpers
"telephony-common",
],
// OkHttp and Coil are not available as AOSP static_libs.
// Add them as android_library_import entries pointing to AARs in app/libs/
// once prebuilts are sourced from the Gradle dependency cache.
// See: https://git.oxmc.me/PawletOS/android_packages_apps_SetupWizard
}