1//##############################################################
2// CarSetupWizardLib app just for Robolectric test target.     #
3//##############################################################
4package {
5    default_team: "trendy_team_automotive",
6    default_applicable_licenses: ["Android-Apache-2.0"],
7}
8
9android_app {
10    name: "CarSetupWizardLib",
11
12    resource_dirs: ["res"],
13
14    platform_apis: true,
15
16    privileged: true,
17
18    libs: ["android.car-system-stubs"],
19
20    static_libs: ["car-setup-wizard-lib"],
21    // TODO(b/319708040): re-enable use_resource_processor
22    use_resource_processor: false,
23}
24
25//##############################################################
26// CarSetupWizardLib Robolectric test target.                  #
27//##############################################################
28android_robolectric_test {
29    name: "CarSetupWizardLibRoboTests",
30
31    srcs: ["src/**/*.java"],
32
33    java_resource_dirs: ["config"],
34
35    libs: [
36        "android.car-system-stubs",
37    ],
38
39    instrumentation_for: "CarSetupWizardLib",
40    upstream: true,
41    strict_mode: false,
42}
43