diff --git a/examples/manipulation_station/BUILD.bazel b/examples/manipulation_station/BUILD.bazel index 7747149e19a8..5b9e3711c285 100644 --- a/examples/manipulation_station/BUILD.bazel +++ b/examples/manipulation_station/BUILD.bazel @@ -16,27 +16,33 @@ load("//tools/lint:lint.bzl", "add_lint_tests") load("//tools/skylark:test_tags.bzl", "vtk_test_tags") models_filegroup( + name = "installed_models", + visibility = ["//visibility:public"], +) + +install_data( + name = "install_data", + data = [":installed_models"], + visibility = ["//visibility:public"], +) + +filegroup( name = "models", - extra_srcs = [ + srcs = [ + ":installed_models", "@drake_models//:manipulation_station/bin.mtl", "@drake_models//:manipulation_station/bin.obj", "@drake_models//:manipulation_station/bin.png", - "@drake_models//:manipulation_station/table_wide.mtl", - "@drake_models//:manipulation_station/table_wide.obj", - "@drake_models//:manipulation_station/table_wide.png", "@drake_models//:manipulation_station/shelves.mtl", "@drake_models//:manipulation_station/shelves.obj", "@drake_models//:manipulation_station/shelves.png", + "@drake_models//:manipulation_station/table_wide.mtl", + "@drake_models//:manipulation_station/table_wide.obj", + "@drake_models//:manipulation_station/table_wide.png", ], visibility = ["//visibility:public"], ) -install_data( - name = "install_data", - data = [":models"], - visibility = ["//visibility:public"], -) - drake_cc_library( name = "manipulation_station", srcs = [