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 ], 22 23 // The Jacoco tool analyzes code coverage when running unit tests on the 24 // application. This configuration line selects which packages will be analyzed, 25 // leaving out code which is tested by other means (e.g. static libraries) that 26 // would dilute the coverage results. These options do not affect regular 27 // production builds. 28 jacoco: { 29 include_filter: ["com.android.providers.contacts.*"], 30 }, 31 platform_apis: true, 32 certificate: "shared", 33 privileged: true, 34 optimize: { 35 proguard_flags_files: ["proguard.flags"], 36 }, 37} 38 39platform_compat_config { 40 name: "contacts-provider-platform-compat-config", 41 src: ":ContactsProvider", 42} 43