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/events/simulated_event_loop_test.cc b/aos/events/simulated_event_loop_test.cc
index 1588ede..9a1b9cc 100644
--- a/aos/events/simulated_event_loop_test.cc
+++ b/aos/events/simulated_event_loop_test.cc
@@ -4,6 +4,8 @@
#include <functional>
#include <string_view>
+#include "absl/flags/flag.h"
+#include "absl/flags/reflection.h"
#include "gtest/gtest.h"
#include "aos/events/event_loop_param_test.h"
@@ -479,10 +481,11 @@
// Tests that watchers have latency in simulation.
TEST(SimulatedEventLoopTest, WatcherTimingReport) {
+ absl::FlagSaver flag_saver;
SimulatedEventLoopTestFactory factory;
factory.set_send_delay(std::chrono::microseconds(50));
- FLAGS_timing_report_ms = 1000;
+ absl::SetFlag(&FLAGS_timing_report_ms, 1000);
auto loop1 = factory.MakePrimary("primary");
loop1->MakeWatcher("/test", [](const TestMessage &) {});