blob: dd7852f7f1b7dca89d8265475133260b3c6191e5 [file] [log] [blame]
Hsin-Yi Chenf4f34ab2020-02-04 15:29:51 +08001// Copyright 2020 Google Inc. All rights reserved.
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
Hsin-Yi Chen5a37f5e2020-02-04 15:29:51 +080015python_library_host {
Hsin-Yi Chenf4f34ab2020-02-04 15:29:51 +080016 name: "vts_vndk_utils",
17 pkg_path: "vts/testcases/vndk",
18 srcs: [
19 "utils.py",
20 "golden/vndk_data.py",
21 ],
22 data: [
23 ":vndk_lib_lists",
24 ":vndk_lib_extra_lists"
25 ],
26 version: {
27 py2: {
28 enabled: true,
29 },
30 py3: {
31 enabled: true,
32 },
33 },
34}
35
36python_defaults {
37 name: "vts_vndk_default",
38 libs: [
39 "vndk_utils",
40 "vts_vndk_utils",
41 ],
42 version: {
43 py2: {
44 enabled: false,
45 },
46 py3: {
47 enabled: true,
48 embedded_launcher: true,
49 }
50 }
51}
52
Hsin-Yi Chen5a37f5e2020-02-04 15:29:51 +080053python_test_host {
Dan Shif5c3e3c2020-03-11 15:40:11 +000054 name: "vts_vndk_abi_test",
55 defaults: ["vts_vndk_default"],
56 main: "abi/vts_vndk_abi_test.py",
57 srcs: [
58 "abi/vts_vndk_abi_test.py",
59 ],
60 data: [
61 ":vts_vndk_abi_dump_zip",
62 ],
63 test_suites: [
Dan Shi0db01292020-03-26 11:40:55 -070064 "vts",
Dan Shif5c3e3c2020-03-11 15:40:11 +000065 ],
66 test_config: "abi/vts_vndk_abi_test.xml",
67}
68
69python_test_host {
Hsin-Yi Chenf4f34ab2020-02-04 15:29:51 +080070 name: "vts_vndk_dependency_test",
71 defaults: ["vts_vndk_default"],
72 main: "dependency/vts_vndk_dependency_test.py",
73 srcs: [
74 "dependency/vts_vndk_dependency_test.py",
Hsin-Yi Chen6addb032020-02-25 15:49:53 +080075 ],
76 test_suites: [
Dan Shi0db01292020-03-26 11:40:55 -070077 "vts",
Hsin-Yi Chen6addb032020-02-25 15:49:53 +080078 ],
79 test_config: "dependency/vts_vndk_dependency_test.xml",
Hsin-Yi Chenf4f34ab2020-02-04 15:29:51 +080080}
Hsin-Yi Chend23ea912020-02-29 01:33:01 +080081
82python_test_host {
83 name: "vts_vndk_files_test",
84 defaults: ["vts_vndk_default"],
85 main: "files/vts_vndk_files_test.py",
86 srcs: [
87 "files/vts_vndk_files_test.py",
88 ],
89 test_suites: [
Dan Shi0db01292020-03-26 11:40:55 -070090 "vts",
Hsin-Yi Chend23ea912020-02-29 01:33:01 +080091 ],
92 test_config: "files/vts_vndk_files_test.xml",
93}