From 5ed7ef8089a6914a81b7592d2b6db93c5d87a1e2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 7 Feb 2022 22:15:55 +0300 Subject: chore(3p/glog): Unvendor glog ... and build //third_party/nix with the one from nixpkgs. Change-Id: Iae7f1772a31286f2c22955cdc1fe61ee82d112aa Reviewed-on: https://cl.tvl.fyi/c/depot/+/3016 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: grfn --- third_party/glog/bazel/example/BUILD | 8 -------- third_party/glog/bazel/example/main.cc | 22 ---------------------- 2 files changed, 30 deletions(-) delete mode 100644 third_party/glog/bazel/example/BUILD delete mode 100644 third_party/glog/bazel/example/main.cc (limited to 'third_party/glog/bazel/example') 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 -#include -#include - -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 x; - x.push_back(1); - x.push_back(2); - x.push_back(3); - LOG(INFO) << "ABC, it's easy as " << x; - - return 0; -} -- cgit 1.4.1