summaryrefslogtreecommitdiff
path: root/packages/CredentialManager/Android.bp
blob: 2cb34680845b87ba075477b33eea9d72c5f6b6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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"],

    dex_preopt: {
        profile_guided: true,
        profile: "profile.txt.prof",
    },

    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,
    privileged: true,

    kotlincflags: ["-Xjvm-default=enable"],

    optimize: {
        proguard_compatibility: false,
    },
}