Skip to content

Commit

Permalink
Remove linkstatic boilerplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-german-tri committed Feb 13, 2017
1 parent e26141b commit 828187b
Show file tree
Hide file tree
Showing 39 changed files with 0 additions and 206 deletions.
9 changes: 0 additions & 9 deletions drake/automotive/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ drake_cc_library(
"gen/simple_car_config.h",
"gen/simple_car_state.h",
],
linkstatic = 1,
deps = [
"//drake/systems/framework",
],
Expand All @@ -47,7 +46,6 @@ drake_cc_library(
"gen/simple_car_config_translator.h",
"gen/simple_car_state_translator.h",
],
linkstatic = 1,
deps = [
":generated_vectors",
"//drake/lcmtypes:automotive",
Expand All @@ -60,7 +58,6 @@ drake_cc_library(
name = "curve2",
srcs = ["curve2.cc"],
hdrs = ["curve2.h"],
linkstatic = 1,
deps = [
":generated_vectors",
],
Expand All @@ -70,7 +67,6 @@ drake_cc_library(
name = "linear_car",
srcs = ["linear_car.cc"],
hdrs = ["linear_car.h"],
linkstatic = 1,
deps = [
":generated_vectors",
"//drake/common:symbolic",
Expand All @@ -81,7 +77,6 @@ drake_cc_library(
name = "idm_planner",
srcs = ["idm_planner.cc"],
hdrs = ["idm_planner.h"],
linkstatic = 1,
deps = [
":generated_vectors",
"//drake/common:symbolic",
Expand All @@ -95,7 +90,6 @@ drake_cc_library(
"simple_car.h",
"simple_car_to_euler_floating_joint.h",
],
linkstatic = 1,
deps = [
":generated_vectors",
"//drake/common:symbolic",
Expand All @@ -106,7 +100,6 @@ drake_cc_library(
name = "single_lane_ego_and_agent",
srcs = ["single_lane_ego_and_agent.cc"],
hdrs = ["single_lane_ego_and_agent.h"],
linkstatic = 1,
deps = [
":idm_planner",
":linear_car",
Expand All @@ -118,7 +111,6 @@ drake_cc_library(
name = "trajectory_car",
srcs = ["trajectory_car.cc"],
hdrs = ["trajectory_car.h"],
linkstatic = 1,
deps = [
":curve2",
":generated_vectors",
Expand All @@ -129,7 +121,6 @@ drake_cc_library(
name = "automotive_simulator",
srcs = ["automotive_simulator.cc"],
hdrs = ["automotive_simulator.h"],
linkstatic = 1,
deps = [
":generated_translators",
":generated_vectors",
Expand Down
1 change: 0 additions & 1 deletion drake/automotive/maliput/api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ drake_cc_library(
"road_geometry.h",
"segment.h",
],
linkstatic = 1,
deps = [
"//drake/common",
],
Expand Down
1 change: 0 additions & 1 deletion drake/automotive/maliput/dragway/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ drake_cc_library(
"road_geometry.h",
"segment.h",
],
linkstatic = 1,
deps = [
"//drake/automotive/maliput/api",
"//drake/common",
Expand Down
4 changes: 0 additions & 4 deletions drake/automotive/maliput/monolane/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ drake_cc_library(
name = "monolane",
srcs = [],
hdrs = [],
linkstatic = 1,
deps = [
":builder",
":lanes",
Expand Down Expand Up @@ -38,7 +37,6 @@ drake_cc_library(
"road_geometry.h",
"segment.h",
],
linkstatic = 1,
deps = [
"//drake/automotive/maliput/api",
"//drake/common",
Expand All @@ -54,7 +52,6 @@ drake_cc_library(
hdrs = [
"builder.h",
],
linkstatic = 1,
deps = [
":lanes",
],
Expand All @@ -68,7 +65,6 @@ drake_cc_library(
hdrs = [
"loader.h",
],
linkstatic = 1,
deps = [
":builder",
"@yaml_cpp//:lib",
Expand Down
1 change: 0 additions & 1 deletion drake/automotive/maliput/utility/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ drake_cc_library(
"generate_urdf.h",
"infinite_circuit_road.h",
],
linkstatic = 1,
deps = [
"//drake/automotive/maliput/api",
"//drake/common",
Expand Down
19 changes: 0 additions & 19 deletions drake/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ drake_cc_library(
"never_destroyed.h",
"text_logging.h",
],
linkstatic = 1,
deps = [
"@eigen//:eigen",
"@spdlog//:spdlog",
Expand All @@ -38,27 +37,23 @@ drake_cc_library(
drake_cc_library(
name = "cond",
hdrs = ["cond.h"],
linkstatic = 1,
)

drake_cc_library(
name = "dummy_value",
hdrs = ["dummy_value.h"],
linkstatic = 1,
)

drake_cc_library(
name = "number_traits",
hdrs = ["number_traits.h"],
linkstatic = 1,
)

# Drake's specific ScalarType-providing libraries.
drake_cc_library(
name = "double",
srcs = ["double_overloads.cc"],
hdrs = ["double_overloads.h"],
linkstatic = 1,
)

drake_cc_library(
Expand All @@ -67,7 +62,6 @@ drake_cc_library(
"autodiff_overloads.h",
"eigen_autodiff_types.h",
],
linkstatic = 1,
deps = [
":common",
":cond",
Expand All @@ -78,7 +72,6 @@ drake_cc_library(
drake_cc_library(
name = "extract_double",
hdrs = ["extract_double.h"],
linkstatic = 1,
deps = [
":common",
":nice_type_name",
Expand All @@ -90,7 +83,6 @@ drake_cc_library(
name = "functional_form",
srcs = ["functional_form.cc"],
hdrs = ["functional_form.h"],
linkstatic = 1,
deps = [
":common",
":dummy_value",
Expand All @@ -104,7 +96,6 @@ drake_cc_library(
"polynomial.h",
"trig_poly.h",
],
linkstatic = 1,
deps = [
":autodiff",
":common",
Expand Down Expand Up @@ -132,7 +123,6 @@ drake_cc_library(
"symbolic_variable.h",
"symbolic_variables.h",
],
linkstatic = 1,
deps = [
":common",
":cond",
Expand Down Expand Up @@ -161,7 +151,6 @@ drake_cc_library(
# testonly = 1,
srcs = ["drake_path.cc"],
hdrs = ["drake_path.h"],
linkstatic = 1,
deps = [
":common",
],
Expand All @@ -187,7 +176,6 @@ drake_cc_library(
name = "eigen_matrix_compare",
testonly = 1,
hdrs = ["eigen_matrix_compare.h"],
linkstatic = 1,
deps = [
":common",
],
Expand All @@ -196,7 +184,6 @@ drake_cc_library(
drake_cc_library(
name = "is_approx_equal_abstol",
hdrs = ["is_approx_equal_abstol.h"],
linkstatic = 1,
deps = [
":common",
],
Expand All @@ -206,7 +193,6 @@ drake_cc_library(
name = "monomial",
srcs = ["monomial.cc"],
hdrs = ["monomial.h"],
linkstatic = 1,
deps = [
":common",
":symbolic",
Expand All @@ -217,7 +203,6 @@ drake_cc_library(
name = "nice_type_name",
srcs = ["nice_type_name.cc"],
hdrs = ["nice_type_name.h"],
linkstatic = 1,
deps = [
":common",
],
Expand All @@ -226,7 +211,6 @@ drake_cc_library(
drake_cc_library(
name = "sorted_vectors_have_intersection",
hdrs = ["sorted_vectors_have_intersection.h"],
linkstatic = 1,
deps = [
":common",
],
Expand All @@ -239,7 +223,6 @@ drake_cc_library(
# out what's going on. Definitely don't let "-pthread" get copy-pasta'd
# throughout our code.
linkopts = ["-pthread"],
linkstatic = 1,
deps = [
":common",
"@gflags//:gflags",
Expand All @@ -252,7 +235,6 @@ drake_cc_library(
name = "random_polynomial_matrix",
testonly = 1,
hdrs = ["test/random_polynomial_matrix.h"],
linkstatic = 1,
deps = [
":polynomial",
],
Expand All @@ -262,7 +244,6 @@ drake_cc_library(
name = "measure_execution",
testonly = 1,
hdrs = ["test/measure_execution.h"],
linkstatic = 1,
)

drake_cc_googletest(
Expand Down
6 changes: 0 additions & 6 deletions drake/common/trajectories/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package(default_visibility = ["//visibility:public"])
drake_cc_library(
name = "trajectory",
hdrs = ["trajectory.h"],
linkstatic = 1,
deps = [
"//drake/common",
],
Expand All @@ -20,7 +19,6 @@ drake_cc_library(
name = "piecewise_function",
srcs = ["piecewise_function.cc"],
hdrs = ["piecewise_function.h"],
linkstatic = 1,
deps = [
"//drake/common",
],
Expand All @@ -38,7 +36,6 @@ drake_cc_library(
"piecewise_polynomial.h",
"piecewise_polynomial_base.h",
],
linkstatic = 1,
deps = [
":piecewise_function",
"//drake/common",
Expand All @@ -50,7 +47,6 @@ drake_cc_library(
name = "piecewise_polynomial_trajectory",
srcs = ["piecewise_polynomial_trajectory.cc"],
hdrs = ["piecewise_polynomial_trajectory.h"],
linkstatic = 1,
deps = [
":piecewise_polynomial",
":trajectory",
Expand All @@ -62,7 +58,6 @@ drake_cc_library(
name = "piecewise_quaternion",
srcs = ["piecewise_quaternion.cc"],
hdrs = ["piecewise_quaternion.h"],
linkstatic = 1,
deps = [
":piecewise_function",
"//drake/common",
Expand All @@ -76,7 +71,6 @@ drake_cc_library(
name = "random_piecewise_polynomial",
testonly = 1,
hdrs = ["test/random_piecewise_polynomial.h"],
linkstatic = 1,
deps = [
"//drake/common:random_polynomial_matrix",
],
Expand Down
4 changes: 0 additions & 4 deletions drake/common/trajectories/qp_spline/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ drake_cc_library(
name = "continuity_constraint",
srcs = ["continuity_constraint.cc"],
hdrs = ["continuity_constraint.h"],
linkstatic = 1,
deps = [
"//drake/common",
],
Expand All @@ -20,7 +19,6 @@ drake_cc_library(
name = "spline_generation",
srcs = ["spline_generation.cc"],
hdrs = ["spline_generation.h"],
linkstatic = 1,
deps = [
":spline_information",
"//drake/common/trajectories:piecewise_polynomial",
Expand All @@ -31,7 +29,6 @@ drake_cc_library(
name = "spline_information",
srcs = ["spline_information.cc"],
hdrs = ["spline_information.h"],
linkstatic = 1,
deps = [
":continuity_constraint",
":value_constraint",
Expand All @@ -43,7 +40,6 @@ drake_cc_library(
name = "value_constraint",
srcs = ["value_constraint.cc"],
hdrs = ["value_constraint.h"],
linkstatic = 1,
deps = [
"//drake/common",
],
Expand Down
2 changes: 0 additions & 2 deletions drake/examples/Pendulum/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ drake_cc_library(
name = "pendulum_state_vector",
srcs = ["gen/pendulum_state_vector.cc"],
hdrs = ["gen/pendulum_state_vector.h"],
linkstatic = 1,
deps = [
"//drake/systems/framework:vector",
],
Expand All @@ -18,7 +17,6 @@ drake_cc_library(
name = "pendulum_plant",
srcs = ["pendulum_plant.cc"],
hdrs = ["pendulum_plant.h"],
linkstatic = 1,
deps = [
":pendulum_state_vector",
"//drake/systems/framework",
Expand Down
Loading

0 comments on commit 828187b

Please sign in to comment.