Bazel and CMake build updates

- Build pw_log and pw_log_basic in Bazel and CMake.
- Use pw_log_basic as the hard-coded backend in Bazel.
- Give CMake auto added tests access to all of the module's
  dependencies.

Change-Id: I15ebb2958506f120c79ee6057fbef0fdcf090354
diff --git a/pw_log_basic/BUILD b/pw_log_basic/BUILD
index 9430dd5..fd9105d 100644
--- a/pw_log_basic/BUILD
+++ b/pw_log_basic/BUILD
@@ -12,15 +12,31 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
+load(
+    "//pw_build:pigweed.bzl",
+    "pw_cc_library",
+)
+
 package(default_visibility = ["//visibility:public"])
 
 licenses(["notice"])  # Apache License 2.0
 
-filegroup(
+pw_cc_library(
     name = "pw_log_basic",
     srcs = [
+        "log_basic.cc",
+    ],
+    hdrs = [
         "public/pw_log_basic/log_basic.h",
         "public_overrides/pw_log_backend/log_backend.h",
-        "log_basic.cc",
+    ],
+    includes = [
+        "public",
+        "public_overrides",
+    ],
+    deps = [
+        "//pw_dumb_io",
+        "//pw_log:facade",
+        "//pw_string",
     ],
 )