xref: /aosp_15_r20/frameworks/base/tests/Input/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package {
2    default_team: "trendy_team_input_framework",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "frameworks_base_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_base_license"],
9}
10
11android_test {
12    name: "InputTests",
13    defaults: [
14        // For ExtendedMockito dependencies.
15        "modules-utils-testable-device-config-defaults",
16    ],
17    srcs: [
18        "src/**/*.java",
19        "src/**/*.kt",
20    ],
21    asset_dirs: ["assets"],
22    kotlincflags: [
23        "-Werror",
24    ],
25    platform_apis: true,
26    certificate: "platform",
27    static_libs: [
28        "android.view.flags-aconfig-java",
29        "androidx.test.core",
30        "androidx.test.ext.junit",
31        "androidx.test.ext.truth",
32        "androidx.test.rules",
33        "androidx.test.runner",
34        "androidx.test.uiautomator_uiautomator",
35        "collector-device-lib",
36        "compatibility-device-util-axt",
37        "cts-input-lib",
38        "cts-wm-util",
39        "flag-junit",
40        "frameworks-base-testutils",
41        "hamcrest-library",
42        "junit-params",
43        "kotlin-test",
44        "mockito-kotlin-nodeps",
45        "mockito-target-extended-minus-junit4",
46        "platform-test-annotations",
47        "platform-screenshot-diff-core",
48        "services.core.unboosted",
49        "servicestests-utils",
50        "testables",
51        "testng",
52        "truth",
53        "ui-trace-collector",
54    ],
55    libs: [
56        "android.test.mock.stubs.system",
57        "android.test.base.stubs.system",
58    ],
59    test_suites: ["device-tests"],
60}
61