1// 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 15python_library_host { 16 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 53python_test_host { 54 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: [ 64 "vts", 65 ], 66 test_config: "abi/vts_vndk_abi_test.xml", 67} 68 69python_test_host { 70 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", 75 ], 76 test_suites: [ 77 "vts", 78 ], 79 test_config: "dependency/vts_vndk_dependency_test.xml", 80} 81 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: [ 90 "vts", 91 ], 92 test_config: "files/vts_vndk_files_test.xml", 93} 94