xref: /aosp_15_r20/external/deqp/android/cts/Android.bp (revision 35238bce31c2a825756842865a792f8cf7f89930)
1// Copyright (C) 2015 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//
15
16package {
17    // See: http://go/android-license-faq
18    // A large-scale-change added 'default_applicable_licenses' to import
19    // all of the 'license_kinds' from "external_deqp_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    default_applicable_licenses: ["external_deqp_license"],
23}
24
25filegroup {
26    name: "deqp_main_caselists",
27    srcs: [
28        "main/*.txt",
29        "main/vk-*/**/*.txt",
30    ],
31    path: "main",
32}
33
34filegroup {
35    name: "deqp_angle_exclude_caselists",
36    srcs: [
37        "angle/*.txt",
38    ],
39    path: "angle",
40}
41
42java_test_host {
43    name: "CtsDeqpTestCases",
44
45    // Tag this module as a cts test artifact
46    test_suites: [
47        "cts",
48        "general-tests",
49        "automotive-general-tests",
50    ],
51
52    srcs: ["runner/src/**/*.java"],
53    libs: [
54        "cts-tradefed",
55        "compatibility-host-util",
56        "tradefed",
57    ],
58
59    per_testcase_directory: true,
60    data: [
61        ":deqp_binary_data",
62        ":deqp_binary_data_vulkancts",
63        ":deqp_binary_data_graphicsfuzz",
64        ":deqp_main_caselists",
65        ":deqp_angle_exclude_caselists",
66    ],
67    device_common_data: [
68        ":com.drawelements.deqp",
69    ],
70    data_device_bins_both: [
71        "deqp-binary",
72    ],
73}
74
75java_library_host {
76    name: "CtsDeqpTestCasesJavaHostLib",
77    srcs: ["runner/src/**/*.java"],
78    libs: [
79        "cts-tradefed",
80        "compatibility-tradefed",
81        "compatibility-host-util",
82        "tradefed",
83    ],
84}
85