Skip to content

Commit ebab3ea

Browse files
authored
[bazel] Update for new libraries (swiftlang#2694)
1 parent d2adc61 commit ebab3ea

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

BUILD.bazel

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ swift_syntax_library(
8888
deps = [
8989
":SwiftCompilerPluginMessageHandling",
9090
":SwiftSyntaxMacros",
91+
":_SwiftLibraryPluginProviderCShims",
9192
],
9293
)
9394

@@ -251,15 +252,26 @@ swift_syntax_library(
251252
)
252253

253254
swift_syntax_library(
254-
name = "SwiftSyntaxMacrosTestSupport",
255+
name = "SwiftSyntaxMacrosGenericTestSupport",
255256
testonly = True,
256257
deps = [
257258
":SwiftDiagnostics",
258259
":SwiftIDEUtils",
259260
":SwiftParser",
260261
":SwiftSyntaxMacroExpansion",
261262
":SwiftSyntaxMacros",
262-
":_SwiftSyntaxTestSupport",
263+
":_SwiftSyntaxGenericTestSupport",
264+
],
265+
)
266+
267+
swift_syntax_library(
268+
name = "SwiftSyntaxMacrosTestSupport",
269+
testonly = True,
270+
deps = [
271+
":SwiftSyntax",
272+
":SwiftSyntaxMacroExpansion",
273+
":SwiftSyntaxMacros",
274+
":SwiftSyntaxMacrosGenericTestSupport",
263275
],
264276
)
265277

@@ -299,6 +311,14 @@ cc_library(
299311
visibility = ["//visibility:private"],
300312
)
301313

314+
cc_library(
315+
name = "_SwiftLibraryPluginProviderCShims",
316+
hdrs = glob(["Sources/_SwiftLibraryPluginProviderCShims/include/*.h"]),
317+
includes = ["Sources/_SwiftLibraryPluginProviderCShims/include"],
318+
tags = ["swift_module=_SwiftLibraryPluginProviderCShims"],
319+
visibility = ["//visibility:private"],
320+
)
321+
302322
cc_library(
303323
name = "_SwiftSyntaxCShims",
304324
hdrs = glob(["Sources/_SwiftSyntaxCShims/include/*.h"]),
@@ -307,6 +327,13 @@ cc_library(
307327
visibility = ["//visibility:private"],
308328
)
309329

330+
swift_syntax_library(
331+
name = "_SwiftSyntaxGenericTestSupport",
332+
testonly = True,
333+
deps = [
334+
],
335+
)
336+
310337
swift_syntax_library(
311338
name = "_SwiftSyntaxTestSupport",
312339
testonly = True,
@@ -315,6 +342,7 @@ swift_syntax_library(
315342
":SwiftSyntax",
316343
":SwiftSyntaxBuilder",
317344
":SwiftSyntaxMacroExpansion",
345+
":_SwiftSyntaxGenericTestSupport",
318346
],
319347
)
320348

0 commit comments

Comments
 (0)