Skip to content

Commit eb6dc1b

Browse files
author
Francisco Rossi
committed
Remove unused rosdep prereqs files
1 parent 6b3776f commit eb6dc1b

5 files changed

Lines changed: 0 additions & 165 deletions

File tree

bazel_ros2_rules/lib/private/repos.bzl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,6 @@ def base_ros2_repository(repo_ctx, workspaces):
117117
if result.stderr:
118118
print(result.stderr)
119119

120-
repo_ctx.report_progress("Generating system-rosdep-keys.txt")
121-
path_to_compute_system_rosdeps_tool = repo_ctx.path(
122-
repo_ctx.attr._compute_system_rosdeps_tool,
123-
)
124-
cmd = [
125-
"./run.bash",
126-
str(path_to_compute_system_rosdeps_tool),
127-
"distro_metadata.json",
128-
]
129-
cmd.extend(["-o", "system-rosdep-keys.txt"])
130-
result = execute_or_fail(repo_ctx, cmd, quiet = True)
131-
if result.stderr:
132-
print(result.stderr)
133-
134120
def _label(relpath):
135121
return Label("//lib/private:" + relpath)
136122

@@ -187,11 +173,6 @@ def base_ros2_repository_attributes():
187173
doc = "Tool to generate BUILD.bazel file from distribution " +
188174
"metadata.",
189175
),
190-
"_compute_system_rosdeps_tool": attr.label(
191-
default = _label("scripts/compute_system_rosdeps.py"),
192-
doc = "Tool to compute system rosdep keys for target " +
193-
"distribution.",
194-
),
195176
"allowed_system_libs": attr.string_list(
196177
doc = "Optional list of regular expressions (strings) that " +
197178
"will be added to the scraping tool's allowed system libs " +

bazel_ros2_rules/lib/private/scripts/compute_system_rosdeps.py

Lines changed: 0 additions & 86 deletions
This file was deleted.

bazel_ros2_rules/lib/private/templates/prologue.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ load(":common.bzl", "interfaces_filegroup", "share_filegroup")
55
load(":ros_py.bzl", "ros_import_binary")
66

77
package(default_visibility = ["//visibility:public"])
8-
9-
exports_files(["system-rosdep-keys.txt"])

ros2_example_bazel_installed/BUILD.bazel

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,6 @@ load(
1111
"ros_py_test",
1212
)
1313
load("@rules_python//python:defs.bzl", "py_library", "py_test")
14-
load("//tools:cmd_test.bzl", "cmd_test")
15-
16-
# TODO(hidmic): make linter more user-friendly
17-
cmd_test(
18-
name = "lint_rosdeps",
19-
cmd = [
20-
"diff",
21-
"-u",
22-
"setup/prereq-rosdep-keys.txt",
23-
"$(location @ros2//:system-rosdep-keys.txt)",
24-
],
25-
data = [
26-
"setup/prereq-rosdep-keys.txt",
27-
"@ros2//:system-rosdep-keys.txt",
28-
],
29-
)
3014

3115
ros_cc_test(
3216
name = "runfiles_cc_test",

ros2_example_bazel_installed/setup/prereq-rosdep-keys.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)