diff options
author | 2022-01-26 23:32:22 -0500 | |
---|---|---|
committer | 2022-01-29 16:59:04 -0500 | |
commit | 84bd5bf85cb5e447a96a99487bcb4379afd9e41e (patch) | |
tree | 0d8c5263a7b8ad5e40f78b6db4686369d1a62965 /rust/coverage_test.go | |
parent | 3ff037e3d9b9e5349ff9e183f76c11f218d25f06 (diff) |
Support fetching config files from experiments fetcher binary
The expfetcher binary (added in
https://critique.corp.google.com/cl/424076941), can fetch experiments
configuration from CDPush and load them into Soong as part of its
startup. If the binary exists, then we use it to fetch experiments
config and put them in the out directory so that those env variables can
be loaded by Soong during startup and inturn control whether RBE should
be enabled or not.
Design doc: go/rbe-android-dev-gradual-rollout
Test:
1. time lunch aosp_bramble-userdebug (first lunch when "out" dir doesn't
exist) - https://paste.googleplex.com/5824218777255936 - took ~9s and
ran with RBE enabled.
2. time lunch aosp_bramble-userdebug (when "out" dir already exists) - https://paste.googleplex.com/6485045129773056 -
took ~3.5s and ran with RBE enabled.
3. time lunch aosp_bramble-userdebug (when
"vendor/google/tools/soong/expfetcher" doesn't exist) - https://paste.googleplex.com/6103083353374720 - took 6.5s
and not RBE enabled.
Bug: b/215181607
Change-Id: Ie3c085498c59929119534aa98863566eecb8e4eb
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions