1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_app { 11 name: "CredentialManager", 12 defaults: ["platform_app_defaults"], 13 certificate: "platform", 14 srcs: ["src/**/*.kt"], 15 resource_dirs: ["res"], 16 17 dex_preopt: { 18 profile_guided: true, 19 profile: "profile.txt.prof", 20 }, 21 22 static_libs: [ 23 "PlatformComposeCore", 24 "androidx.activity_activity-compose", 25 "androidx.appcompat_appcompat", 26 "androidx.compose.animation_animation-core", 27 "androidx.compose.foundation_foundation", 28 "androidx.compose.material3_material3", 29 "androidx.compose.material_material-icons-core", 30 "androidx.compose.material_material-icons-extended", 31 "androidx.compose.runtime_runtime", 32 "androidx.compose.ui_ui", 33 "androidx.compose.ui_ui-tooling", 34 "androidx.core_core-ktx", 35 "androidx.credentials_credentials", 36 "androidx.lifecycle_lifecycle-extensions", 37 "androidx.lifecycle_lifecycle-livedata", 38 "androidx.lifecycle_lifecycle-runtime-ktx", 39 "androidx.lifecycle_lifecycle-viewmodel-compose", 40 "androidx.recyclerview_recyclerview", 41 "kotlinx-coroutines-core", 42 ], 43 44 platform_apis: true, 45 privileged: true, 46 47 kotlincflags: ["-Xjvm-default=enable"], 48 49 optimize: { 50 proguard_compatibility: false, 51 }, 52} 53