mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
24 lines
612 B
Python
24 lines
612 B
Python
load("//swift:rules.bzl", "swift_cc_library")
|
|
|
|
swift_cc_library(
|
|
name = "remapping",
|
|
srcs = ['SwiftOutputRewrite.cpp'] + select({
|
|
"@platforms//os:linux": [
|
|
"SwiftOpenInterception.Linux.cpp",
|
|
],
|
|
"@platforms//os:macos": [
|
|
"SwiftOpenInterception.macOS.cpp",
|
|
],
|
|
}),
|
|
hdrs = glob(["*.h"]),
|
|
visibility = ["//swift:__subpackages__"],
|
|
deps = [
|
|
"//swift/tools/prebuilt:swift-llvm-support",
|
|
] + select({
|
|
"@platforms//os:linux": [],
|
|
"@platforms//os:macos": [
|
|
"@fishhook//:fishhook",
|
|
],
|
|
}),
|
|
)
|