summaryrefslogtreecommitdiff
path: root/library/main/tests/robotests/Android.bp
blob: 5adead157e041fc802aa09785dd79b7b86aed58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//##############################################################
// CarSetupWizardLib app just for Robolectric test target.     #
//##############################################################
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

android_app {
    name: "CarSetupWizardLib",

    resource_dirs: ["res"],

    platform_apis: true,

    privileged: true,

    libs: ["android.car-system-stubs"],

    static_libs: ["car-setup-wizard-lib"],
}

//##############################################################
// CarSetupWizardLib Robolectric test target.                  #
//##############################################################
android_robolectric_test {
    name: "CarSetupWizardLibRoboTests",

    srcs: ["src/**/*.java"],

    java_resource_dirs: ["config"],

    libs: [
        "android.car-system-stubs",
    ],

    instrumentation_for: "CarSetupWizardLib",
    upstream: true,
}