BUILD 1.4 KB
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library")
D
Dong Li 已提交
2 3 4 5 6 7
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "backend",
S
siyangy 已提交
8 9 10 11
    srcs = [
        "dreamview.cc",
        "main.cc",
    ],
12
    hdrs = ["dreamview.h"],
13
    copts = ['-DMODULE_NAME=\\"dreamview\\"'],
D
Dong Li 已提交
14
    deps = [
15
        "//modules/common/configs:vehicle_config_helper",
V
vlin17 已提交
16
        "//modules/common/status",
A
Aaron Xiao 已提交
17
        "//modules/dreamview/backend/common:dreamview_gflags",
V
vlin17 已提交
18
        "//modules/dreamview/backend/data_collection_monitor",
V
vlin17 已提交
19
        "//modules/dreamview/backend/handlers:image_handler",
20
        "//modules/dreamview/backend/handlers:websocket_handler",
V
vlin17 已提交
21
        "//modules/dreamview/backend/hmi",
V
vlin17 已提交
22
        "//modules/dreamview/backend/map:map_service",
23
        "//modules/dreamview/backend/perception_camera_updater",
24
        "//modules/dreamview/backend/point_cloud:point_cloud_updater",
25 26
        "//modules/dreamview/backend/sim_control",
        "//modules/dreamview/backend/simulation_world:simulation_world_updater",
V
vlin17 已提交
27
        "//modules/dreamview/proto:simulation_world_proto",
28
        "//modules/map/hdmap:hdmap_util",
V
vlin17 已提交
29
        "//modules/map/pnc_map",
D
Dong Li 已提交
30
        "@civetweb//:civetweb++",
Y
Yu Cao 已提交
31 32 33 34 35 36 37
    ] + select({
        ":teleop": [
            "//modules/dreamview/backend/teleop",
        ],
        "//conditions:default": [
        ],
    }),
D
Dong Li 已提交
38 39
)

Y
Yu Cao 已提交
40 41 42 43 44 45 46
config_setting(
    name = "teleop",
    values = {
        "define": "WITH_TELEOP=1",
    },
)

D
Dong Li 已提交
47
cpplint()