mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out f543e83304e9 (bug 1123990) for nightly build bustage
CLOSED TREE
This commit is contained in:
parent
ffc47c63cd
commit
54bec5f223
@ -81,10 +81,6 @@ automation/upload: automation/update-packaging
|
||||
# binaries/libs, and that's what we package/test.
|
||||
automation/pretty-package: automation/buildsymbols
|
||||
|
||||
# The installer and packager both run stage-package, and may conflict
|
||||
# with each other.
|
||||
automation/installer: automation/package
|
||||
|
||||
# The 'pretty' versions of targets run before the regular ones to avoid
|
||||
# conflicts in writing to the same files.
|
||||
automation/installer: automation/pretty-installer
|
||||
|
@ -6,9 +6,8 @@ include $(MOZILLA_DIR)/toolkit/mozapps/installer/signing.mk
|
||||
|
||||
ifdef MOZ_SIGN_CMD
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
# The argument to this macro is the directory where plugin-container.exe
|
||||
# exists, and where voucher.bin will be generated.
|
||||
MAKE_SIGN_EME_VOUCHER = $(PYTHON) $(MOZILLA_DIR)/python/eme/gen-eme-voucher.py -input $(1)/plugin-container.exe -output $(1)/voucher.bin && \
|
||||
$(MOZ_SIGN_CMD) -f emevoucher "$(1)/voucher.bin"
|
||||
# Note: CWD is DIST
|
||||
MAKE_SIGN_EME_VOUCHER := $(PYTHON) $(MOZILLA_DIR)/python/eme/gen-eme-voucher.py -input $(STAGEPATH)$(MOZ_PKG_DIR)/plugin-container.exe -output $(STAGEPATH)$(MOZ_PKG_DIR)/voucher.bin && \
|
||||
$(MOZ_SIGN_CMD) -f emevoucher "$(STAGEPATH)$(MOZ_PKG_DIR)/voucher.bin"
|
||||
endif
|
||||
endif
|
||||
|
@ -22,12 +22,11 @@ endif
|
||||
@echo 'Staging installer files...'
|
||||
@$(NSINSTALL) -D $(DEPTH)/installer-stage/core
|
||||
@cp -av $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH)/. $(DEPTH)/installer-stage/core
|
||||
@(cd $(DEPTH)/installer-stage/core && $(CREATE_PRECOMPLETE_CMD))
|
||||
ifdef MOZ_SIGN_PREPARED_PACKAGE_CMD
|
||||
# The && true is necessary to make sure Pymake spins a shell
|
||||
$(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(DEPTH)/installer-stage && true
|
||||
endif
|
||||
$(call MAKE_SIGN_EME_VOUCHER,$(DEPTH)/installer-stage/core)
|
||||
@(cd $(DEPTH)/installer-stage/core && $(CREATE_PRECOMPLETE_CMD))
|
||||
|
||||
# Override the value of OMNIJAR_NAME from config.status with the value
|
||||
# set earlier in this file.
|
||||
|
@ -27,6 +27,7 @@ from mozpack.unify import UnifiedBuildFinder
|
||||
import mozpack.path
|
||||
import buildconfig
|
||||
from argparse import ArgumentParser
|
||||
from createprecomplete import generate_precomplete
|
||||
import os
|
||||
from StringIO import StringIO
|
||||
import subprocess
|
||||
@ -393,6 +394,8 @@ def main():
|
||||
args.source, gre_path, base)
|
||||
|
||||
copier.copy(args.destination)
|
||||
generate_precomplete(os.path.normpath(os.path.join(args.destination,
|
||||
respath)))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -524,17 +524,15 @@ ifdef MOZ_SIGN_PREPARED_PACKAGE_CMD
|
||||
ifeq (Darwin, $(OS_ARCH))
|
||||
MAKE_PACKAGE = cd ./$(PKG_DMG_SOURCE) && $(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(MOZ_MACBUNDLE_NAME) \
|
||||
&& cd $(PACKAGE_BASE_DIR) \
|
||||
&& (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH) && $(CREATE_PRECOMPLETE_CMD)) \
|
||||
&& $(INNER_MAKE_PACKAGE)
|
||||
else
|
||||
MAKE_PACKAGE = $(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(MOZ_PKG_DIR) \
|
||||
&& $(or $(call MAKE_SIGN_EME_VOUCHER,$(STAGEPATH)$(MOZ_PKG_DIR)),true) \
|
||||
&& (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH) && $(CREATE_PRECOMPLETE_CMD)) \
|
||||
&& $(or $(MAKE_SIGN_EME_VOUCHER),true) \
|
||||
&& $(INNER_MAKE_PACKAGE)
|
||||
endif #Darwin
|
||||
|
||||
else
|
||||
MAKE_PACKAGE = (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH) && $(CREATE_PRECOMPLETE_CMD)) && $(INNER_MAKE_PACKAGE)
|
||||
MAKE_PACKAGE = $(INNER_MAKE_PACKAGE)
|
||||
endif
|
||||
|
||||
ifdef MOZ_SIGN_PACKAGE_CMD
|
||||
|
Loading…
Reference in New Issue
Block a user