Skip to content

Commit

Permalink
bazel: Remove call to rules_fuchsia_deps
Browse files Browse the repository at this point in the history
Removes the call to rules_fuchsia_deps in the WORKSPACE file. This is no
longer needed and removes the need to call load to get the macro.

BUG: b/346416385
Change-Id: Iffce85875db67045cb75781251cd749bf1be3d84
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/234094
Lint: Lint 🤖 <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Commit-Queue: Chase Latta <[email protected]>
Reviewed-by: Ted Pudlik <[email protected]>
  • Loading branch information
chaselatta authored and CQ Bot Account committed Sep 9, 2024
1 parent 314e457 commit 1247e8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ bazel_dep(name = "rules_fuzzing", version = "0.5.2")
bazel_dep(name = "rules_go", version = "0.49.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_jvm_external", version = "6.2")
bazel_dep(name = "rules_libusb", version = "0.1.0-rc1")
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "rules_platform", version = "0.1.0")
bazel_dep(name = "rules_probe_rs", version = "0.0.2")
bazel_dep(name = "rules_proto", version = "6.0.2")
Expand Down
6 changes: 1 addition & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,14 @@ load("@fuchsia_infra//:workspace.bzl", "fuchsia_infra_workspace")

fuchsia_infra_workspace()

FUCHSIA_SDK_VERSION = "version:23.20240829.4.1"
FUCHSIA_SDK_VERSION = "version:24.20240905.3.1"

cipd_repository(
name = "fuchsia_sdk",
path = "fuchsia/sdk/core/fuchsia-bazel-rules/linux-amd64",
tag = FUCHSIA_SDK_VERSION,
)

load("@fuchsia_sdk//fuchsia:deps.bzl", "rules_fuchsia_deps")

rules_fuchsia_deps()

register_toolchains("@fuchsia_sdk//:fuchsia_toolchain_sdk")

cipd_repository(
Expand Down
4 changes: 3 additions & 1 deletion pw_bluetooth_sapphire/host/gap/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ pw_cc_test(
"secure_simple_pairing_state_test.cc",
"types_test.cc",
],
copts = COPTS,
copts = [
"-Wno-deprecated-this-capture",
] + COPTS,
test_main = "//pw_bluetooth_sapphire/host/testing:gtest_main",
deps = [
":gap",
Expand Down

0 comments on commit 1247e8d

Please sign in to comment.