blob: 991fe41bb7f3fa5c736c672d8a6f0fb15f0b8a5e [file] [log] [blame]
Helen Qindb3645e2022-09-21 05:02:34 +00001package {
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
Helen Qin2e8b4d12023-01-10 01:35:35 +000017 dex_preopt: {
18 profile_guided: true,
shuanghaod76bcec2023-11-17 19:23:58 +000019 //TODO: b/312357299 - Update baseline profile
Helen Qin2e8b4d12023-01-10 01:35:35 +000020 profile: "profile.txt.prof",
21 },
22
Helen Qindb3645e2022-09-21 05:02:34 +000023 static_libs: [
shuanghaod76bcec2023-11-17 19:23:58 +000024 "CredentialManagerShared",
Helen Qin00b417e2023-03-02 22:42:51 +000025 "PlatformComposeCore",
Helen Qindb3645e2022-09-21 05:02:34 +000026 "androidx.activity_activity-compose",
27 "androidx.appcompat_appcompat",
Helen Qin4e2bf062022-10-31 20:34:41 +000028 "androidx.compose.animation_animation-core",
29 "androidx.compose.foundation_foundation",
30 "androidx.compose.material3_material3",
31 "androidx.compose.material_material-icons-core",
32 "androidx.compose.material_material-icons-extended",
Helen Qindb3645e2022-09-21 05:02:34 +000033 "androidx.compose.runtime_runtime",
34 "androidx.compose.ui_ui",
35 "androidx.compose.ui_ui-tooling",
36 "androidx.core_core-ktx",
Helen Qin8a83c3d2023-02-01 19:06:04 +000037 "androidx.credentials_credentials",
Helen Qindb3645e2022-09-21 05:02:34 +000038 "androidx.lifecycle_lifecycle-extensions",
39 "androidx.lifecycle_lifecycle-livedata",
40 "androidx.lifecycle_lifecycle-runtime-ktx",
41 "androidx.lifecycle_lifecycle-viewmodel-compose",
Helen Qindb3645e2022-09-21 05:02:34 +000042 "androidx.recyclerview_recyclerview",
Helen Qin4e2bf062022-10-31 20:34:41 +000043 "kotlinx-coroutines-core",
Helen Qindb3645e2022-09-21 05:02:34 +000044 ],
45
46 platform_apis: true,
Helen Qinebaf11e2023-01-13 22:03:11 +000047 privileged: true,
Helen Qindb3645e2022-09-21 05:02:34 +000048
Colin Cross6954ea72023-07-18 10:52:21 -070049 kotlincflags: ["-Xjvm-default=all"],
Helen Qin7731c982022-10-18 01:13:43 +000050
51 optimize: {
52 proguard_compatibility: false,
53 },
Helen Qindb3645e2022-09-21 05:02:34 +000054}