diff --git a/swift/third_party/BUILD.binlog.bazel b/swift/third_party/BUILD.binlog.bazel index 78db04fa3e2b..24f0f7e0fd31 100644 --- a/swift/third_party/BUILD.binlog.bazel +++ b/swift/third_party/BUILD.binlog.bazel @@ -1,3 +1,5 @@ +load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") + cc_library( name = "binlog", srcs = glob(["include/**/*.cpp"]), diff --git a/swift/third_party/BUILD.fmt.bazel b/swift/third_party/BUILD.fmt.bazel deleted file mode 100644 index 78a3639bf26c..000000000000 --- a/swift/third_party/BUILD.fmt.bazel +++ /dev/null @@ -1,10 +0,0 @@ -cc_library( - name = "fmt", - srcs = [ - "src/format.cc", - "src/os.cc", - ], - hdrs = glob(["include/**/*.h"]), - includes = ["include"], - visibility = ["//visibility:public"], -) diff --git a/swift/third_party/BUILD.picosha2.bazel b/swift/third_party/BUILD.picosha2.bazel index b6eb4292cb82..dd6ca9c080fd 100644 --- a/swift/third_party/BUILD.picosha2.bazel +++ b/swift/third_party/BUILD.picosha2.bazel @@ -1,3 +1,5 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + cc_library( name = "picosha2", hdrs = glob(["*.h"]), diff --git a/swift/third_party/BUILD.swift-llvm-support.bazel b/swift/third_party/BUILD.swift-llvm-support.bazel index 231500b35abb..6390ca31718a 100644 --- a/swift/third_party/BUILD.swift-llvm-support.bazel +++ b/swift/third_party/BUILD.swift-llvm-support.bazel @@ -1,3 +1,5 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + cc_library( name = "swift-llvm-support-static", srcs = glob( diff --git a/swift/third_party/load.bzl b/swift/third_party/load.bzl index d19345a18803..f2ebfa748776 100644 --- a/swift/third_party/load.bzl +++ b/swift/third_party/load.bzl @@ -1,6 +1,7 @@ load("@bazel_skylib//rules:write_file.bzl", "write_file") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files") _override = { @@ -117,7 +118,7 @@ def test_no_override(): content = test_body, is_executable = True, ) - native.sh_test( + sh_test( name = "test-no-override", srcs = [":test-no-override-gen"], tags = ["override"],