-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Expand file tree
/
Copy pathBUILD
More file actions
82 lines (73 loc) · 2.81 KB
/
BUILD
File metadata and controls
82 lines (73 loc) · 2.81 KB
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
load("//tools:apollo_package.bzl", "apollo_cc_binary", "apollo_cc_library", "apollo_cc_test", "apollo_component", "apollo_package")
load("//tools:cpplint.bzl", "cpplint")
load("//tools/platform:build_defs.bzl", "if_profiler")
package(default_visibility = ["//visibility:public"])
PERCEPTION_COPTS = ['-DMODULE_NAME=\\"perception\\"']
filegroup(
name = "camera_location_refinement_files",
srcs = glob([
"conf/**",
"dag/**",
"data/**",
]),
)
apollo_cc_library(
name = "apollo_perception_camera_location_refinement",
srcs = [
"location_refiner/location_refiner_postprocessor.cc",
"location_refiner/obj_postprocessor.cc",
],
hdrs = [
"interface/base_postprocessor.h",
"location_refiner/location_refiner_postprocessor.h",
"location_refiner/obj_postprocessor.h",
],
copts = PERCEPTION_COPTS + if_profiler(),
deps = [
"//cyber",
"//modules/common/util:util_tool",
"//modules/perception/camera_location_refinement/location_refiner/proto:location_refiner_cc_proto",
"//modules/perception/camera_location_refinement/proto:camera_location_refinement_cc_proto",
"//modules/perception/common:perception_common_util",
"//modules/perception/common/algorithm:apollo_perception_common_algorithm",
"//modules/perception/common/base:apollo_perception_common_base",
"//modules/perception/common/camera:apollo_perception_common_camera",
"//modules/perception/common/lib:apollo_perception_common_lib",
"//modules/perception/common/onboard:apollo_perception_common_onboard",
"@com_google_googletest//:gtest",
],
)
apollo_component(
name = "libcamera_location_refinement_component_camera.so",
srcs = [
"camera_location_refinement_component.cc",
],
hdrs = [
"camera_location_refinement_component.h",
],
copts = PERCEPTION_COPTS + if_profiler(),
deps = [
"//cyber",
"//modules/common/util:util_tool",
":apollo_perception_camera_location_refinement",
"//modules/perception/common:perception_common_util",
"//modules/perception/common/algorithm:apollo_perception_common_algorithm",
"//modules/perception/common/base:apollo_perception_common_base",
"//modules/perception/common/camera:apollo_perception_common_camera",
"//modules/perception/common/lib:apollo_perception_common_lib",
"//modules/perception/common/onboard:apollo_perception_common_onboard",
],
)
apollo_cc_test(
name = "location_refiner_postprocessor_test",
size = "small",
srcs = [
"location_refiner/location_refiner_postprocessor_test.cc",
],
deps = [
":apollo_perception_camera_location_refinement",
"@com_google_googletest//:gtest_main",
],
)
apollo_package()
cpplint()