зеркало из https://github.com/github/codeql.git
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:
Родитель
0ab67d1790
Коммит
460ba234ed
5
defs.bzl
5
defs.bzl
|
@ -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"],
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче