7 files changed +74
-82
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ bool UDPBridgeReceiverComponent<T>::RemoveInvalidBuf(uint32_t msg_id) {
201
201
return false ;
202
202
}
203
203
typename std::vector<BridgeProtoDiserializedBuf<T> *>::iterator itor =
204
- proto_list_.begin ();
204
+ proto_list_.begin ();
205
205
for (; itor != proto_list_.end ();) {
206
206
if ((*itor)->GetMsgID () < msg_id) {
207
207
BridgeProtoDiserializedBuf<T> *tmp = *itor;
Original file line number Diff line number Diff line change 1
1
load ("//tools:cpplint.bzl" , "cpplint" )
2
2
3
-
4
3
package (default_visibility = ["//visibility:public" ])
5
4
6
5
cc_binary (
@@ -15,36 +14,36 @@ cc_library(
15
14
srcs = [
16
15
"main.cc" ,
17
16
],
18
- deps = [
19
- ":client" ,
20
- ":client_gflags" ,
21
- ],
22
17
linkopts = [
23
18
"-lboost_filesystem" ,
24
19
"-lgrpc++" ,
25
20
],
21
+ deps = [
22
+ ":client" ,
23
+ ":client_gflags" ,
24
+ ],
26
25
)
27
26
28
27
cc_library (
29
28
name = "client" ,
30
29
srcs = [
31
- "client.cc"
30
+ "client.cc" ,
32
31
],
33
32
hdrs = [
34
33
"client.h" ,
35
34
"client_alignment.h" ,
36
35
],
36
+ linkopts = [
37
+ "-lboost_filesystem" ,
38
+ "-lgrpc++" ,
39
+ ],
37
40
deps = [
38
- ":client_gflags" ,
39
41
":client_channel_checker" ,
40
42
":client_common" ,
43
+ ":client_gflags" ,
41
44
":client_loops_check" ,
45
+ "//cyber" ,
42
46
"@yaml_cpp//:yaml" ,
43
- "//cyber:cyber" ,
44
- ],
45
- linkopts = [
46
- "-lboost_filesystem" ,
47
- "-lgrpc++" ,
48
47
],
49
48
)
50
49
@@ -56,18 +55,18 @@ cc_library(
56
55
hdrs = [
57
56
"client_channel_checker.h" ,
58
57
],
58
+ linkopts = [
59
+ "-lboost_filesystem" ,
60
+ "-lgrpc++" ,
61
+ ],
59
62
deps = [
60
- ":client_gflags" ,
61
63
":client_common" ,
64
+ ":client_gflags" ,
62
65
":exception_handler" ,
63
- "//cyber:cyber " ,
66
+ "//cyber" ,
64
67
"//modules/map/tools/map_datachecker/proto:map_datachecker_grpc" ,
65
68
"@yaml_cpp//:yaml" ,
66
69
],
67
- linkopts = [
68
- "-lboost_filesystem" ,
69
- "-lgrpc++" ,
70
- ],
71
70
)
72
71
73
72
cc_library (
@@ -78,13 +77,13 @@ cc_library(
78
77
hdrs = [
79
78
"client_common.h" ,
80
79
],
81
- deps = [
82
- "//cyber:cyber" ,
83
- ],
84
80
linkopts = [
85
81
"-lboost_filesystem" ,
86
82
"-lgrpc++" ,
87
83
],
84
+ deps = [
85
+ "//cyber" ,
86
+ ],
88
87
)
89
88
90
89
cc_library (
@@ -98,9 +97,6 @@ cc_library(
98
97
deps = [
99
98
"//external:gflags" ,
100
99
],
101
- linkopts = [
102
-
103
- ],
104
100
)
105
101
106
102
cc_library (
@@ -111,18 +107,18 @@ cc_library(
111
107
hdrs = [
112
108
"client_loops_check.h" ,
113
109
],
110
+ linkopts = [
111
+ "-lboost_filesystem" ,
112
+ "-lgrpc++" ,
113
+ ],
114
114
deps = [
115
115
":client_common" ,
116
116
":client_gflags" ,
117
117
":exception_handler" ,
118
- "//cyber:cyber " ,
118
+ "//cyber" ,
119
119
"//modules/map/tools/map_datachecker/proto:map_datachecker_grpc" ,
120
120
"@yaml_cpp//:yaml" ,
121
121
],
122
- linkopts = [
123
- "-lboost_filesystem" ,
124
- "-lgrpc++" ,
125
- ],
126
122
)
127
123
128
124
cc_library (
@@ -135,12 +131,9 @@ cc_library(
135
131
],
136
132
deps = [
137
133
":client_common" ,
138
- "//cyber:cyber " ,
134
+ "//cyber" ,
139
135
"//modules/map/tools/map_datachecker/proto:map_datachecker_proto" ,
140
136
],
141
- linkopts = [
142
-
143
- ],
144
137
)
145
138
146
139
cpplint ()
Original file line number Diff line number Diff line change 1
1
load ("//tools:cpplint.bzl" , "cpplint" )
2
2
load ("//tools:grpc_library.bzl" , "cc_grpc_library" )
3
+
3
4
package (default_visibility = ["//visibility:public" ])
4
5
5
6
cc_proto_library (
@@ -27,7 +28,7 @@ cc_grpc_library(
27
28
],
28
29
deps = [
29
30
":map_datachecker_proto_lib" ,
30
- ]
31
+ ],
31
32
)
32
33
33
34
cpplint ()
Original file line number Diff line number Diff line change 1
1
syntax = "proto2" ;
2
2
package apollo.hdmap ;
3
3
4
- enum ErrorCode
4
+ enum ErrorCode
5
5
{
6
6
// common: x
7
7
SUCCESS = 0 ;
0 commit comments