1android_app {
2    name: "ContactsProvider",
3    // Only compile source java files in this apk.
4    srcs: [
5        "src/**/*.java",
6        "src/com/android/providers/contacts/EventLogTags.logtags",
7    ],
8    libs: [
9        "ext"
10    ],
11    static_libs: [
12        "android-common",
13        "com.android.vcard",
14        "guava",
15    ],
16
17    // The Jacoco tool analyzes code coverage when running unit tests on the
18    // application. This configuration line selects which packages will be analyzed,
19    // leaving out code which is tested by other means (e.g. static libraries) that
20    // would dilute the coverage results. These options do not affect regular
21    // production builds.
22    jacoco: {
23        include_filter: ["com.android.providers.contacts.*"],
24    },
25    platform_apis: true,
26    certificate: "shared",
27    privileged: true,
28    optimize: {
29        proguard_flags_files: ["proguard.flags"],
30    },
31}
32