From f1ac5217885b37b15e7098571ce879e1bd48cd1a Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Wed, 8 May 2024 08:07:25 -0700 Subject: [PATCH] Roll reclient forward (flutter/engine#52632) For https://github.com/flutter/flutter/issues/147750. Depends on https://github.com/flutter/buildroot/pull/852. This PR rolls forward reclient, the buildroot, and our RBE configs. The new RBE configs do a few things. First they default the exec strategy to `racing`. Second, they add a local wrapper script that passes the correct value for `-fdebug-prefix-map` in both the local and remote cases. Finally, they remove the canonicalization of the build's working directory, so that the remote working directory will have the same name as the local working directory. This solves the issue where the build working directory contained a mysterious `set_by_reclient/a` component. --- DEPS | 6 +++--- .../engine_build_configs/lib/src/build_config_runner.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DEPS b/DEPS index 956f3a77e0..a9e03a34da 100644 --- a/DEPS +++ b/DEPS @@ -44,7 +44,7 @@ vars = { # See https://github.com/flutter/flutter/wiki/Engine-pre‐submits-and-post‐submits#post-submit 'clang_version': 'git_revision:725656bdd885483c39f482a01ea25d67acf39c46', - 'reclient_version': 'git_revision:2c9285bdffcfd1b21afb028d57494ff78761af81', + 'reclient_version': 'git_revision:29a9d3cb597b6a7d67fa3e9aa8a7cab1c81232ee', 'gcloud_version': 'version:2@444.0.0.chromium.3', @@ -277,7 +277,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'c5f0206b6fd70a85a41718f0bc6481b7c5348026', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'b55755acbe3d771f2c0f9da708af4bc9477b91d7', 'src/flutter/third_party/depot_tools': Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '580b4ff3f5cd0dcaa2eacda28cefe0f45320e8f7', @@ -946,7 +946,7 @@ deps = { 'packages': [ { 'package': 'flutter_internal/rbe/reclient_cfgs', - 'version': 'ZuU_165luvP45DTYUP6WlEXb5EXyVxEuAm45ZB1c3zoC', + 'version': 'XIomtC8MFuQrF9qI5xYcFfcfKXZTbcY6nL6NgF-pSRIC', } ], 'condition': 'use_rbe', diff --git a/engine/src/flutter/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart b/engine/src/flutter/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart index 39b0574cdc..765b1fc342 100644 --- a/engine/src/flutter/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart +++ b/engine/src/flutter/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart @@ -356,7 +356,7 @@ final class BuildRunner extends Runner { final List bootstrapCommand = [ bootstrapPath, '--re_proxy=$reproxyPath', - '--automatic_auth=true', + '--use_application_default_credentials', if (shutdown) '--shutdown' else ...['--cfg=$reclientConfigPath'], ]; if (!processRunner.processManager.canRun(bootstrapPath)) {