blob: 4b345e616467e4999947cb7832008dc9ee2e857e [file] [log] [blame]
Bob Badour00c26b52021-02-12 20:15:28 -08001package {
2 default_applicable_licenses: [
3 "packages_providers_ContactsProvider_license",
4 ],
5}
6
7// Added automatically by a large-scale-change
8// See: http://go/android-license-faq
9license {
10 name: "packages_providers_ContactsProvider_license",
11 visibility: [":__subpackages__"],
12 license_kinds: [
13 "SPDX-license-identifier-Apache-2.0",
14 ],
15 license_text: [
16 "NOTICE",
17 ],
18}
19
Sasha Smundak3a600182019-01-10 19:04:14 -080020android_app {
21 name: "ContactsProvider",
Jeff Sharkeyf5e28c02020-10-23 14:43:52 -060022 defaults: ["platform_app_defaults"],
Sasha Smundak3a600182019-01-10 19:04:14 -080023 // Only compile source java files in this apk.
24 srcs: [
25 "src/**/*.java",
26 "src/com/android/providers/contacts/EventLogTags.logtags",
27 ],
28 libs: [
Tyler Gunn305a3bd2019-08-14 14:36:17 -070029 "ext"
Sasha Smundak3a600182019-01-10 19:04:14 -080030 ],
31 static_libs: [
32 "android-common",
33 "com.android.vcard",
34 "guava",
35 ],
36
37 // The Jacoco tool analyzes code coverage when running unit tests on the
38 // application. This configuration line selects which packages will be analyzed,
39 // leaving out code which is tested by other means (e.g. static libraries) that
40 // would dilute the coverage results. These options do not affect regular
41 // production builds.
42 jacoco: {
43 include_filter: ["com.android.providers.contacts.*"],
44 },
45 platform_apis: true,
46 certificate: "shared",
47 privileged: true,
48 optimize: {
49 proguard_flags_files: ["proguard.flags"],
50 },
51}