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/util/config_validator.cc b/aos/util/config_validator.cc
index 0ee1018..660a7bd 100644
--- a/aos/util/config_validator.cc
+++ b/aos/util/config_validator.cc
@@ -1,6 +1,6 @@
 #include <memory>
 
-#include "gflags/gflags.h"
+#include "absl/flags/flag.h"
 #include "gtest/gtest.h"
 
 #include "aos/configuration.h"
@@ -9,9 +9,9 @@
 #include "aos/util/config_validator_config_generated.h"
 #include "aos/util/config_validator_lib.h"
 
-DEFINE_string(config, "", "Name of the config file to replay using.");
-DEFINE_string(validation_config, "{}",
-              "JSON config to use to validate the config.");
+ABSL_FLAG(std::string, config, "", "Name of the config file to replay using.");
+ABSL_FLAG(std::string, validation_config, "{}",
+          "JSON config to use to validate the config.");
 /* This binary is used to validate that all of the
    needed remote timestamps channels are in the config
    to log the timestamps.
@@ -23,14 +23,14 @@
    each one
    Reference superstructure_lib_test.cc*/
 TEST(ConfigValidatorTest, ReadConfig) {
-  ASSERT_TRUE(!FLAGS_config.empty());
+  ASSERT_TRUE(!absl::GetFlag(FLAGS_config).empty());
   const aos::FlatbufferDetachedBuffer<aos::Configuration> config =
-      aos::configuration::ReadConfig(FLAGS_config);
+      aos::configuration::ReadConfig(absl::GetFlag(FLAGS_config));
 
   const aos::FlatbufferDetachedBuffer<aos::util::ConfigValidatorConfig>
       validator_config =
           aos::JsonToFlatbuffer<aos::util::ConfigValidatorConfig>(
-              FLAGS_validation_config);
+              absl::GetFlag(FLAGS_validation_config));
   aos::util::ConfigIsValid(&config.message(), &validator_config.message());
 }