diff options
author | Ted Pudlik <tpudlik@google.com> | 2023-07-06 21:08:23 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-07-06 21:08:23 +0000 |
commit | 58db588646e3880fe8d1a35c82dd00a1aab1ab4a (patch) | |
tree | 31f1fcf0b9e95f60f3fae54560ebcfe91d957031 /pw_sys_io | |
parent | 0034559bf74be97eb2b584ca3cc29bc70eccdd9e (diff) | |
download | pigweed-58db588646e3880fe8d1a35c82dd00a1aab1ab4a.tar.gz |
bazel: Fix facade layering_check violations
To avoid layering_check violations, library targets should explicitly
expose the corresponding facade's headers.
This change fixes all targets in upstream Pigweed that didn't already
use the correct pattern.
Bug: b/219091175
Change-Id: I969778ce6dd31d83b8aeb4b9a6b13c5d7c5167db
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/154252
Commit-Queue: Ted Pudlik <tpudlik@google.com>
Reviewed-by: Austin Foxley <afoxley@google.com>
Diffstat (limited to 'pw_sys_io')
-rw-r--r-- | pw_sys_io/BUILD.bazel | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pw_sys_io/BUILD.bazel b/pw_sys_io/BUILD.bazel index 34af9c469..7e6eee226 100644 --- a/pw_sys_io/BUILD.bazel +++ b/pw_sys_io/BUILD.bazel @@ -44,8 +44,11 @@ pw_cc_library( pw_cc_library( name = "pw_sys_io", + hdrs = ["public/pw_sys_io/sys_io.h"], + includes = ["public"], deps = [ - ":facade", + "//pw_bytes", + "//pw_status", "@pigweed_config//:pw_sys_io_backend", ], ) |