summaryrefslogtreecommitdiff
path: root/tests/Input/Android.bp
blob: cf42a349b3a2fac690c025ce95f3f4d7657039e7 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package {
    default_team: "trendy_team_input_framework",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "InputTests",
    defaults: [
        // For ExtendedMockito dependencies.
        "modules-utils-testable-device-config-defaults",
    ],
    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],
    asset_dirs: ["assets"],
    kotlincflags: [
        "-Werror",
    ],
    platform_apis: true,
    certificate: "platform",
    static_libs: [
        "android.view.flags-aconfig-java",
        "androidx.test.core",
        "androidx.test.ext.junit",
        "androidx.test.ext.truth",
        "androidx.test.rules",
        "androidx.test.runner",
        "androidx.test.uiautomator_uiautomator",
        "collector-device-lib",
        "compatibility-device-util-axt",
        "cts-input-lib",
        "cts-wm-util",
        "flag-junit",
        "frameworks-base-testutils",
        "hamcrest-library",
        "kotlin-test",
        "mockito-target-minus-junit4",
        "platform-test-annotations",
        "platform-screenshot-diff-core",
        "services.core.unboosted",
        "servicestests-utils",
        "testables",
        "testng",
        "truth",
        "ui-trace-collector",
    ],
    libs: [
        "android.test.mock.stubs.system",
        "android.test.base.stubs.system",
    ],
    test_suites: ["device-tests"],
}