pw_bloat: Fixes Bazel build
No-Docs-Update-Reason: Build fixes.
Change-Id: Ieb857631e9e6595de7695a68110d6461b03ff3b9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/43920
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
diff --git a/pw_bloat/BUILD b/pw_bloat/BUILD.bazel
similarity index 94%
rename from pw_bloat/BUILD
rename to pw_bloat/BUILD.bazel
index f0911f9..4ee7851 100644
--- a/pw_bloat/BUILD
+++ b/pw_bloat/BUILD.bazel
@@ -29,6 +29,10 @@
srcs = ["bloat_this_binary.cc"],
hdrs = ["public/pw_bloat/bloat_this_binary.h"],
includes = ["public"],
+ deps = [
+ "//pw_assert",
+ "//pw_log",
+ ],
)
# Standard minimal base binary for bloat reports.
diff --git a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
index 0a3f254..8253457 100755
--- a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
+++ b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
@@ -106,7 +106,7 @@
ctx.output_dir,
*_at_all_optimization_levels('qemu_gcc'),
# TODO(pwbug/321) Re-enable clang.
- #*_at_all_optimization_levels('qemu_clang'),
+ # *_at_all_optimization_levels('qemu_clang'),
)
@@ -218,6 +218,7 @@
'//pw_assert_basic/...',
'//pw_protobuf/...',
'//pw_base64/...',
+ '//pw_bloat/...',
'//pw_build/...',
'//pw_chrono/...',
'//pw_chrono_stl/...',