Move over to ABSL logging and flags.
Removes gperftools too since that wants gflags.
Here come the fireworks.
Change-Id: I79cb7bcf60f1047fbfa28bfffc21a0fd692e4b1c
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/testing/tmpdir.cc b/aos/testing/tmpdir.cc
index 0953a21..0aa00ea 100644
--- a/aos/testing/tmpdir.cc
+++ b/aos/testing/tmpdir.cc
@@ -3,6 +3,8 @@
#include <cstdlib>
#include <string>
+#include "absl/flags/flag.h"
+
#include "aos/ipc_lib/shm_base.h"
namespace aos::testing {
@@ -19,6 +21,8 @@
std::string TestTmpDir() { return TestTmpDirOr("/tmp"); }
-void SetTestShmBase() { SetShmBase(TestTmpDirOr(FLAGS_shm_base)); }
+void SetTestShmBase() {
+ SetShmBase(TestTmpDirOr(absl::GetFlag(FLAGS_shm_base)));
+}
} // namespace aos::testing