about summary refs log tree commit diff
path: root/third_party/glog/bazel/example
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/glog/bazel/example')
-rw-r--r--third_party/glog/bazel/example/BUILD8
-rw-r--r--third_party/glog/bazel/example/main.cc22
2 files changed, 0 insertions, 30 deletions
diff --git a/third_party/glog/bazel/example/BUILD b/third_party/glog/bazel/example/BUILD
deleted file mode 100644
index 6b10e2b2fb3f..000000000000
--- a/third_party/glog/bazel/example/BUILD
+++ /dev/null
@@ -1,8 +0,0 @@
-cc_test(
-    name = "main",
-    size = "small",
-    srcs = ["main.cc"],
-    deps = [
-        "//:glog",
-    ],
-)
diff --git a/third_party/glog/bazel/example/main.cc b/third_party/glog/bazel/example/main.cc
deleted file mode 100644
index fef01dc15752..000000000000
--- a/third_party/glog/bazel/example/main.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <gflags/gflags.h>
-#include <glog/logging.h>
-#include <glog/stl_logging.h>
-
-int main(int argc, char* argv[]) {
-  // Initialize Google's logging library.
-  google::InitGoogleLogging(argv[0]);
-
-  // Optional: parse command line flags
-  gflags::ParseCommandLineFlags(&argc, &argv, true);
-
-  LOG(INFO) << "Hello, world!";
-
-  // glog/stl_logging.h allows logging STL containers.
-  std::vector<int> x;
-  x.push_back(1);
-  x.push_back(2);
-  x.push_back(3);
-  LOG(INFO) << "ABC, it's easy as " << x;
-
-  return 0;
-}