1java_library {
2    name: "settings-logtags",
3    srcs: ["src/**/*.logtags"],
4}
5
6// Build the Settings APK
7android_library {
8    name: "Settings-core",
9    platform_apis: true,
10    defaults: [
11        "SettingsLibDefaults",
12        "SettingsLib-search-defaults",
13    ],
14
15    srcs: ["src/**/*.java"],
16
17    static_libs: [
18        "androidx-constraintlayout_constraintlayout",
19        "androidx.slice_slice-builders",
20        "androidx.slice_slice-core",
21        "androidx.slice_slice-view",
22        "androidx.core_core",
23        "androidx.appcompat_appcompat",
24        "androidx.cardview_cardview",
25        "androidx.preference_preference",
26        "androidx.recyclerview_recyclerview",
27        "com.google.android.material_material",
28        "setupcompat",
29        "setupdesign",
30        "androidx-constraintlayout_constraintlayout-solver",
31        "androidx.lifecycle_lifecycle-runtime",
32        "androidx.lifecycle_lifecycle-extensions",
33        "guava",
34        "jsr305",
35        "settings-contextual-card-protos-lite",
36        "settings-log-bridge-protos-lite",
37        "contextualcards",
38        "settings-logtags",
39        "zxing-core-1.7",
40    ],
41
42    libs: [
43        "telephony-common",
44        "ims-common",
45    ],
46}
47
48android_app {
49    name: "Settings",
50    platform_apis: true,
51    certificate: "platform",
52    system_ext_specific: true,
53    privileged: true,
54    required: ["privapp_whitelist_com.android.settings"],
55    static_libs: ["Settings-core"],
56    resource_dirs: [],
57    optimize: {
58        proguard_flags_files: ["proguard.flags"],
59    },
60}
61
62android_library_import {
63    name: "contextualcards",
64    aars: ["libs/contextualcards.aar"],
65}
66