Bob Badour | 4ff1b9d | 2021-02-12 15:23:39 -0800 | [diff] [blame^] | 1 | package { |
| 2 | default_applicable_licenses: ["packages_apps_Contacts_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change that took the approach of |
| 6 | // 'apply every license found to every target'. While this makes sure we respect |
| 7 | // every license restriction, it may not be entirely correct. |
| 8 | // |
| 9 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 10 | // |
| 11 | // Please consider splitting the single license below into multiple licenses, |
| 12 | // taking care not to lose any license_kind information, and overriding the |
| 13 | // default license using the 'licenses: [...]' property on targets as needed. |
| 14 | // |
| 15 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 16 | // to attach the license to, and including a comment whether the files may be |
| 17 | // used in the current project. |
| 18 | // See: http://go/android-license-faq |
| 19 | license { |
| 20 | name: "packages_apps_Contacts_license", |
| 21 | visibility: [":__subpackages__"], |
| 22 | license_kinds: [ |
| 23 | "SPDX-license-identifier-Apache-2.0", |
| 24 | "SPDX-license-identifier-BSD", |
| 25 | "SPDX-license-identifier-CC-BY", |
| 26 | ], |
| 27 | license_text: [ |
| 28 | "NOTICE", |
| 29 | ], |
| 30 | } |
| 31 | |
Colin Cross | d35d5ad | 2019-12-07 07:32:56 -0800 | [diff] [blame] | 32 | android_app { |
| 33 | name: "Contacts", |
| 34 | |
| 35 | srcs: [ |
| 36 | "src/**/*.java", |
| 37 | "src-bind/**/*.java", |
| 38 | ], |
| 39 | |
| 40 | static_libs: [ |
| 41 | "com.android.phone.common-lib", |
| 42 | |
| 43 | "com.google.android.material_material", |
| 44 | "androidx.transition_transition", |
| 45 | "androidx.legacy_legacy-support-v13", |
| 46 | "androidx.appcompat_appcompat", |
| 47 | "androidx.cardview_cardview", |
| 48 | "androidx.recyclerview_recyclerview", |
| 49 | "androidx.palette_palette", |
| 50 | "androidx.legacy_legacy-support-v4", |
| 51 | "android-common", |
| 52 | "com.android.vcard", |
| 53 | "guava", |
| 54 | "libphonenumber", |
| 55 | ], |
| 56 | |
| 57 | certificate: "shared", |
| 58 | product_specific: true, |
| 59 | privileged: true, |
| 60 | required: ["privapp_whitelist_com.android.contacts"], |
| 61 | |
| 62 | optimize: { |
| 63 | proguard_flags_files: ["proguard.flags"], |
| 64 | }, |
| 65 | |
| 66 | sdk_version: "current", |
| 67 | min_sdk_version: "21", |
| 68 | } |