aboutsummaryrefslogtreecommitdiff
path: root/BUILD.bazel
diff options
context:
space:
mode:
authorJingwen Chen <jingwen@google.com>2021-06-09 07:23:20 +0000
committerJingwen Chen <jingwen@google.com>2021-06-09 07:23:20 +0000
commit2536ec687ee3ecd3022f12697b3ca5d284220522 (patch)
tree3979a8742b8cf5f3cdaf36592a687ae2dd0abb92 /BUILD.bazel
parent374b48f348b9e9bdf644ee23832e5fd8a5328530 (diff)
downloadlinux-x86-2536ec687ee3ecd3022f12697b3ca5d284220522.tar.gz
Export more LLVM bin tools to Bazel.
Test: TH, see topic Change-Id: Ia30743c4e458402236d14d9f0b3cf82348e4b834
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index e8ac2bd35..33c97d2d9 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -215,11 +215,11 @@ cc_import(
static_library = select(_LIBCLANG_RT_PREBUILT_MAP),
)
-alias(
- name = "llvm-ar",
- actual = DEFAULT_VERSION + "/bin/llvm-ar",
+[alias(
+ name = "llvm-%s" % tool,
+ actual = DEFAULT_VERSION + "/bin/llvm-%s" % tool,
visibility = ["//visibility:public"],
-)
+) for tool in ["ar", "readelf", "objcopy", "strip"]]
# Test tools used by Bazel tests.
filegroup(