Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
[platform/upstream/VK-GL-CTS.git] / android / cts / Android.bp
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
16 filegroup {
17     name: "deqp_master_caselists",
18     srcs: [
19         "master/*.txt",
20     ],
21     path: "master",
22 }
23
24 genrule {
25     name: "deqp_nyc_caselists",
26     srcs: [
27         "nyc/vk-master.txt",
28         "nyc/gles31-master.txt",
29         "nyc/egl-master.txt",
30     ],
31     out: [
32         "nyc-vk-master.txt",
33         "nyc-gles31-master.txt",
34         "nyc-egl-master.txt",
35     ],
36     cmd: "for i in $(in); do cp $$i $(genDir)/nyc-$$(basename $$i); done",
37 }
38
39 java_test_host {
40     name: "CtsDeqpTestCases",
41
42     // Tag this module as a cts test artifact
43     test_suites: [
44         "cts",
45         "vts",
46         "general-tests",
47     ],
48
49     srcs: ["runner/src/**/*.java"],
50     libs: [
51         "cts-tradefed",
52         "compatibility-host-util",
53         "tradefed",
54     ],
55
56     data: [
57         ":deqp_master_caselists",
58         ":deqp_nyc_caselists",
59     ],
60 }