зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1375593 - If cannot find ThirdPartyPaths.txt, don't break the build r=gps
MozReview-Commit-ID: KSUCct6Si2I --HG-- extra : rebase_source : 73166eab662c97687fd51ff0d5e7f8a6a6abd87f
This commit is contained in:
Родитель
f079cebc09
Коммит
dbfe98bb2d
|
@ -484,9 +484,14 @@ class Build(MachCommandBase):
|
|||
"tools",
|
||||
"rewriting",
|
||||
"ThirdPartyPaths.txt")
|
||||
with open(pathToThirdparty) as f:
|
||||
# Normalize the path (no trailing /)
|
||||
LOCAL_SUPPRESS_DIRS = tuple(d.rstrip('/') for d in f.read().splitlines())
|
||||
|
||||
if os.path.exists(pathToThirdparty):
|
||||
with open(pathToThirdparty) as f:
|
||||
# Normalize the path (no trailing /)
|
||||
LOCAL_SUPPRESS_DIRS = tuple(d.rstrip('/') for d in f.read().splitlines())
|
||||
else:
|
||||
# For application based on gecko like thunderbird
|
||||
LOCAL_SUPPRESS_DIRS = ()
|
||||
|
||||
suppressed_by_dir = collections.Counter()
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче