mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 901644 - Allow mach build paths to be specified relative to $srcdir; r=gps
DONTBUILD (NPOTB)
This commit is contained in:
parent
de7568deba
commit
6fb66ecabe
@ -175,12 +175,8 @@ def resolve_target_to_make(topobjdir, target):
|
||||
Makefile containing a different Makefile, and an appropriate
|
||||
target.
|
||||
'''
|
||||
if os.path.isabs(target):
|
||||
print('Absolute paths for make targets are not allowed.')
|
||||
return (None, None)
|
||||
|
||||
target = target.replace(os.sep, '/')
|
||||
|
||||
target = target.replace(os.sep, '/').lstrip('/')
|
||||
abs_target = os.path.join(topobjdir, target)
|
||||
|
||||
# For directories, run |make -C dir|. If the directory does not
|
||||
|
Loading…
Reference in New Issue
Block a user