forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
86 lines (76 loc) · 2.27 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# -*- python -*-
# This file contains rules for Bazel; see drake/doc/bazel.rst.
# This file is named BUILD.bazel instead of the more typical BUILD, so that on
# OSX it won't conflict with a build artifacts directory named "build".
load("//tools:install.bzl", "install", "install_files")
package(
default_visibility = ["//visibility:public"],
)
exports_files([
"CPPLINT.cfg",
".clang-format",
".drake-resource-sentinel",
])
alias(
name = "protoc",
actual = "@protobuf//:protoc",
)
alias(
name = "protobuf",
actual = "@protobuf//:protobuf",
)
alias(
name = "protobuf_python",
actual = "@protobuf//:protobuf_python",
)
# TODO(jwnimmer-tri) The install.bzl should do this automatically, based on the
# runfiles of //drake/common/resource_tool. For now, we'll backfill manually.
install_files(
name = "install_resource_tool_data",
dest = "share/drake",
files = [".drake-resource-sentinel"],
visibility = ["//drake/common:__pkg__"],
)
install(
name = "install_net_sf_jchart2d_jchart2d",
doc_dest = "share/doc/jchart2d",
doc_strip_prefix = ["**/"],
java_strip_prefix = ["**/"],
license_docs = ["//tools:third_party/jchart2d/LICENSE"],
targets = ["@net_sf_jchart2d_jchart2d//jar"],
visibility = ["//visibility:private"],
)
install(
name = "install",
doc_dest = "share/doc/drake",
license_docs = ["LICENSE.TXT"],
deps = [
":install_net_sf_jchart2d_jchart2d",
"//drake:install",
"//drake/common:install",
"//tools:install",
"//tools/install/gflags:install",
"//tools/install/optitrack_driver:install",
"//tools/install/protobuf:install",
"@bot_core_lcmtypes//:install",
"@bullet//:install",
"@ccd//:install",
"@eigen//:install",
"@fcl//:install",
"@fmt//:install",
"@ignition_math//:install",
"@ignition_rndf//:install",
"@ipopt//:install",
"@lcm//:install",
"@libbot//:install",
"@nlopt//:install",
"@octomap//:install",
"@pybind11//:install",
"@robotlocomotion_lcmtypes//:install",
"@sdformat//:install",
"@spdlog//:install",
"@tinyobjloader//:install",
"@vtk//:install",
"@yaml_cpp//:install",
],
)