Skip to content

Commit

Permalink
pw_spi: Enable Bazel layering check
Browse files Browse the repository at this point in the history
Bug: 391639868
Change-Id: I4a7e77cb49f185a94d61aa5dbdce81bdd8ba02c6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/262113
Commit-Queue: Keir Mierle <[email protected]>
Docs-Not-Needed: Keir Mierle <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Ted Pudlik <[email protected]>
  • Loading branch information
keir authored and CQ Bot Account committed Jan 24, 2025
1 parent 1c682f1 commit 3d1d7ae
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pw_spi/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ load("//pw_unit_test:pw_cc_test.bzl", "pw_cc_test")

package(
default_visibility = ["//visibility:public"],
features = ["-layering_check"],
)

licenses(["notice"])
Expand Down Expand Up @@ -86,7 +85,9 @@ cc_library(
":chip_selector",
":initiator",
"//pw_assert",
"//pw_bytes",
"//pw_containers",
"//pw_containers:algorithm",
"//pw_containers:to_array",
"//pw_unit_test",
],
Expand All @@ -100,7 +101,8 @@ pw_cc_test(
deps = [
":initiator_mock",
"//pw_bytes",
"//pw_containers",
"//pw_containers:algorithm",
"//pw_span",
"//pw_unit_test",
],
)
Expand All @@ -127,8 +129,12 @@ pw_cc_test(
"spi_test.cc",
],
deps = [
":chip_selector",
":device",
":initiator",
":responder",
"//pw_status",
"//pw_sync:borrow",
"//pw_sync:mutex",
"//pw_unit_test",
],
Expand Down

0 comments on commit 3d1d7ae

Please sign in to comment.