From 42d435ac01207a2df075fb202d32d23e71f52fc3 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 6 Apr 2023 15:42:47 -0700 Subject: [PATCH] [bazel] Add Macro related libraries --- BUILD.bazel | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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 = [