mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166538 - Use zip py_action in a few places. r=gps
This commit is contained in:
parent
c4ea68a92f
commit
5565137dc9
@ -1305,7 +1305,7 @@ ifndef MOZ_DEBUG
|
||||
endif
|
||||
endif
|
||||
@echo 'Packaging $(XPI_PKGNAME).xpi...'
|
||||
cd $(FINAL_TARGET) && $(ZIP) -qr ../$(XPI_PKGNAME).xpi *
|
||||
$(call py_action,zip,-C $(FINAL_TARGET) ../$(XPI_PKGNAME).xpi '*')
|
||||
endif
|
||||
|
||||
# See comment above about moving this out of the tools tier.
|
||||
|
@ -36,8 +36,7 @@ package: local.properties project.properties AndroidManifest.xml FORCE
|
||||
$(MKDIR) -p $(_ABS_DIST)/geckoview_library
|
||||
|
||||
# Zip the assets into $(DIST)/geckoview_library/geckoview_assets.zip
|
||||
cd $(_ABS_DIST)/$(MOZ_APP_NAME) && \
|
||||
$(ZIP) -q -r $(_ABS_DIST)/geckoview_library/geckoview_assets.zip assets
|
||||
$(call py_action,zip,-C $(_ABS_DIST)/$(MOZ_APP_NAME) $(_ABS_DIST)/geckoview_library/geckoview_assets.zip assets)
|
||||
|
||||
# Make empty directories to fit an Android project structure
|
||||
$(MKDIR) -p bin gen libs/$(ANDROID_CPU_ARCH) src
|
||||
|
@ -170,8 +170,7 @@ langpack-%: libs-%
|
||||
$(NSINSTALL) -D $(DIST)/$(PKG_LANGPACK_PATH)
|
||||
$(call py_action,preprocessor,$(DEFINES) $(ACDEFINES) \
|
||||
-I$(TK_DEFINES) -I$(APP_DEFINES) $(srcdir)/generic/install.rdf -o $(DIST)/xpi-stage/$(XPI_NAME)/install.rdf)
|
||||
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
|
||||
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf $(PKG_ZIP_DIRS) chrome.manifest
|
||||
$(call py_action,zip,-C $(DIST)/xpi-stage/locale-$(AB_CD) $(LANGPACK_FILE) install.rdf $(PKG_ZIP_DIRS) chrome.manifest)
|
||||
|
||||
# This variable is to allow the wget-en-US target to know which ftp server to download from
|
||||
ifndef EN_US_BINARY_URL
|
||||
|
@ -158,7 +158,7 @@ PKG_SUFFIX = .zip
|
||||
INNER_MAKE_PACKAGE = $(ZIP) -r9D $(PACKAGE) $(MOZ_PKG_DIR) \
|
||||
-x \*/.mkdir.done
|
||||
INNER_UNMAKE_PACKAGE = $(UNZIP) $(UNPACKAGE)
|
||||
MAKE_SDK = $(ZIP) -r9D $(SDK) $(MOZ_APP_NAME)-sdk
|
||||
MAKE_SDK = $(call py_action,zip,$(SDK) $(MOZ_APP_NAME)-sdk)
|
||||
endif
|
||||
ifeq ($(MOZ_PKG_FORMAT),SFX7Z)
|
||||
PKG_SUFFIX = .exe
|
||||
|
Loading…
Reference in New Issue
Block a user