[infra] Recognize c.googlers.com.

Change-Id: Ibec8a8dbe627b57253aaa0ec4a91f1c408fe282a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/354240
Commit-Queue: Jonas Termansen <sortie@google.com>
Auto-Submit: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
This commit is contained in:
Jonas Termansen 2024-02-26 10:43:23 +00:00 committed by Commit Queue
parent e27fb499f8
commit fe202e60c3

View file

@ -412,7 +412,8 @@ def ProcessOptions(args):
print("Crashpad is only supported on Windows")
return False
if os.environ.get('RBE_cfg') == None and \
socket.getfqdn().endswith('.corp.google.com') and \
(socket.getfqdn().endswith('.corp.google.com') or
socket.getfqdn().endswith('.c.googlers.com')) and \
sys.platform in ['linux']:
print('You can speed up your build by following: go/dart-rbe')
if not args.rbe and not args.goma: