Simplify aos/logging code
There are extra files and targets that we don't really need. Combine
them to simplify things.
Change-Id: Ife2901dd344df389f5e6f347d50f565627f47366
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/logging/BUILD b/aos/logging/BUILD
index ea5d15c..d9e4e94 100644
--- a/aos/logging/BUILD
+++ b/aos/logging/BUILD
@@ -8,6 +8,7 @@
"context.cc",
"implementations.cc",
"interface.cc",
+ "printf_formats.h",
],
hdrs = [
"context.h",
@@ -18,16 +19,11 @@
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
deps = [
- ":printf_formats",
- ":sizes",
"//aos:die",
"//aos:macros",
"//aos/libc:aos_strerror",
- "//aos/stl_mutex",
"//aos/time",
- "//aos/type_traits",
"@com_github_google_glog//:glog",
- "@com_google_absl//absl/base",
],
)
@@ -44,14 +40,6 @@
],
)
-cc_library(
- name = "sizes",
- hdrs = [
- "sizes.h",
- ],
- target_compatible_with = ["@platforms//os:linux"],
-)
-
cc_test(
name = "implementations_test",
srcs = [
@@ -65,18 +53,6 @@
],
)
-cc_library(
- name = "printf_formats",
- hdrs = [
- "printf_formats.h",
- ],
- target_compatible_with = ["@platforms//os:linux"],
- visibility = ["//visibility:public"],
- deps = [
- "//aos:macros",
- ],
-)
-
flatbuffer_cc_library(
name = "log_message_fbs",
srcs = ["log_message.fbs"],