mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 652376: Migrate XPInstall Packager to the installer directory. r=robstrong, r=khuey.
--HG-- rename : xpinstall/packager/Packager.pm => toolkit/mozapps/installer/Packager.pm rename : xpinstall/packager/pkgcp.pl => toolkit/mozapps/installer/pkgcp.pl rename : xpinstall/packager/xptlink.pl => toolkit/mozapps/installer/xptlink.pl
This commit is contained in:
parent
0eaaa1e2e0
commit
99dc71468f
@ -631,7 +631,7 @@ PKG_ARG = , "$(pkg)"
|
||||
|
||||
# Define packager macro to work around make 3.81 backslash issue (bug #339933)
|
||||
define PACKAGER_COPY
|
||||
$(PERL) -I$(MOZILLA_DIR)/xpinstall/packager -e 'use Packager; \
|
||||
$(PERL) -I$(MOZILLA_DIR)/toolkit/mozapps/installer -e 'use Packager; \
|
||||
Packager::Copy($1,$2,$3,$4,$5,$6,$7);'
|
||||
endef
|
||||
|
||||
@ -685,7 +685,7 @@ ifdef MOZ_PKG_MANIFEST
|
||||
$(call PACKAGER_COPY, "$(call core_abspath,$(DIST))",\
|
||||
"$(call core_abspath,$(DIST)/$(MOZ_PKG_DIR))", \
|
||||
"$(MOZ_PKG_MANIFEST)", "$(PKGCP_OS)", 1, 0, 1)
|
||||
$(PERL) $(MOZILLA_DIR)/xpinstall/packager/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
|
||||
$(PERL) $(MOZILLA_DIR)/toolkit/mozapps/installer/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
|
||||
$(PYTHON) $(MOZILLA_DIR)/toolkit/mozapps/installer/link-manifests.py \
|
||||
$(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components/components.manifest \
|
||||
$(patsubst %,$(DIST)/manifests/%/components,$(MOZ_NONLOCALIZED_PKG_LIST))
|
||||
|
@ -95,7 +95,7 @@ if (! $return)
|
||||
}
|
||||
|
||||
# ensure that Packager.pm is in @INC, since we might not be called from
|
||||
# mozilla/xpinstall/packager.
|
||||
# mozilla/toolkit/mozapps/installer.
|
||||
$top_path = $0;
|
||||
if ( $os eq "dos" ) {
|
||||
$top_path =~ s/\\/\//g;
|
Loading…
x
Reference in New Issue
Block a user