Skip to content

Commit 23ad865

Browse files
author
Dmitry Chernenkov
committed
[Bazel][clang] Fix build for Upstream APINotesOptions
1 parent 9026f35 commit 23ad865

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

utils/bazel/llvm-project-overlay/clang/BUILD.bazel

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,7 @@ cc_library(
17271727
"include/clang/Frontend/*.def",
17281728
]),
17291729
deps = [
1730+
":apinotes",
17301731
":ast",
17311732
":basic",
17321733
":config",
@@ -2128,6 +2129,22 @@ cc_binary(
21282129
],
21292130
)
21302131

2132+
cc_library(
2133+
name = "apinotes",
2134+
srcs = glob([
2135+
"lib/APINotes/*.cpp",
2136+
"lib/APINotes/*.h",
2137+
]),
2138+
hdrs = glob(["include/clang/APINotes/*.h"]),
2139+
deps = [
2140+
":basic",
2141+
"//llvm:BitWriter",
2142+
"//llvm:BitstreamReader",
2143+
"//llvm:BitstreamWriter",
2144+
"//llvm:Support",
2145+
],
2146+
)
2147+
21312148
cc_binary(
21322149
name = "arcmt-test",
21332150
testonly = 1,

0 commit comments

Comments
 (0)