forked from pz4kybsvg/Conception
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
453 B
16 lines
453 B
load("@drake//tools/install:install.bzl", "install")
|
|
|
|
def install_data(
|
|
name,
|
|
data = [],
|
|
visibility = None):
|
|
"""A touch of sugar around install() to add a default `data_test` based on
|
|
the current native.package_name from whichever package invokes this macro.
|
|
"""
|
|
install(
|
|
name = name,
|
|
data = data,
|
|
data_dest = "share/drake/" + native.package_name(),
|
|
visibility = visibility,
|
|
)
|