aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Christiansen <andy.christ79@gmail.com>2023-07-31 18:23:27 +0200
committerGitHub <noreply@github.com>2023-07-31 17:23:27 +0100
commit6e80474e62181079236f8820f92bef445d02bbce (patch)
tree4e7b8cb8da49dafbaee8c8386f7a276cc321f6c1
parent71ad1856fd107877b3341d8f4db4588d0b3dea7d (diff)
downloadgoogle-benchmark-6e80474e62181079236f8820f92bef445d02bbce.tar.gz
Mark internal deps as dev_depenencies so that downstream modules don't require those. (#1640)
Co-authored-by: Andy Christiansen <achristiansen@google.com> Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
-rw-r--r--MODULE.bazel10
1 files changed, 5 insertions, 5 deletions
diff --git a/MODULE.bazel b/MODULE.bazel
index 459609d..cf07c3e 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,11 +1,11 @@
-module(name = "com_github_google_benchmark", version="1.8.2")
+module(name = "google_benchmark", version="1.8.2")
bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "rules_foreign_cc", version = "0.9.0")
bazel_dep(name = "rules_cc", version = "0.0.6")
-bazel_dep(name = "rules_python", version = "0.24.0")
-bazel_dep(name = "googletest", version = "1.12.1", repo_name = "com_google_googletest")
+bazel_dep(name = "rules_python", version = "0.24.0", dev_dependency = True)
+bazel_dep(name = "googletest", version = "1.12.1", repo_name = "com_google_googletest", dev_dependency = True)
bazel_dep(name = "libpfm", version = "4.11.0")
# Register a toolchain for Python 3.9 to be able to build numpy. Python
@@ -13,10 +13,10 @@ bazel_dep(name = "libpfm", version = "4.11.0")
# A second reason for this is to be able to build Python hermetically instead
# of relying on the changing default version from rules_python.
-python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True)
python.toolchain(python_version = "3.9")
-pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
+pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip", dev_dependency = True)
pip.parse(
hub_name="tools_pip_deps",
python_version = "3.9",