Backed out changeset 408319d87eac (bug 1275297) for breaking at least Windows SM builds with "MSVS_VERSION not defined" CLOSED TREE

This commit is contained in:
Wes Kocher 2016-05-24 16:25:14 -07:00
Родитель 0b63cd8df0
Коммит a6482310b7
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -109,14 +109,12 @@ def build_backends_choices(help):
option('--enable-build-backend', nargs='+', choices=build_backends_choices,
help='Enable additional build backends')
@depends('--enable-build-backend', '--enable-artifact-builds', target)
def build_backend(backends, artifact_builds, target):
@depends('--enable-build-backend', '--enable-artifact-builds')
def build_backend(backends, artifact_builds):
if artifact_builds:
all_backends = ['FasterMake+RecursiveMake']
else:
all_backends = ['RecursiveMake', 'FasterMake']
if target.os == 'WINNT':
all_backends.append('VisualStudio')
all_backends.extend(backends)
return unique_list(all_backends)