Backed out changeset 40832d187454 (bug 1537669) for causing ActivationContext.cpp asertion failures CLOSED TREE

This commit is contained in:
Ciure Andrei 2019-03-22 10:47:36 +02:00
Родитель f2778f9820
Коммит 2a9eb52a31
1 изменённых файлов: 2 добавлений и 6 удалений

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

@ -461,17 +461,13 @@ def sdk_bin_path(valid_windows_sdk_dir, valid_ucrt_sdk_dir):
return result
mt = check_prog('MT', ('llvm-mt', 'mt'), input='MT',
mt = check_prog('MT', ('mt.exe',), input='MT',
paths=sdk_bin_path)
@depends(mt)
def mt_not_llvm_mt(mt):
return not os.path.basename(mt).lower().startswith('llvm')
# Check that MT is not something unexpected like "magnetic tape manipulation
# utility".
@depends(mt, when=mt_not_llvm_mt)
@depends(mt)
@checking('whether MT is really Microsoft Manifest Tool', lambda x: bool(x))
@imports('subprocess')
def valid_mt(path):