mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1256587 - Only check rpmbuild, genisoimage and dsymutil on the targets they are relevant for. r=gps
This commit is contained in:
parent
ad3d599d5f
commit
a2d3f7bd81
@ -114,13 +114,21 @@ perl_version_check('5.006')
|
||||
# Miscellaneous programs
|
||||
# ==============================================================
|
||||
check_prog('DOXYGEN', ('doxygen',), allow_missing=True)
|
||||
check_prog('DSYMUTIL', ('dsymutil', 'llvm-dsymutil'), allow_missing=True)
|
||||
check_prog('GENISOIMAGE', ('genisoimage',), allow_missing=True)
|
||||
check_prog('RPMBUILD', ('rpmbuild',), allow_missing=True)
|
||||
check_prog('UNZIP', ('unzip',))
|
||||
check_prog('XARGS', ('xargs',))
|
||||
check_prog('ZIP', ('zip',))
|
||||
|
||||
@depends(target)
|
||||
def mac_programs(target):
|
||||
if target.os == 'Darwin':
|
||||
check_prog('DSYMUTIL', ('dsymutil', 'llvm-dsymutil'), allow_missing=True)
|
||||
check_prog('GENISOIMAGE', ('genisoimage',), allow_missing=True)
|
||||
|
||||
@depends(target)
|
||||
def linux_programs(target):
|
||||
if target.os == 'GNU' and target.kernel == 'Linux':
|
||||
check_prog('RPMBUILD', ('rpmbuild',), allow_missing=True)
|
||||
|
||||
|
||||
# Fallthrough to autoconf-based configure
|
||||
include('build/moz.configure/old.configure')
|
||||
|
Loading…
Reference in New Issue
Block a user