Skip to content

Commit e0fc9bf

Browse files
authored
bazel: use c only macros [BUILD-560] (#1305)
Updates libsbp to use the new c only rules
1 parent 76c51e9 commit e0fc9bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WORKSPACE renamed to WORKSPACE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
66
name = "rules_swiftnav",
7-
strip_prefix = "rules_swiftnav-edb32932741b965bde9816fa85c05f2fb3d2699a",
8-
url = "https://github.com/swift-nav/rules_swiftnav/archive/edb32932741b965bde9816fa85c05f2fb3d2699a.tar.gz"
7+
strip_prefix = "rules_swiftnav-26426be6b89a5b9f0489158098599b9fcd973ed4",
8+
url = "https://github.com/swift-nav/rules_swiftnav/archive/26426be6b89a5b9f0489158098599b9fcd973ed4.tar.gz",
99
)
1010

1111
http_archive(

c/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@rules_swiftnav//cc:defs.bzl", "UNIT", "swift_cc_library", "swift_cc_test")
1+
load("@rules_swiftnav//cc:defs.bzl", "UNIT", "swift_c_library", "swift_cc_test")
22
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
33

44
SBP_INCLUDE = glob(["include/**/*.h"])
@@ -10,7 +10,7 @@ refresh_compile_commands(
1010
visibility = ["//visibility:public"],
1111
)
1212

13-
swift_cc_library(
13+
swift_c_library(
1414
name = "sbp",
1515
srcs = [
1616
"src/edc.c",

0 commit comments

Comments
 (0)