.bazelrc: Add RBE support
Change-Id: I137a24775584d471694bf234df068856756e8bc8
Reviewed-on: https://pigweed-review.googlesource.com/c/zephyr/zephyr-bazel/+/225811
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
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>
Reviewed-by: Taylor Cramer <cramertj@google.com>
diff --git a/examples/hello_dts/.bazelrc b/examples/hello_dts/.bazelrc
index 7aa7dd6..7a075a8 100644
--- a/examples/hello_dts/.bazelrc
+++ b/examples/hello_dts/.bazelrc
@@ -25,3 +25,9 @@
# Required for new toolchain resolution API.
build --incompatible_enable_cc_toolchain_resolution
+
+# Use the remote cache. This will only work for users who have permission to access it.
+common:remote_cache --remote_cache=grpcs://remotebuildexecution.googleapis.com
+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