forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
77 lines (66 loc) · 1.55 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
# -*- 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:bazel_lint.bzl", "bazel_lint")
load("//tools:check_licenses.bzl", "check_licenses")
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",
)
DRAKE_EXTERNAL_PACKAGE_INSTALLS = ["@%s//:install" % p for p in [
"bullet",
"ccd",
"eigen",
"fcl",
"fmt",
"ignition_math",
"ignition_rndf",
"ipopt",
"lcm",
"lcmtypes_bot2_core",
"lcmtypes_robotlocomotion",
"libbot",
"nlopt",
"octomap",
"pybind11",
"sdformat",
"spdlog",
"tinyobjloader",
"vtk",
"yaml_cpp",
]] + ["//tools/install/%s:install" % p for p in [
"gflags",
"jchart2d",
"optitrack_driver",
"protobuf",
]]
install(
name = "install",
docs = ["LICENSE.TXT"],
deps = [
"//drake:install",
"//drake/common:install",
"//drake/lcmtypes:install",
"//tools:install",
] + DRAKE_EXTERNAL_PACKAGE_INSTALLS,
)
check_licenses(DRAKE_EXTERNAL_PACKAGE_INSTALLS + [":install"])
bazel_lint()