2 # Copyright 2023 The Chromium Authors
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
11 if len(sys.argv) != 2:
12 print("This should have a path to reclient config file in its args.",
16 # Check path to rbe_cc_cfg_file.
17 if os.path.isfile(sys.argv[1]):
21 reclient config file "%s" doesn't exist, you may need to set
22 "download_remoteexec_cfg" in .gclient like
29 "download_remoteexec_cfg": True,
34 and re-run `gclient sync`.
36 Or you may not set appropriate `rbe_cfg_dir` value in args.gn.
39 https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md#use-reclient
47 if __name__ == "__main__":