xref: /aosp_15_r20/test/vts/tests/kernel_proc_file_api_test/Android.bp (revision 9a74111979c139a065a9a7e4d45972320c5732c7)
1//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_android_kernel",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22python_test_host {
23    name: "vts_kernel_proc_sysrq_trigger_test",
24    main: "vts_kernel_proc_sysrq_trigger_test.py",
25    srcs: [
26        "vts_kernel_proc_sysrq_trigger_test.py",
27        "proc_utils.py",
28    ],
29    libs: [
30        "vts_vndk_utils",
31    ],
32    test_suites: [
33        "general-tests",
34        "vts",
35    ],
36    test_config: "kernel_proc_sysrq_trigger_test.xml",
37    test_options: {
38        unit_test: false,
39    },
40}
41
42python_test_host {
43    name: "vts_kernel_proc_file_api_test",
44    main: "vts_kernel_proc_file_api_test.py",
45    srcs: [
46        "**/*.py",
47    ],
48    libs: [
49        "py-parse_type",
50        "py-ply",
51        "vndk_utils",
52        "vts_vndk_utils",
53    ],
54    test_suites: [
55        "general-tests",
56        "vts",
57    ],
58    test_config: "kernel_proc_file_api_test.xml",
59    test_options: {
60        unit_test: false,
61    },
62}
63