BUILD 2.0 KB
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library")
W
wangxuehui 已提交
2 3 4 5 6 7 8
load("//tools:cpplint.bzl", "cpplint")
load("//tools:cuda_library.bzl", "cuda_library")

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

cuda_library(
    name = "region_output_cuda",
9 10
    srcs = ["region_output.cu"],
    hdrs = ["region_output.h"],
W
wangxuehui 已提交
11 12
    deps = [
        ":object_maintainer",
A
Aaron Xiao 已提交
13 14
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
15
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
16
        "//modules/prediction/proto:feature_proto",
17
        "@cuda",
W
wangxuehui 已提交
18 19 20 21 22 23 24 25 26
    ],
)

cc_library(
    name = "region_output",
    srcs = [
        "region_output.cc",
        ":region_output_cuda",
    ],
27
    hdrs = ["region_output.h"],
W
wangxuehui 已提交
28
    deps = [
G
GoLancer 已提交
29
        "//cyber",
A
Aaron Xiao 已提交
30 31
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
32 33 34 35 36 37
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
    ],
)

cc_library(
    name = "yolo_obstacle_detector",
38 39
    srcs = ["yolo_obstacle_detector.cc"],
    hdrs = ["yolo_obstacle_detector.h"],
W
wangxuehui 已提交
40 41
    deps = [
        ":region_output",
X
 
Xiangquan Xiao 已提交
42
        "//cyber/common:file",
A
Aaron Xiao 已提交
43 44
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
45 46 47
        "//modules/perception/camera/lib/feature_extractor/tfe:external_feature_extractor",
        "//modules/perception/camera/lib/feature_extractor/tfe:project_feature",
        "//modules/perception/camera/lib/feature_extractor/tfe:tracking_feat_extractor",
A
Aaron Xiao 已提交
48
        "//modules/perception/camera/lib/interface",
W
wangxuehui 已提交
49
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
A
Aaron Xiao 已提交
50 51
        "//modules/perception/inference:inference_factory_lib",
        "//modules/perception/inference:inference_lib",
A
Aaron Xiao 已提交
52 53
        "//modules/perception/inference/utils:inference_resize_lib",
        "//modules/perception/inference/utils:inference_util_lib",
A
Aaron Xiao 已提交
54
        "//modules/perception/lib/utils",
W
wangxuehui 已提交
55 56 57 58 59
    ],
)

cc_library(
    name = "object_maintainer",
60
    hdrs = ["object_maintainer.h"],
W
wangxuehui 已提交
61
    deps = [
A
Aaron Xiao 已提交
62
        "//modules/perception/base",
W
wangxuehui 已提交
63 64 65 66
    ],
)

cpplint()