aboutsummaryrefslogtreecommitdiff
path: root/tests/Android.bp
blob: beb2d313ef8780083a84bd96da2a484e24e3efc8 (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
package {
    // See: http://go/android-license-faq
    default_applicable_licenses: ["Android-Apache-2.0"],
}

android_test {
    name: "ContactsProviderTests",
    static_libs: [
        "ContactsProviderTestUtils",
        "androidx.test.rules",
        "mockito-target-minus-junit4",
    ],
    libs: [
        "android.test.runner",
        "android.test.base",
        "android.test.mock",
    ],

    // Only compile source java files in this apk.
    srcs: ["src/**/*.java"],
    platform_apis: true,
    test_suites: ["device-tests"],
    instrumentation_for: "ContactsProvider",
    certificate: "shared",
    optimize: {
        enabled: false,
    },
}