diff --git a/BUILD.bazel b/BUILD.bazel index 810a092581e..b0f603845f0 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -14,6 +14,25 @@ swift_syntax_library( ], ) +swift_syntax_library( + name = "SwiftCompilerPlugin", + deps = [ + ":SwiftCompilerPluginMessageHandling", + ":SwiftSyntaxMacros", + ], +) + +swift_syntax_library( + name = "SwiftCompilerPluginMessageHandling", + deps = [ + ":SwiftDiagnostics", + ":SwiftOperators", + ":SwiftParser", + ":SwiftSyntax", + ":SwiftSyntaxMacros", + ], +) + swift_syntax_library( name = "SwiftDiagnostics", deps = [ @@ -21,6 +40,16 @@ swift_syntax_library( ], ) +swift_syntax_library( + name = "SwiftSyntaxMacros", + deps = [ + ":SwiftDiagnostics", + ":SwiftParser", + ":SwiftSyntax", + ":SwiftSyntaxBuilder", + ], +) + swift_syntax_library( name = "SwiftParser", deps = [