Skip to content

Commit a8238b1

Browse files
committed
Swift: fix pack
1 parent a75f5fa commit a8238b1

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

swift/BUILD.bazel

+12-11
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ pkg_filegroup(
4848
prefix = "tools/{CODEQL_PLATFORM}",
4949
)
5050

51+
pkg_filegroup(
52+
name = "tools",
53+
srcs = ["//swift/tools"],
54+
prefix = "tools",
55+
)
56+
5157
pkg_filegroup(
5258
name = "extractor",
5359
srcs = select_os(
@@ -67,15 +73,6 @@ codeql_pkg_files(
6773
],
6874
)
6975

70-
pkg_filegroup(
71-
name = "common",
72-
srcs = [
73-
":autobuilder",
74-
":root-files",
75-
"//swift/downgrades",
76-
],
77-
)
78-
7976
zip_map = {
8077
"//swift/third_party/resources:dir": "resource-dir/{CODEQL_PLATFORM}",
8178
}
@@ -84,13 +81,17 @@ zip_map = {
8481
codeql_pack(
8582
name = "swift-linux-included" if linux_included else "swift",
8683
srcs = [
87-
":common",
84+
":autobuilder",
85+
":root-files",
86+
":tools",
87+
"//swift/downgrades",
8888
] + select_os(
8989
linux = [":extractor"] if linux_included else [],
9090
macos = [":extractor"],
9191
windows = [],
9292
),
9393
installer_alias = "install-linux" if linux_included else "install-other",
94+
pack_prefix = "swift",
9495
zips = select_os(
9596
linux = zip_map if linux_included else {},
9697
macos = zip_map,
@@ -105,7 +106,7 @@ zip_map = {
105106

106107
alias(
107108
name = "create-extractor-pack",
108-
actual = ":swift-installer",
109+
actual = ":install",
109110
)
110111

111112
alias(

0 commit comments

Comments
 (0)