Skip to content

Commit

Permalink
Remove swift.bzl, the granular targets should be used
Browse files Browse the repository at this point in the history
RELNOTES: None
PiperOrigin-RevId: 470010567
(cherry picked from commit 9fa3a7a)
Signed-off-by: Brentley Jones <[email protected]>
  • Loading branch information
thomasvl authored and brentleyjones committed Oct 4, 2024
1 parent 34e7b28 commit 9b773b9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 104 deletions.
27 changes: 16 additions & 11 deletions swift/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ bzl_library(
],
)

bzl_library(
name = "repositories",
srcs = ["repositories.bzl"],
deps = [
"//doc:bazel_tools_bzl",
"//swift/internal:swift_autoconfiguration",
],
)

bzl_library(
name = "module_name",
srcs = ["module_name.bzl"],
Expand All @@ -53,6 +44,15 @@ bzl_library(
],
)

bzl_library(
name = "repositories",
srcs = ["repositories.bzl"],
deps = [
"//doc:bazel_tools_bzl",
"//swift/internal:swift_autoconfiguration",
],
)

bzl_library(
name = "swift_binary",
srcs = ["swift_binary.bzl"],
Expand Down Expand Up @@ -247,11 +247,15 @@ bzl_library(
],
)

# Consumed by docs
bzl_library(
name = "swift",
srcs = ["swift.bzl"],
deps = [
":extensions",
":extras",
":module_name",
":providers",
":repositories",
":swift_binary",
":swift_clang_module_aspect",
":swift_common",
Expand All @@ -267,9 +271,10 @@ bzl_library(
":swift_symbol_graph_aspect",
":swift_test",
],
visibility = ["//doc:__pkg__"],
)

# Consumed by Bazel integration tests.
# Consumed by Bazel integration tests
filegroup(
name = "for_bazel_tests",
testonly = 1,
Expand Down
93 changes: 0 additions & 93 deletions swift/swift.bzl

This file was deleted.

0 comments on commit 9b773b9

Please sign in to comment.