1// Copyright 2022, 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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19python_test_host {
20    name: "avatar",
21    main: "main.py",
22    srcs: [
23        "**/*.py",
24    ],
25    version: {
26        py3: {
27            embedded_launcher: false,
28        },
29    },
30    libs: [
31        "bumble_services_experimental-python",
32        "libavatar",
33    ],
34    required: [
35        "aapt",
36    ],
37    test_suites: ["general-tests"],
38    test_options: {
39        unit_test: false,
40    },
41    data: [
42        "config.yml",
43    ],
44    device_common_data: [
45        ":PandoraServer",
46    ],
47}
48
49python_test_host {
50    name: "avatar_phy",
51    main: "main.py",
52    srcs: [
53        "**/*.py",
54    ],
55    test_config: "AndroidPhyTest.xml",
56    version: {
57        py3: {
58            embedded_launcher: false,
59        },
60    },
61    libs: [
62        "bumble_services_experimental-python",
63        "libavatar",
64    ],
65    required: [
66        "aapt",
67    ],
68    test_suites: ["general-tests"],
69    test_options: {
70        unit_test: false,
71    },
72    data: [
73        "config.yml",
74    ],
75    device_common_data: [
76        ":PandoraServer",
77    ],
78}
79
80sh_binary_host {
81    name: "avatar.sh",
82    src: "avatar.sh",
83    required: [
84        "avatar",
85        "pandora-python-gen-src",
86        "pandora_experimental-python-gen-src",
87        "tradefed",
88    ],
89}
90