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