aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2023-11-27 23:45:36 +0000
committerMatthias Maennich <maennich@google.com>2023-11-27 23:45:36 +0000
commitaef485b1772ae444764f49f5148cf0a52245c644 (patch)
treec40cf26b0842743270243e76a7a4ff6e7ed53492
parent1d5d862ffea9d5959a1836f5a87dcfe70bdd31e6 (diff)
downloadbazel-aef485b1772ae444764f49f5148cf0a52245c644.tar.gz
Do not enable BzlMod
This prevents BzlMod from being enabled if we upgrade to a bazel version that switches the default value for --enable_bzlmod. Bug: 313506622 Change-Id: Ied3f48e4817867aaa2478cb4d856aead5dc1e269 Signed-off-by: Matthias Maennich <maennich@google.com>
-rw-r--r--common.bazelrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.bazelrc b/common.bazelrc
index 67ac32eb..0b2d1d66 100644
--- a/common.bazelrc
+++ b/common.bazelrc
@@ -24,6 +24,9 @@ common --experimental_enable_scl_dialect
common --experimental_cc_shared_library
build --experimental_starlark_cc_import
+# Do not enable BzlMod as the migration to bzlmod has not been done yet
+common --noenable_bzlmod
+
# Do not tokenize copts, other than strings that consist of a single Make
# variable. This prevents the need to double-escape characters like backslashes
# and quotes in copts.