Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions bazel_ros2_rules/lib/private/repos.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,6 @@ def base_ros2_repository(repo_ctx, workspaces):
if result.stderr:
print(result.stderr)

repo_ctx.report_progress("Generating system-rosdep-keys.txt")
path_to_compute_system_rosdeps_tool = repo_ctx.path(
repo_ctx.attr._compute_system_rosdeps_tool,
)
cmd = [
"./run.bash",
str(path_to_compute_system_rosdeps_tool),
"distro_metadata.json",
]
cmd.extend(["-o", "system-rosdep-keys.txt"])
result = execute_or_fail(repo_ctx, cmd, quiet = True)
if result.stderr:
print(result.stderr)

def _label(relpath):
return Label("//lib/private:" + relpath)

Expand Down Expand Up @@ -187,11 +173,6 @@ def base_ros2_repository_attributes():
doc = "Tool to generate BUILD.bazel file from distribution " +
"metadata.",
),
"_compute_system_rosdeps_tool": attr.label(
default = _label("scripts/compute_system_rosdeps.py"),
doc = "Tool to compute system rosdep keys for target " +
"distribution.",
),
"allowed_system_libs": attr.string_list(
doc = "Optional list of regular expressions (strings) that " +
"will be added to the scraping tool's allowed system libs " +
Expand Down
86 changes: 0 additions & 86 deletions bazel_ros2_rules/lib/private/scripts/compute_system_rosdeps.py

This file was deleted.

2 changes: 0 additions & 2 deletions bazel_ros2_rules/lib/private/templates/prologue.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ load(":common.bzl", "interfaces_filegroup", "share_filegroup")
load(":ros_py.bzl", "ros_import_binary")

package(default_visibility = ["//visibility:public"])

exports_files(["system-rosdep-keys.txt"])
16 changes: 0 additions & 16 deletions ros2_example_bazel_installed/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ load(
"ros_py_test",
)
load("@rules_python//python:defs.bzl", "py_library", "py_test")
load("//tools:cmd_test.bzl", "cmd_test")

# TODO(hidmic): make linter more user-friendly
cmd_test(
name = "lint_rosdeps",
cmd = [
"diff",
"-u",
"setup/prereq-rosdep-keys.txt",
"$(location @ros2//:system-rosdep-keys.txt)",
],
data = [
"setup/prereq-rosdep-keys.txt",
"@ros2//:system-rosdep-keys.txt",
],
)

ros_cc_test(
name = "runfiles_cc_test",
Expand Down
42 changes: 0 additions & 42 deletions ros2_example_bazel_installed/setup/prereq-rosdep-keys.txt

This file was deleted.

Loading