Skip to content

Commit

Permalink
Fixing coverage import and cc toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Sep 20, 2022
1 parent 19051e5 commit 5612db8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
build:bzlmod --experimental_enable_bzlmod
build:bzlmod --crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:toolchain
build:bzlmod --host_crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:toolchain
4 changes: 4 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ bazel_dep(name = "rules_cc", version = "0.0.1")
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.0")
bazel_dep(name = "googletest", repo_name = "com_google_googletest", version = "1.11.0")
bazel_dep(name = "rules_java", version = "5.1.0")

# Importing non bzl-mod remote_coverage_tools
coverage_deps_ext = use_extension("//proto/private:bzlmod_deps.bzl", "coverage_deps_ext")
use_repo(coverage_deps_ext, "remote_coverage_tools")
7 changes: 0 additions & 7 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "remote_coverage_tools",
sha256 = "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d",
urls = ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip"],
)

0 comments on commit 5612db8

Please sign in to comment.