Skip to content

Commit 08ccb5e

Browse files
AustinSchuhfmeum
authored andcommitted
Expose clang-format, git-clang-format, and libclang
This makes it possible to use sandboxed versions of those tools in scripts. Signed-off-by: Austin Schuh <[email protected]>
1 parent 9f0a7cb commit 08ccb5e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

toolchain/BUILD.llvm_repo

+21
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,24 @@ filegroup(
150150
name = "clang-tidy",
151151
srcs = ["bin/clang-tidy"],
152152
)
153+
154+
filegroup(
155+
name = "clang-format",
156+
srcs = ["bin/clang-format"],
157+
)
158+
159+
filegroup(
160+
name = "git-clang-format",
161+
srcs = ["bin/git-clang-format"],
162+
)
163+
164+
filegroup(
165+
name = "libclang",
166+
srcs = glob(
167+
[
168+
"lib/libclang.so",
169+
"lib/libclang.dylib",
170+
],
171+
allow_empty = True,
172+
),
173+
)

0 commit comments

Comments
 (0)