1package { 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 20android_app { 21 name: "ContactsProvider", 22 defaults: ["platform_app_defaults"], 23 // Only compile source java files in this apk. 24 srcs: [ 25 "src/**/*.java", 26 "src/com/android/providers/contacts/EventLogTags.logtags", 27 ], 28 libs: [ 29 "ext" 30 ], 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} 52