зеркало из https://github.com/mozilla/pjs.git
bug 484799 - make {package,installer} should rebase on windows. r=bsmedberg
This commit is contained in:
Родитель
0fcd115c35
Коммит
cc41b803d4
23
Makefile.in
23
Makefile.in
|
@ -130,16 +130,6 @@ 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
|
||||
|
@ -206,19 +196,6 @@ 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,6 +67,10 @@ 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
|
||||
|
@ -351,6 +355,7 @@ 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)
|
||||
|
@ -421,6 +426,7 @@ 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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче