From 5eb1e8d8c9e715e0b5fe30bfc80c2e2f5c3e3ed1 Mon Sep 17 00:00:00 2001
From: billfeng327 <yfen@google.com>
Date: Fri, 8 Mar 2019 10:39:03 -0800
Subject: [PATCH] code cleanup, removed old build file

---
 bazel/grpc_deps.bzl                |  1 -
 third_party/BUILD                  |  1 -
 third_party/benchmark.BUILD        | 15 ---------------
 tools/remote_build/windows.bazelrc |  2 +-
 4 files changed, 1 insertion(+), 18 deletions(-)
 delete mode 100644 third_party/benchmark.BUILD

diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl
index 799e864484c..2795ce8e732 100644
--- a/bazel/grpc_deps.bzl
+++ b/bazel/grpc_deps.bzl
@@ -154,7 +154,6 @@ def grpc_deps():
     if "com_github_google_benchmark" not in native.existing_rules():
         http_archive(
             name = "com_github_google_benchmark",
-            #build_file = "@com_github_grpc_grpc//third_party:benchmark.BUILD",
             strip_prefix = "benchmark-e776aa0275e293707b6a0901e0e8d8a8a3679508",
             url = "https://github.com/google/benchmark/archive/e776aa0275e293707b6a0901e0e8d8a8a3679508.tar.gz",
         )
diff --git a/third_party/BUILD b/third_party/BUILD
index 5ec919dc48d..8b43d6b8300 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -1,5 +1,4 @@
 exports_files([
-    "benchmark.BUILD",
     "gtest.BUILD",
     "objective_c/Cronet/bidirectional_stream_c.h",
     "zlib.BUILD",
diff --git a/third_party/benchmark.BUILD b/third_party/benchmark.BUILD
deleted file mode 100644
index 4c622f32a84..00000000000
--- a/third_party/benchmark.BUILD
+++ /dev/null
@@ -1,15 +0,0 @@
-cc_library(
-    name = "benchmark",
-    srcs = glob(["src/*.cc"]),
-    hdrs = glob(["include/**/*.h", "src/*.h"]),
-    includes = [
-        "include", "."
-    ],
-    copts = [
-        "-DHAVE_POSIX_REGEX"
-    ],
-    linkstatic = 1,
-    visibility = [
-        "//visibility:public",
-    ],
-)
diff --git a/tools/remote_build/windows.bazelrc b/tools/remote_build/windows.bazelrc
index 11f57cac32d..70575372d02 100644
--- a/tools/remote_build/windows.bazelrc
+++ b/tools/remote_build/windows.bazelrc
@@ -1,3 +1,3 @@
 # TODO(yfen): Merge with rbe_common.bazelrc and enable Windows RBE
 build --test_tag_filters=-no_windows
-build --build_tag_filters=-no_windows
\ No newline at end of file
+build --build_tag_filters=-no_windows