summaryrefslogtreecommitdiff
path: root/tests/Android.bp
blob: 0c49daf568a9dfc95d424214c4d6c20b5b137e5d (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
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "packages_providers_BlockedNumberProvider_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: [
        "packages_providers_BlockedNumberProvider_license",
    ],
}

android_test {
    name: "BlockedNumberProviderTest",
    static_libs: [
        "mockito-target-minus-junit4",
        "androidx.test.rules",
    ],
    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: "BlockedNumberProvider",
    certificate: "shared",
    optimize: {
        enabled: false,
    },
}