• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2025 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
15package {
16    default_team: "trendy_team_fwk_wifi_hal",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20python_library_host {
21    name: "wifi_p2p_lib",
22    srcs: ["wifi_p2p_lib.py"],
23}
24
25python_test_host {
26    name: "WifiP2pGroupTestCases",
27    main: "wifi_p2p_group_test.py",
28    srcs: [
29        "wifi_p2p_group_test.py",
30    ],
31    libs: [
32        "mobly",
33        "wifi_direct_constants",
34        "wifi_direct_test_utils",
35        "wifi_p2p_lib",
36        "wifi_test_utils",
37        "platform-test-py-annotations",
38    ],
39    device_common_data: [":wifi_mobly_snippet"],
40    test_options: {
41        unit_test: false,
42        tags: ["mobly"],
43    },
44    test_suites: ["general-tests"],
45}
46
47python_test_host {
48    name: "WifiP2pManagerTestCases",
49    main: "wifi_p2p_manager_test.py",
50    srcs: [
51        "wifi_p2p_manager_test.py",
52    ],
53    libs: [
54        "mobly",
55        "wifi_direct_constants",
56        "wifi_direct_test_utils",
57        "wifi_p2p_lib",
58        "wifi_test_utils",
59        "platform-test-py-annotations",
60    ],
61    device_common_data: [":wifi_mobly_snippet"],
62    test_options: {
63        unit_test: false,
64        tags: ["mobly"],
65    },
66    test_suites: ["general-tests"],
67    version: {
68        py3: {
69            embedded_launcher: true,
70        },
71    },
72}
73