forked from ApolloAuto/apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
99 lines (87 loc) · 2.09 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
load("@rules_python//python:defs.bzl", "py_binary")
load("//tools:apollo_package.bzl", "apollo_package")
package(default_visibility = ["//visibility:public"])
# py_binary(
# name = "py_record",
# srcs = ["py_record.py"],
# deps = [
# "//cyber/proto:unit_test_py_pb2",
# "//cyber/python/cyber_py3:record",
# "//modules/common_msgs/basic_msgs:error_code_py_pb2",
# "//modules/common_msgs/basic_msgs:header_py_pb2",
# "//modules/common/util/testdata:simple_py_pb2",
# ],
# )
py_binary(
name = "py_time",
srcs = ["py_time.py"],
deps = [
"//cyber/python/cyber_py3:cyber_time",
],
)
py_binary(
name = "py_timer",
srcs = ["py_timer.py"],
deps = [
"//cyber/python/cyber_py3:cyber",
"//cyber/python/cyber_py3:cyber_timer",
],
)
py_binary(
name = "py_talker",
srcs = ["py_talker.py"],
deps = [
"//cyber/proto:unit_test_py_pb2",
"//cyber/python/cyber_py3:cyber",
],
)
py_binary(
name = "py_listener",
srcs = ["py_listener.py"],
deps = [
"//cyber/proto:unit_test_py_pb2",
"//cyber/python/cyber_py3:cyber",
],
)
py_binary(
name = "py_parameter",
srcs = ["py_parameter.py"],
deps = [
"//cyber/python/cyber_py3:cyber",
"//cyber/python/cyber_py3:parameter",
],
)
py_binary(
name = "py_service",
srcs = ["py_service.py"],
deps = [
"//cyber/proto:unit_test_py_pb2",
"//cyber/python/cyber_py3:cyber",
],
)
py_binary(
name = "py_client",
srcs = ["py_client.py"],
deps = [
"//cyber/proto:unit_test_py_pb2",
"//cyber/python/cyber_py3:cyber",
],
)
py_binary(
name = "py_record_trans",
srcs = ["py_record_trans.py"],
deps = [
"//cyber/python/cyber_py3:cyber",
"//cyber/python/cyber_py3:record",
],
)
py_binary(
name = "py_record_channel_info",
srcs = ["py_record_channel_info.py"],
deps = [
"//cyber/proto:record_py_pb2",
"//cyber/python/cyber_py3:cyber",
"//cyber/python/cyber_py3:record",
],
)
apollo_package()