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: "ClockworkCredentialManager", 12 defaults: ["platform_app_defaults"], 13 certificate: "platform", 14 manifest: "AndroidManifest.xml", 15 srcs: ["src/**/*.kt"], 16 resource_dirs: ["res"], 17 18 dex_preopt: { 19 profile_guided: true, 20 profile: "profile.txt.prof", 21 }, 22 23 static_libs: [ 24 "CredentialManagerShared", 25 "hilt_android", 26 "Horologist", 27 "PlatformComposeCore", 28 "androidx.activity_activity-compose", 29 "androidx.appcompat_appcompat", 30 "androidx.compose.foundation_foundation", 31 "androidx.compose.foundation_foundation-layout", 32 "androidx.compose.material_material-icons-core", 33 "androidx.compose.material_material-icons-extended", 34 "androidx.compose.runtime_runtime", 35 "androidx.compose.ui_ui", 36 "androidx.compose.ui_ui-tooling", 37 "androidx.core_core-ktx", 38 "androidx.hilt_hilt-navigation-compose", 39 "androidx.lifecycle_lifecycle-extensions", 40 "androidx.lifecycle_lifecycle-livedata", 41 "androidx.lifecycle_lifecycle-runtime-ktx", 42 "androidx.lifecycle_lifecycle-runtime-compose", 43 "androidx.lifecycle_lifecycle-viewmodel-compose", 44 "androidx.wear.compose_compose-foundation", 45 "androidx.wear.compose_compose-material", 46 "androidx.wear.compose_compose-navigation", 47 "kotlinx-coroutines-core", 48 ], 49 50 platform_apis: true, 51 privileged: true, 52 53 kotlincflags: ["-Xjvm-default=all"], 54 55 optimize: { 56 proguard_compatibility: false, 57 }, 58} 59