Skip to content

Commit

Permalink
[bazel] Remove unused targets
Browse files Browse the repository at this point in the history
With the previous changes, those targets have become useless and
can be removed.

Signed-off-by: Amaury Pouly <[email protected]>
  • Loading branch information
pamaury committed Jan 18, 2024
1 parent 73a3184 commit 38ffe95
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,6 @@ package(default_visibility = ["//visibility:public"])

exports_files(glob(["**"]))

genrule(
name = "ot_version_file",
outs = ["ot_version.txt"],
cmd = """awk '/BUILD_GIT_VERSION/ { print $$2 }' bazel-out/volatile-status.txt > $@""",
stamp = 1, # this provides volatile-status.txt
)

genrule(
name = "full_version_file",
outs = ["full_version.txt"],
cmd = """cp -f bazel-out/volatile-status.txt $@""",
stamp = 1, # this provides volatile-status.txt
)

genrule(
name = "scm_revision_file",
outs = ["scm_revision.txt"],
cmd = """awk '/BUILD_SCM_REVISION/ { print $$2 }' bazel-out/volatile-status.txt > $@""",
stamp = 1, # this provides volatile-status.txt
)

py_binary(
name = "otbn_build",
srcs = ["otbn_build.py"],
Expand Down

0 comments on commit 38ffe95

Please sign in to comment.