xref: /aosp_15_r20/test/cts-root/tests/input/Android.bp (revision fc9e02cc466b32ca348fe8172a44255464d9ce4e)
1// Copyright 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_team: "trendy_team_input_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsInputRootTestCases",
22    defaults: ["cts_defaults"],
23    // Tag this module as a cts test artifact
24    test_suites: [
25        "cts_root",
26        "general-tests",
27    ],
28
29    compile_multilib: "both",
30    kotlincflags: [
31        "-Werror",
32    ],
33    srcs: [
34        "src/**/*.kt",
35    ],
36    asset_dirs: ["assets"],
37    static_libs: [
38        "cts-input-lib",
39        "CtsVirtualDeviceCommonLib",
40        "android.view.flags-aconfig-java",
41        "androidx.test.core",
42        "androidx.test.ext.junit",
43        "bedstead-root-annotations",
44        "com.android.hardware.input-aconfig-java",
45        "com.android.input.flags-aconfig-java",
46        "compatibility-device-util-axt",
47        "cts-input-lib",
48        "cts-wm-util",
49        "flag-junit",
50        "kotlin-test",
51        "ui-trace-collector",
52        "collector-device-lib",
53        "platform-screenshot-diff-core",
54    ],
55    sdk_version: "test_current",
56    per_testcase_directory: true,
57}
58