File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11load ("@rules_pkg//pkg:mappings.bzl" , "pkg_filegroup" )
22load ("//misc/bazel:pkg.bzl" , "codeql_pack" , "codeql_pkg_files" )
3- load ("//misc/bazel:utils .bzl" , "select_os " )
3+ load ("//misc/bazel:os .bzl" , "codeql_platform_select " )
44
55package (default_visibility = ["//visibility:public" ])
66
@@ -41,12 +41,11 @@ codeql_pkg_files(
4141
4242codeql_pkg_files (
4343 name = "extractor-arch" ,
44- exes = select_os (
45- posix = ["//unified/extractor" ],
46- windows = ["//unified/extractor-unsupported-os:extractor" ],
47- ) + select_os (
48- linux = ["//unified/swift-syntax-rs:swift_runtime_libs" ],
49- otherwise = [],
44+ exes = codeql_platform_select (
45+ linux64 = ["//unified/extractor" , "//unified/swift-syntax-rs:swift_runtime_libs" ],
46+ osx64 = ["//unified/extractor" ],
47+ linux_arm64 = ["//unified/extractor-unsupported-os:extractor" ],
48+ win64 = ["//unified/extractor-unsupported-os:extractor" ],
5049 ),
5150 prefix = "tools/{CODEQL_PLATFORM}" ,
5251)
You can’t perform that action at this time.
0 commit comments