summaryrefslogtreecommitdiff
path: root/Android.bp
blob: d732f94fe4130507913fbf9201f8a1d389b125ff (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
51
52
53
54
55
package {

    default_applicable_licenses: ["packages_apps_Calendar_license"],
}

license {

    name: "packages_apps_Calendar_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "NOTICE",
    ],
}

// Include res dir from chips

android_app {
    name: "Calendar",

    jacoco: {
        include_filter: ["com.android.calendar.**"],
    },

    srcs: [
        "src/**/*.kt",
    ],

    // bundled
    //LOCAL_STATIC_JAVA_LIBRARIES +=
    //#        android-common
    //#        libchips
    //#        calendar-common

    // unbundled
    static_libs: [
        "android-common",
        "libchips",
        "colorpicker",
        "android-opt-timezonepicker",
        "androidx.legacy_legacy-support-v4",
        "calendar-common",
    ],

    sdk_version: "current",
    optimize: {
        proguard_flags_files: ["proguard.flags"],
    },

    product_specific: true,

    aaptflags: ["--auto-add-overlay"],
}