From bafa20e39e00dbfad419669fe61fa02b80eb74de Mon Sep 17 00:00:00 2001 From: Jeremy Nimmer Date: Mon, 14 May 2018 19:56:33 -0400 Subject: [PATCH] Add //multibody/multibody_tree/parsing rollup library --- multibody/multibody_tree/parsing/BUILD.bazel | 12 +++++++++++- tools/install/libdrake/build_components.bzl | 4 +--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/multibody/multibody_tree/parsing/BUILD.bazel b/multibody/multibody_tree/parsing/BUILD.bazel index 56d7792499f5..d769a7faca56 100644 --- a/multibody/multibody_tree/parsing/BUILD.bazel +++ b/multibody/multibody_tree/parsing/BUILD.bazel @@ -1,9 +1,10 @@ # -*- python -*- load( - "//tools:drake.bzl", + "@drake//tools/skylark:drake_cc.bzl", "drake_cc_googletest", "drake_cc_library", + "drake_cc_package_library", ) load("//tools/lint:lint.bzl", "add_lint_tests") @@ -20,6 +21,15 @@ filegroup( ]), ) +drake_cc_package_library( + name = "parsing", + deps = [ + ":multibody_plant_sdf_parser", + ":scene_graph_parser_detail", + ":sdf_parser_common", + ], +) + drake_cc_library( name = "sdf_parser_common", srcs = [ diff --git a/tools/install/libdrake/build_components.bzl b/tools/install/libdrake/build_components.bzl index 6f1cfa227d86..fba9912a3725 100644 --- a/tools/install/libdrake/build_components.bzl +++ b/tools/install/libdrake/build_components.bzl @@ -37,9 +37,7 @@ LIBDRAKE_COMPONENTS = [ "//multibody/multibody_tree", "//multibody/multibody_tree/math", "//multibody/multibody_tree/multibody_plant", - "//multibody/multibody_tree/parsing:multibody_plant_sdf_parser", # unpackaged # noqa - "//multibody/multibody_tree/parsing:scene_graph_parser_detail", # unpackaged # noqa - "//multibody/multibody_tree/parsing:sdf_parser_common", # unpackaged + "//multibody/multibody_tree/parsing", "//multibody/parsers", "//multibody/parsing", "//multibody/rigid_body_plant:compliant_contact_model", # unpackaged