Skip to content

Commit

Permalink
split cc lib in BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangli1987 authored and lianglia-apollo committed Oct 17, 2018
1 parent afb7376 commit 2861f2a
Showing 1 changed file with 33 additions and 8 deletions.
41 changes: 33 additions & 8 deletions modules/planning/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,37 @@ cc_library(
],
)

cc_library(
name = "threshold",
srcs = [
"threshold.cc",
],
hdrs = [
"threshold.h",
],
deps = [
":frame",
":speed_limit",
],
)

cc_library(
name = "decision_data",
srcs = [
"decision_data.cc",
],
hdrs = [
"decision_data.h",
],
deps = [
":path_obstacle",
"//modules/planning/reference_line",
"//modules/prediction/proto:prediction_proto",
"//modules/common/configs:vehicle_config_helper",
],
)


cc_test(
name = "ego_info_test",
size = "small",
Expand All @@ -447,15 +478,9 @@ cc_test(

cc_library(
name = "planning_common",
srcs = [
"threshold.cc",
"decision_data.cc",
],
hdrs = [
"threshold.h",
"decision_data.h",
],
deps = [
"decision_data",
"threshold",
":ego_info",
":frame",
#":frame_open_space",
Expand Down

0 comments on commit 2861f2a

Please sign in to comment.