xref: /aosp_15_r20/cts/tests/tests/display/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2012 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_display_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsDisplayTestCases",
22    defaults: ["cts_defaults"],
23    dex_preopt: {
24        enabled: false,
25    },
26    optimize: {
27        enabled: false,
28    },
29    srcs: ["src/**/*.java"],
30    static_libs: [
31        "android.hardware.flags-aconfig-java",
32        "androidx.test.core",
33        "androidx.test.rules",
34        "compatibility-device-util-axt",
35        "flag-junit",
36        "bedstead",
37        "CtsSurfaceValidatorLib",
38        "CtsVirtualDeviceCommonLib",
39        "android.companion.virtualdevice.flags-aconfig-java",
40        "display_flags_lib",
41        "junit-params",
42    ],
43    libs: ["android.test.base.stubs.test"],
44    // Tag this module as a cts test artifact
45    test_suites: [
46        "cts",
47        "general-tests",
48        "sts",
49        "dts",
50    ],
51    sdk_version: "test_current",
52    data: [":CtsAppTestStubs"],
53    per_testcase_directory: true,
54}
55