Skip to content

Commit

Permalink
Merge pull request #9826 from RussTedrake/manipulation_station_odr
Browse files Browse the repository at this point in the history
Resolve ODR issues with manipulation_station example
  • Loading branch information
jwnimmer-tri authored Oct 29, 2018
2 parents d173668 + 135340e commit f69bfcc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion bindings/pydrake/examples/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ drake_pybind_library(
name = "manipulation_station_py",
cc_deps = [
"//bindings/pydrake:documentation_pybind",
"//examples/manipulation_station",
],
cc_srcs = ["manipulation_station_py.cc"],
package_info = PACKAGE_INFO,
Expand Down
1 change: 1 addition & 0 deletions tools/install/libdrake/build_components.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ LIBDRAKE_COMPONENTS = [
"//common/trajectories",
"//common:drake_marker_shared_library", # unpackaged
"//common:text_logging_gflags_h", # unpackaged
"//examples/manipulation_station:manipulation_station", # unpackaged
"//geometry",
"//geometry/dev",
"//geometry/dev/render",
Expand Down
8 changes: 7 additions & 1 deletion tools/install/libdrake/build_components_refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ def _bazel_query(args):

def _find_libdrake_components():
# This forms the set of cc_library targets that will be installed.
# TODO(russt/eric-cousineau/jwnimmer): Remove any examples from
# libdrake.so, pending resolution of #9648.
components_query = """
kind("cc_library", visible("//tools/install/libdrake:libdrake.so", "//..."))
except(attr("testonly", "1", "//..."))
except("//:*")
except("//bindings/pydrake/...")
except("//examples/...")
except(
"//examples/..." except(
"//examples/manipulation_station/..."
)
)
except("//lcmtypes/...")
except("//tools/install/libdrake:*")
except(attr(tags, "exclude_from_libdrake", //...))
Expand Down

0 comments on commit f69bfcc

Please sign in to comment.