Skip to content

Commit

Permalink
Remove bazelbuild/rules_cc dependency (google#203)
Browse files Browse the repository at this point in the history
* Remove bazelbuild/rules_cc dependency

The Bazel team recommends using native rules nowadays: bazelbuild/rules_cc#91 (comment)
Abseil stopped depending on `rules_cc` in abseil/abseil-cpp@b2387f0.
  • Loading branch information
dinord authored Oct 14, 2021
1 parent 913019e commit 3e2b904
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")

licenses(["notice"])

config_setting(
Expand Down
11 changes: 0 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ http_archive(
urls = ["https://github.com/google/benchmark/archive/v1.5.5.zip"],
)

# C++ rules for Bazel.
http_archive(
name = "rules_cc",
sha256 = "fa42eade3cad9190c2a6286a6213f07f1a83d26d9f082d56f526d014c6ea7444",
strip_prefix = "rules_cc-02becfef8bc97bda4f9bb64e153f1b0671aec4ba",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/02becfef8bc97bda4f9bb64e153f1b0671aec4ba.zip",
"https://github.com/bazelbuild/rules_cc/archive/02becfef8bc97bda4f9bb64e153f1b0671aec4ba.zip",
],
)

# Bazel platform rules.
http_archive(
name = "platforms",
Expand Down

0 comments on commit 3e2b904

Please sign in to comment.