Config bazel for pw_bloaty and size_report.
Fill out pw_bloaty/BUILD and add pw_string/size_report/BUILD.
Change-Id: I5ff98de0a452491cdff595ad56ee7365f40590dd
diff --git a/pw_bloat/BUILD b/pw_bloat/BUILD
index 85a5ca0..c3de76a 100644
--- a/pw_bloat/BUILD
+++ b/pw_bloat/BUILD
@@ -15,3 +15,24 @@
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache License 2.0
+
+load(
+ "//pw_build:pigweed.bzl",
+ "pw_cc_binary",
+ "pw_cc_library",
+)
+
+# Library which uses standard C/C++ functions such as memcpy to prevent them
+# from showing up within bloat diff reports.
+pw_cc_library(
+ name = "bloat_this_binary",
+ srcs = ["bloat_this_binary.cc"],
+ hdrs = ["public/pw_bloat/bloat_this_binary.h"],
+)
+
+# Standard minimal base binary for bloat reports.
+pw_cc_binary(
+ name = "bloat_base",
+ srcs = ["base_main.cc"],
+ deps = [":bloat_this_binary"],
+)