Swift: fix internal builds

This commit is contained in:
Alex Denisov
2022-09-16 12:59:43 +02:00
parent c638789f3e
commit d6d8480b2a
2 changed files with 3 additions and 5 deletions

View File

@@ -61,6 +61,6 @@ def codeql_workspace(repository_name = "codeql"):
name = "fishhook",
commit = "aadc161ac3b80db07a9908851839a17ba63a9eb1",
shallow_since = "1634071885 -0400",
build_file = "//swift/tools/fishhook:BUILD.fishhook.bazel",
build_file = "@%s//swift/tools/fishhook:BUILD.fishhook.bazel" % repository_name,
remote = "https://github.com/facebook/fishhook",
)

View File

@@ -1,9 +1,7 @@
load("@//swift:rules.bzl", "swift_cc_library")
swift_cc_library(
cc_library(
name = "fishhook",
srcs = glob(["*.c"]),
hdrs = glob(["*.h"]),
strip_include_prefix = ".",
visibility = ["@//swift:__subpackages__"],
visibility = ["//visibility:public"],
)