Bazel: Clean up unused targets.

These are no longer necessary, as we're now using
the new packaging rules everywhere.
This commit is contained in:
Cornelius Riemenschneider 2024-06-07 14:07:24 +02:00
Родитель 0ab67d1790
Коммит 460ba234ed
3 изменённых файлов: 0 добавлений и 40 удалений

Просмотреть файл

@ -1,5 +0,0 @@
codeql_platform = select({
"@platforms//os:linux": "linux64",
"@platforms//os:macos": "osx64",
"@platforms//os:windows": "win64",
})

Просмотреть файл

@ -36,11 +36,3 @@ codeql_pack(
visibility = ["//visibility:public"],
zips = {"//javascript/extractor/lib/typescript": "tools"},
)
# TODO copy for internal repository backward compatibility
genrule(
name = "javascript.zip",
srcs = [":javascript-generic-zip"],
outs = ["javascript.zip"],
cmd = "cp $< $@",
)

Просмотреть файл

@ -1,5 +1,4 @@
load("@rules_pkg//pkg:mappings.bzl", "pkg_filegroup")
load("//:defs.bzl", "codeql_platform")
load(
"//misc/bazel:pkg.bzl",
"codeql_pack",
@ -91,29 +90,3 @@ alias(
name = "create-extractor-pack",
actual = ":swift-installer",
)
# TODO: following rules are for internal repo backward compatibility only
alias(
name = "extractor-pack-generic",
actual = "swift-generic",
visibility = ["//visibility:public"],
)
pkg_filegroup(
name = "resource-dir",
srcs = select({
"@platforms//os:linux": ["@swift_toolchain_linux//:resource-dir-files"],
"@platforms//os:macos": ["@swift_toolchain_macos//:resource-dir-files"],
"@platforms//os:windows": [],
}),
prefix = "resource-dir/" + codeql_platform,
)
pkg_filegroup(
name = "extractor-pack-arch",
srcs = [
":resource-dir",
":swift-arch",
],
visibility = ["//visibility:public"],
)