@@ -26,15 +26,6 @@ bzl_library(
26
26
],
27
27
)
28
28
29
- bzl_library (
30
- name = "repositories" ,
31
- srcs = ["repositories.bzl" ],
32
- deps = [
33
- "//doc:bazel_tools_bzl" ,
34
- "//swift/internal:swift_autoconfiguration" ,
35
- ],
36
- )
37
-
38
29
bzl_library (
39
30
name = "module_name" ,
40
31
srcs = ["module_name.bzl" ],
@@ -53,24 +44,11 @@ bzl_library(
53
44
)
54
45
55
46
bzl_library (
56
- name = "swift " ,
57
- srcs = ["swift .bzl" ],
47
+ name = "repositories " ,
48
+ srcs = ["repositories .bzl" ],
58
49
deps = [
59
- ":providers" ,
60
- ":swift_binary" ,
61
- ":swift_clang_module_aspect" ,
62
- ":swift_common" ,
63
- ":swift_compiler_plugin" ,
64
- ":swift_extract_symbol_graph" ,
65
- ":swift_feature_allowlist" ,
66
- ":swift_import" ,
67
- ":swift_interop_hint" ,
68
- ":swift_library" ,
69
- ":swift_library_group" ,
70
- ":swift_module_alias" ,
71
- ":swift_package_configuration" ,
72
- ":swift_symbol_graph_aspect" ,
73
- ":swift_test" ,
50
+ "//doc:bazel_tools_bzl" ,
51
+ "//swift/internal:swift_autoconfiguration" ,
74
52
],
75
53
)
76
54
@@ -260,7 +238,34 @@ bzl_library(
260
238
],
261
239
)
262
240
263
- # Consumed by Bazel integration tests.
241
+ # Consumed by docs
242
+ bzl_library (
243
+ name = "swift" ,
244
+ deps = [
245
+ ":extras" ,
246
+ ":extensions" ,
247
+ ":module_name" ,
248
+ ":providers" ,
249
+ ":repositories" ,
250
+ ":swift_binary" ,
251
+ ":swift_clang_module_aspect" ,
252
+ ":swift_common" ,
253
+ ":swift_compiler_plugin" ,
254
+ ":swift_extract_symbol_graph" ,
255
+ ":swift_feature_allowlist" ,
256
+ ":swift_import" ,
257
+ ":swift_interop_hint" ,
258
+ ":swift_library" ,
259
+ ":swift_library_group" ,
260
+ ":swift_module_alias" ,
261
+ ":swift_package_configuration" ,
262
+ ":swift_symbol_graph_aspect" ,
263
+ ":swift_test" ,
264
+ ],
265
+ visibility = ["//doc:__pkg__" ],
266
+ )
267
+
268
+ # Consumed by Bazel integration tests
264
269
filegroup (
265
270
name = "for_bazel_tests" ,
266
271
testonly = 1 ,
0 commit comments