blob: 048dc1f86715c9036ae58812e93fe273eab33626 [file] [log] [blame]
Andreas Gampe5bec2142018-05-09 15:11:06 -07001// Copyright (C) 2018 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
Bob Badourf7cf3052021-02-12 17:13:45 -080015package {
Aditya Choudhary39087ca2024-02-02 13:58:27 +000016 default_team: "trendy_team_native_tools_libraries",
Bob Badourf7cf3052021-02-12 17:13:45 -080017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
Andreas Gampe5bec2142018-05-09 15:11:06 -070020python_library_host {
21 name: "python-symbol",
22 srcs: [
23 "symbol.py",
24 ],
Andreas Gampe5bec2142018-05-09 15:11:06 -070025}
26
Andreas Gampe3ee240c2018-10-29 18:30:20 -070027python_test_host {
Andreas Gampee547eb32018-10-29 18:31:37 -070028 name: "python-symbol_test",
29 main: "symbol.py",
30 // Would be nice to use the library above, but as it's single-source
31 // this doesn't work.
32 srcs: ["symbol.py"],
33 test_config: "symbol-tests.xml",
34 test_suites: ["general-tests"],
35}
Thiébaud Weksteen8da49112021-02-19 11:59:49 +010036
37python_test_host {
Krzysztof Kosińskib1361112021-03-11 18:05:01 -080038 name: "python-stack_core_test",
39 main: "stack_core.py",
40 srcs: [
41 "example_crashes.py",
42 "stack_core.py",
43 ],
Julien Desprezfd06c732021-04-20 14:31:19 -070044 data: [
45 ":llvm-tools",
46 ],
Krzysztof Kosińskib1361112021-03-11 18:05:01 -080047 libs: ["python-symbol"],
Julien Desprezfd06c732021-04-20 14:31:19 -070048 test_options: {
49 unit_test: true,
50 },
Krzysztof Kosińskib1361112021-03-11 18:05:01 -080051}
52
53python_test_host {
Thiébaud Weksteen8da49112021-02-19 11:59:49 +010054 name: "add3prf_test",
55 srcs: [
56 "add3prf.py",
57 "add3prf_test.py",
58 ],
59 libs: [
60 "pyfakefs",
Aditya Choudhary39087ca2024-02-02 13:58:27 +000061 ],
Thiébaud Weksteen8da49112021-02-19 11:59:49 +010062}
Nikita Putikhin9aa3bc62023-05-19 20:39:51 +000063
64python_test_host {
65 name: "gdbclient_test",
66 srcs: [
67 "gdbclient.py",
68 "gdbclient_test.py",
69 ],
70 libs: [
71 "adb_py",
72 "gdbrunner",
73 ],
74 test_options: {
75 unit_test: true,
76 },
77 version: {
78 py3: {
79 embedded_launcher: true,
80 },
81 },
82}