forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
32 lines (28 loc) · 919 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- python -*-
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,
)