mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
Fix bug in utils.py, causing SDK bots to fail
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8877199214187649920/+/steps/upload_sdk/0/stdout Change-Id: I08d70c64d8ea17645c5071f58aeafd0d81073137 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151780 Auto-Submit: Liam Appelbe <liama@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
This commit is contained in:
parent
10c5c113f3
commit
4f1294e495
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ def IsCrossBuild(target_os, arch):
|
||||||
|
|
||||||
|
|
||||||
def GetBuildConf(mode, arch, conf_os=None, sanitizer=None):
|
def GetBuildConf(mode, arch, conf_os=None, sanitizer=None):
|
||||||
if conf_os != GuessOS() and conf_os != "host":
|
if conf_os is not None and conf_os != GuessOS() and conf_os != "host":
|
||||||
return '%s%s%s' % (GetBuildMode(mode), conf_os.title(), arch.upper())
|
return '%s%s%s' % (GetBuildMode(mode), conf_os.title(), arch.upper())
|
||||||
else:
|
else:
|
||||||
# Ask for a cross build if the host and target architectures don't match.
|
# Ask for a cross build if the host and target architectures don't match.
|
||||||
|
|
Loading…
Reference in a new issue