зеркало из https://github.com/mozilla/gecko-dev.git
Backing out bug 484799 which breaks new Windows build machines, and was meant to be backed out in December..
This commit is contained in:
Родитель
62af31824f
Коммит
e922db9f7e
23
Makefile.in
23
Makefile.in
|
@ -144,6 +144,16 @@ distclean::
|
|||
cat unallmakefiles | $(XARGS) rm -f
|
||||
rm -f unallmakefiles $(DIST_GARBAGE)
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
rebase:
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
echo rebasing $(DIST)
|
||||
/bin/find $(DIST) -name "*.dll" -a -not -name "msvc*" > rebase.lst
|
||||
rebase -b 60000000 -R . -G rebase.lst
|
||||
rm rebase.lst
|
||||
endif
|
||||
endif # WINNT
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
# we want to copy PDB files on Windows
|
||||
MAKE_SYM_STORE_ARGS := -c
|
||||
|
@ -225,6 +235,19 @@ ifdef MOZ_CRASHREPORTER
|
|||
$(SHELL) $(topsrcdir)/toolkit/crashreporter/tools/upload_symbols.sh "$(DIST)/$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip"
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
signnss:
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
echo signing NSS libs
|
||||
cd $(DIST)/bin; ./shlibsign.exe -v -i softokn3.dll
|
||||
cd $(DIST)/bin; ./shlibsign.exe -v -i freebl3.dll
|
||||
cd $(DIST)/bin; ./shlibsign.exe -v -i nssdbm3.dll
|
||||
endif # MOZILLA_OFFICIAL
|
||||
|
||||
deliver: rebase signnss
|
||||
|
||||
endif # WINNT
|
||||
|
||||
ifneq (,$(wildcard $(DIST)/bin/application.ini))
|
||||
BUILDID = $(shell $(PYTHON) $(srcdir)/config/printconfigsetting.py $(DIST)/bin/application.ini App BuildID)
|
||||
else
|
||||
|
|
|
@ -67,10 +67,6 @@ INSTALLER_DIR = os2
|
|||
else
|
||||
ifneq (,$(filter WINNT WINCE,$(OS_ARCH)))
|
||||
INSTALLER_DIR = windows
|
||||
define REBASE
|
||||
@echo "Rebasing $1"
|
||||
/bin/find $1 -name "*.dll" -a -not -name "MSVC*" | sort | xargs rebase -b 60000000
|
||||
endef
|
||||
else
|
||||
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
INSTALLER_DIR = unix
|
||||
|
@ -359,7 +355,6 @@ ifdef MOZ_OPTIONAL_PKG_LIST
|
|||
$(foreach pkg,$(MOZ_OPTIONAL_PKG_LIST),$(PKG_ARG)) )
|
||||
endif
|
||||
$(PERL) $(MOZILLA_DIR)/xpinstall/packager/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DEPTH)/installer-stage/nonlocalized/components -v -x "$(XPIDL_LINK)"
|
||||
$(call REBASE, $(DEPTH)/installer-stage/nonlocalized)
|
||||
|
||||
stage-package: $(MOZ_PKG_MANIFEST) $(MOZ_PKG_REMOVALS_GEN)
|
||||
@rm -rf $(DIST)/$(MOZ_PKG_DIR) $(DIST)/$(PKG_PATH)$(PKG_BASENAME).tar $(DIST)/$(PKG_PATH)$(PKG_BASENAME).dmg $@ $(EXCLUDE_LIST)
|
||||
|
@ -430,7 +425,6 @@ ifdef UNIVERSAL_BINARY
|
|||
$(SIGN_NSS)
|
||||
endif # UNIVERSAL_BINARY
|
||||
endif # PKG_SKIP_STRIP
|
||||
$(call REBASE, $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR))
|
||||
@echo "Removing unpackaged files..."
|
||||
ifdef NO_PKG_FILES
|
||||
cd $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH); rm -rf $(NO_PKG_FILES)
|
||||
|
|
Загрузка…
Ссылка в новой задаче