Convert aos over to flatbuffers
Everything builds, and all the tests pass. I suspect that some entries
are missing from the config files, but those will be found pretty
quickly on startup.
There is no logging or live introspection of queue messages.
Change-Id: I496ee01ed68f202c7851bed7e8786cee30df29f5
diff --git a/aos/scoped/BUILD b/aos/scoped/BUILD
index f5b3832..1ec0f1b 100644
--- a/aos/scoped/BUILD
+++ b/aos/scoped/BUILD
@@ -9,6 +9,7 @@
"scoped_fd.h",
],
deps = [
- "//aos/logging",
+ "//aos:macros",
+ "@com_github_google_glog//:glog",
],
)
diff --git a/aos/scoped/scoped_fd.cc b/aos/scoped/scoped_fd.cc
index 74f8882..846736d 100644
--- a/aos/scoped/scoped_fd.cc
+++ b/aos/scoped/scoped_fd.cc
@@ -1,13 +1,13 @@
#include "aos/scoped/scoped_fd.h"
-#include "aos/logging/logging.h"
+#include "glog/logging.h"
namespace aos {
void ScopedFD::Close() {
if (fd_ != -1) {
if (close(fd_) == -1) {
- AOS_PLOG(WARNING, "close(%d) failed", fd_);
+ PLOG(WARNING) << "close(" << fd_ << ") failed";
}
}
}