From 0f8ce6d99f516dd42ea77440ae3faed8fbd86ca5 Mon Sep 17 00:00:00 2001 From: Junji Watanabe Date: Tue, 8 Aug 2023 03:40:44 +0000 Subject: [PATCH] [reclient] update error message for missing reclient binaries/configs `Developer builds with reclient are not yet supported` is misleading. This CL updates the message to help users to resolve the issues. Bug: b/294933473 Change-Id: Ibce2854e25b8994af58011f4e7661f467fe910e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4755000 Commit-Queue: Junji Watanabe Reviewed-by: Takuto Ikuta Reviewed-by: Fumitoshi Ukai Auto-Submit: Junji Watanabe --- reclient_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reclient_helper.py b/reclient_helper.py index c81c28d86..835654800 100644 --- a/reclient_helper.py +++ b/reclient_helper.py @@ -196,9 +196,9 @@ def build_context(argv, tool): reclient_cfg = find_reclient_cfg() if reclient_bin_dir is None or reclient_cfg is None: print(("Build is configured to use reclient but necessary binaries " - "or config files can't be found. Developer builds with " - "reclient are not yet supported. Try regenerating your " - "build with use_goma in place of use_remoteexec for now."), + "or config files can't be found.\n" + "Please check if `download_remoteexec_cfg: True` custom var is set" + " in `.gclient`, and run `gclient sync`."), file=sys.stderr) yield 1 return