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