bazel: try-import user.bazelrc
Change-Id: Ic5b8751364f771ce92b6af79112b940399c62a37
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/217133
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Reviewed-by: Erik Gilling <konkers@google.com>
diff --git a/.bazelrc b/.bazelrc
index 01f25c7..052f08b 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -27,3 +27,11 @@
common:remote_cache --google_default_credentials=true
common:remote_cache --remote_instance_name=projects/pigweed-rbe-open/instances/default-instance
common:remote_cache --remote_upload_local_results=false
+
+# User bazelrc file; see
+# https://bazel.build/configure/best-practices#bazelrc-file
+#
+# Note: this should be at the bottom of the file, so that user-specified
+# options override anything in this file
+# (https://bazel.build/run/bazelrc#imports)
+try-import %workspace%/user.bazelrc