1package { 2 // See: http://go/android-license-faq 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6android_app { 7 name: "ContactsProvider", 8 defaults: ["platform_app_defaults"], 9 // Only compile source java files in this apk. 10 srcs: [ 11 "src/**/*.java", 12 "src/com/android/providers/contacts/EventLogTags.logtags", 13 ], 14 libs: [ 15 "ext" 16 ], 17 static_libs: [ 18 "android-common", 19 "com.android.vcard", 20 "guava", 21 "android.content.pm.flags-aconfig-java", 22 ], 23 24 // The Jacoco tool analyzes code coverage when running unit tests on the 25 // application. This configuration line selects which packages will be analyzed, 26 // leaving out code which is tested by other means (e.g. static libraries) that 27 // would dilute the coverage results. These options do not affect regular 28 // production builds. 29 jacoco: { 30 include_filter: ["com.android.providers.contacts.*"], 31 }, 32 platform_apis: true, 33 certificate: "shared", 34 privileged: true, 35 optimize: { 36 proguard_flags_files: ["proguard.flags"], 37 }, 38} 39 40platform_compat_config { 41 name: "contacts-provider-platform-compat-config", 42 src: ":ContactsProvider", 43} 44