forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
69 lines (64 loc) · 2.47 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
load("@drake//tools/install:install.bzl", "install_files")
load("//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
# Make our package requirements (but not manual scripts) available to
# downstream projects.
exports_files([
"mac/binary_distribution/Brewfile",
"mac/binary_distribution/requirements.txt",
"mac/source_distribution/Brewfile",
"mac/source_distribution/Brewfile-doc-only",
"mac/source_distribution/Brewfile-maintainer-only",
"mac/source_distribution/requirements.txt",
"mac/source_distribution/requirements-maintainer-only.txt",
"mac/source_distribution/requirements-test-only.txt",
"ubuntu/binary_distribution/packages-focal.txt",
"ubuntu/source_distribution/packages-focal.txt",
"ubuntu/source_distribution/packages-focal-clang.txt",
"ubuntu/source_distribution/packages-focal-doc-only.txt",
"ubuntu/source_distribution/packages-focal-maintainer-only.txt",
"ubuntu/source_distribution/packages-focal-test-only.txt",
"ubuntu/binary_distribution/packages-jammy.txt",
"ubuntu/source_distribution/packages-jammy.txt",
"ubuntu/source_distribution/packages-jammy-clang.txt",
"ubuntu/source_distribution/packages-jammy-doc-only.txt",
"ubuntu/source_distribution/packages-jammy-maintainer-only.txt",
"ubuntu/source_distribution/packages-jammy-test-only.txt",
])
filegroup(
name = "deepnote",
srcs = [
"deepnote/install_nginx",
"deepnote/nginx-meshcat-proxy.conf",
],
visibility = ["//bindings/pydrake:__subpackages__"],
)
install_files(
name = "install",
dest = "share/drake/setup",
files = select({
"//tools/cc_toolchain:apple": [
"mac/binary_distribution/Brewfile",
"mac/binary_distribution/install_prereqs.sh",
"mac/binary_distribution/requirements.txt",
],
"//tools/cc_toolchain:linux": [
"deepnote/install_nginx",
"deepnote/install_xvfb",
"deepnote/nginx-meshcat-proxy.conf",
"deepnote/xvfb",
"ubuntu/binary_distribution/install_prereqs.sh",
"ubuntu/binary_distribution/packages-focal.txt",
"ubuntu/binary_distribution/packages-jammy.txt",
],
"//conditions:default": [],
}),
strip_prefix = [
"mac/binary_distribution",
"ubuntu/binary_distribution",
],
rename = {
"share/drake/setup/install_prereqs.sh": "install_prereqs",
},
)
add_lint_tests()