forked from DAIRLab/dairlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
67 lines (59 loc) · 1.51 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
load(
"@drake//tools/skylark:drake_lcm.bzl",
"drake_lcm_cc_library",
"drake_lcm_java_library",
"drake_lcm_py_library",
)
load(
"@drake//tools/skylark:drake_java.bzl",
"drake_java_binary",
)
load("@drake//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
#Lcm libraries
#Lcm libraries
drake_lcm_cc_library(
name = "lcmt_robot",
lcm_package = "dairlib",
lcm_srcs = glob(["*.lcm"]),
)
#Lcm libraries
drake_lcm_cc_library(
name = "lcmtypes_robot_archive",
lcm_package = "archive.dairlib",
lcm_srcs = glob(["archive/*.lcm"]),
)
drake_lcm_java_library(
name = "lcmtypes_robot_java",
lcm_package = "dairlib",
lcm_srcs = glob(["*.lcm"]),
)
drake_lcm_py_library(
name = "lcmtypes_robot_py",
add_current_package_to_imports = True, # Use //:module_py instead.
extra_srcs = ["__init__.py"],
lcm_package = "dairlib",
lcm_srcs = glob(["*.lcm"]),
deps = [
"@drake//:module_py",
],
)
drake_lcm_py_library(
name = "lcmtypes_robot_archive_py",
add_current_package_to_imports = True, # Use //:module_py instead.
extra_srcs = ["__init__.py"],
lcm_package = "archive.dairlib",
lcm_srcs = glob(["archive/*.lcm"]),
deps = [
"@drake//:module_py",
],
)
drake_java_binary(
name = "dair-lcm-spy",
main_class = "lcm.spy.Spy",
visibility = ["//visibility:private"],
runtime_deps = [
":lcmtypes_robot_java",
"@drake//lcmtypes:lcmtypes_drake_java",
],
)