forked from minhanghuang/CyberRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
executable file
·78 lines (71 loc) · 2.08 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
load("//tools:cpplint.bzl", "cpplint")
load("//tools:apollo_package.bzl", "apollo_cc_library", "apollo_package")
package(default_visibility = ["//visibility:public"])
apollo_cc_library(
name = "cyber_binary",
srcs = ["binary.cc"],
hdrs = ["binary.h"],
)
apollo_cc_library(
name = "cyber_state",
srcs = ["state.cc"],
hdrs = ["state.h"],
deps = ["//cyber/common:cyber_common"],
)
apollo_cc_library(
name = "cyber",
srcs = [
"cyber.cc",
"init.cc",
],
hdrs = [
"cyber.h",
"init.h",
],
includes = ["."],
linkopts = ["-lrt"],
visibility = ["//visibility:public"],
deps = [
":cyber_binary",
":cyber_state",
"//cyber/base:cyber_base",
"//cyber/blocker:cyber_blocker",
"//cyber/class_loader:cyber_class_loader",
"//cyber/common:cyber_common",
"//cyber/component:cyber_component",
"//cyber/context:cyber_context",
"//cyber/croutine:cyber_croutine",
"//cyber/data:cyber_data",
"//cyber/event:cyber_event",
"//cyber/io:cyber_io",
"//cyber/logger:cyber_logger",
"//cyber/message:cyber_message",
"//cyber/node:cyber_node",
"//cyber/parameter:cyber_parameter",
"//cyber/plugin_manager:cyber_plugin_manager",
"//cyber/profiler:cyber_profiler",
"//cyber/proto:clock_cc_proto",
"//cyber/proto:run_mode_conf_cc_proto",
"//cyber/record:cyber_record",
"//cyber/scheduler:cyber_scheduler",
"//cyber/service:cyber_service",
"//cyber/service_discovery:cyber_service_discovery",
"//cyber/service_discovery:cyber_service_discovery_role",
"//cyber/sysmo:cyber_sysmo",
"//cyber/task:cyber_task",
"//cyber/time:cyber_time",
"//cyber/timer:cyber_timer",
"//cyber/transport:cyber_transport",
"@com_github_google_glog//:glog",
"@com_google_protobuf//:protobuf",
"@fastrtps",
],
)
filegroup(
name = "cyber_conf",
srcs = glob([
"conf/*.conf",
]),
)
apollo_package()
cpplint()