Enable --enable_workspace for Bazel due to android dependencies in WORKSPACE.bzlmod
This will no longer be needed when android rules are moved out of Bazel.
PiperOrigin-RevId: 667951848
Change-Id: I990dc79da4b637345eb95d368d17f323878cc9a7
diff --git a/.bazelrc b/.bazelrc
index 38e1a64..648c9d3 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -34,6 +34,9 @@
# Add mirrors for certain download URLs
common --experimental_downloader_config=bazel_downloader.cfg
+# Enable WORKSPACE functionality for android dependencies in WORKSPACE.bzlmod
+common --enable_workspace
+
# Enable modern C++ features
build:linux --cxxopt=-std=c++17
build:linux --host_cxxopt=-std=c++17