Hsin-Yi Chen | f4f34ab | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 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 | |
Hsin-Yi Chen | 5a37f5e | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 15 | python_library_host { |
Hsin-Yi Chen | f4f34ab | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 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 | |
| 36 | python_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 Chen | 5a37f5e | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 53 | python_test_host { |
Dan Shi | f5c3e3c | 2020-03-11 15:40:11 +0000 | [diff] [blame] | 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: [ |
Dan Shi | 0db0129 | 2020-03-26 11:40:55 -0700 | [diff] [blame] | 64 | "vts", |
Dan Shi | f5c3e3c | 2020-03-11 15:40:11 +0000 | [diff] [blame] | 65 | ], |
| 66 | test_config: "abi/vts_vndk_abi_test.xml", |
| 67 | } |
| 68 | |
| 69 | python_test_host { |
Hsin-Yi Chen | f4f34ab | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 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", |
Hsin-Yi Chen | 6addb03 | 2020-02-25 15:49:53 +0800 | [diff] [blame] | 75 | ], |
| 76 | test_suites: [ |
Dan Shi | 0db0129 | 2020-03-26 11:40:55 -0700 | [diff] [blame] | 77 | "vts", |
Hsin-Yi Chen | 6addb03 | 2020-02-25 15:49:53 +0800 | [diff] [blame] | 78 | ], |
| 79 | test_config: "dependency/vts_vndk_dependency_test.xml", |
Hsin-Yi Chen | f4f34ab | 2020-02-04 15:29:51 +0800 | [diff] [blame] | 80 | } |
Hsin-Yi Chen | d23ea91 | 2020-02-29 01:33:01 +0800 | [diff] [blame] | 81 | |
| 82 | python_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 Shi | 0db0129 | 2020-03-26 11:40:55 -0700 | [diff] [blame] | 90 | "vts", |
Hsin-Yi Chen | d23ea91 | 2020-02-29 01:33:01 +0800 | [diff] [blame] | 91 | ], |
| 92 | test_config: "files/vts_vndk_files_test.xml", |
| 93 | } |