Bug 1012510 - xulrunner for Mac is under XUL.framework instead of XULRunner.app/Contents/MacOS. r=gps

This commit is contained in:
Shih-Chiang Chien 2014-05-19 12:26:34 +08:00
parent 3702ff3149
commit 64bcb93112

View File

@ -320,8 +320,11 @@ class MozbuildObject(ProcessExecutionMixin):
stem = os.path.join(stem, substs['MOZ_APP_NAME'])
if substs['OS_ARCH'] == 'Darwin':
stem = os.path.join(stem, substs['MOZ_MACBUNDLE_NAME'], 'Contents',
'MacOS')
if substs['MOZ_BUILD_APP'] == 'xulrunner':
stem = os.path.join(stem, 'XUL.framework');
else:
stem = os.path.join(stem, substs['MOZ_MACBUNDLE_NAME'], 'Contents',
'MacOS')
elif where == 'default':
stem = os.path.join(stem, 'bin')