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.
Conception/drake-master/bindings/BUILD.bazel

31 lines
901 B

load("//tools/lint:lint.bzl", "add_lint_tests")
load(
"@drake//tools/skylark:pybind.bzl",
"drake_pybind_library",
)
load(
":bazel_workaround_4594_libdrake.bzl",
"get_bazel_workaround_4594_libdrake_package_info",
)
package(default_visibility = [
"//bindings/pydrake:__subpackages__",
])
# This is placed outside of `pydrake` so that we can import this without
# pulling in an extra copy of `pydrake`. For more information, see
# `pydrake/__init__.py`.
drake_pybind_library(
name = "bazel_workaround_4594_libdrake_py",
add_install = False,
cc_srcs = ["bazel_workaround_4594_libdrake_py.cc"],
# Since `package_info` must be a `struct`, we must define this in a `*.bzl`
# file.
package_info = get_bazel_workaround_4594_libdrake_package_info(),
)
add_lint_tests(
cpplint_data = ["//bindings/pydrake:.clang-format"],
enable_clang_format_lint = True,
)