зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 40832d187454 (bug 1537669) for causing ActivationContext.cpp asertion failures CLOSED TREE
This commit is contained in:
Родитель
f2778f9820
Коммит
2a9eb52a31
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче