Files
frameworks_base/packages/CredentialManager/Android.bp
Helen Qin 4e2bf0631c Migrate from material2 to material3
This completely gets rid of the material2 dependencies and only use
material3 dep instead.

ModalBottomSheet is the only component we need that is not yet available
in material3, so we keep a local copy of the material2 code backed by
material3 themes, per material3 team's suggestion.

Note that the get flow is paid very little care and will look more rough
after this change. I'll fix it when I get it functional next.

Recording of the create flow: https://drive.google.com/file/d/1i_OCgnKtYF1lAiBX03DL4guxWb24VC86/view?usp=sharing&resourcekey=0-NGXhxXkQyak9OCsFjtZbRA

Bug: 254102161
Test: local deployment

Change-Id: Ide41b450230a8ccc12790117891283b28ef75dd1
2022-11-03 22:05:23 +00:00

45 lines
1.4 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
android_app {
name: "CredentialManager",
defaults: ["platform_app_defaults"],
certificate: "platform",
srcs: ["src/**/*.kt"],
resource_dirs: ["res"],
static_libs: [
"androidx.activity_activity-compose",
"androidx.appcompat_appcompat",
"androidx.compose.animation_animation-core",
"androidx.compose.foundation_foundation",
"androidx.compose.material3_material3",
"androidx.compose.material_material-icons-core",
"androidx.compose.material_material-icons-extended",
"androidx.compose.runtime_runtime",
"androidx.compose.ui_ui",
"androidx.compose.ui_ui-tooling",
"androidx.core_core-ktx",
"androidx.lifecycle_lifecycle-extensions",
"androidx.lifecycle_lifecycle-livedata",
"androidx.lifecycle_lifecycle-runtime-ktx",
"androidx.lifecycle_lifecycle-viewmodel-compose",
"androidx.recyclerview_recyclerview",
"kotlinx-coroutines-core",
],
platform_apis: true,
kotlincflags: ["-Xjvm-default=enable"],
optimize: {
proguard_compatibility: false,
},
}