1package {
2    default_applicable_licenses: [
3        "packages_apps_Contacts_license",
4        "Android-Apache-2.0",
5    ],
6}
7
8// See: http://go/android-license-faq
9license {
10    name: "packages_apps_Contacts_license",
11    package_name: "Android Contacts App",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-Apache-2.0",
15        "SPDX-license-identifier-BSD",
16        "SPDX-license-identifier-CC-BY",
17    ],
18    license_text: [
19        "NOTICE",
20    ],
21}
22
23android_app {
24    name: "Contacts",
25
26    srcs: [
27        "src/**/*.java",
28        "src/**/*.kt",
29        "src-bind/**/*.java",
30    ],
31
32    static_libs: [
33        "com.android.phone.common-lib",
34
35        "com.google.android.material_material",
36        "androidx.transition_transition",
37        "androidx.legacy_legacy-support-v13",
38        "androidx.appcompat_appcompat",
39        "androidx.cardview_cardview",
40        "androidx.recyclerview_recyclerview",
41        "androidx.palette_palette",
42        "androidx.legacy_legacy-support-v4",
43        "android-common",
44        "com.android.vcard",
45        "guava",
46        "libphonenumber",
47    ],
48
49    certificate: "shared",
50    product_specific: true,
51    privileged: true,
52    required: ["privapp_whitelist_com.android.contacts"],
53
54    optimize: {
55        proguard_flags_files: ["proguard.flags"],
56    },
57
58    sdk_version: "system_current",
59    min_sdk_version: "21",
60}
61