Followup to bug 928966, rs=bustage-fix
This commit is contained in:
Родитель
7de545b23c
Коммит
010884a130
|
@ -25,7 +25,7 @@ DIST = $(OBJDIR)/mozilla/dist
|
|||
postflight_all:
|
||||
mkdir -p $(DIST_UNI)/$(MOZ_PKG_APPNAME)
|
||||
rm -f $(DIST_ARCH_2)/universal
|
||||
ln -s $(call core_abspath,$(DIST_UNI)) $(DIST_ARCH_2)/universal
|
||||
ln -s $(abspath $(DIST_UNI)) $(DIST_ARCH_2)/universal
|
||||
# Stage a package for buildsymbols to be happy. Doing so in OBJDIR_ARCH_1
|
||||
# actually does a universal staging with both OBJDIR_ARCH_1 and OBJDIR_ARCH_2.
|
||||
$(MAKE) -C $(OBJDIR_ARCH_1)/$(MOZ_BUILD_APP)/installer \
|
||||
|
|
|
@ -26,7 +26,7 @@ else
|
|||
UNIVERSAL_PATH=
|
||||
endif
|
||||
|
||||
_ABS_DIST := $(call core_abspath,$(DIST))
|
||||
_ABS_DIST := $(abspath $(DIST))
|
||||
|
||||
# This variable is to allow the wget-en-US target to know which ftp server to download from
|
||||
ifndef EN_US_BINARY_URL
|
||||
|
@ -122,7 +122,7 @@ repackage-zip-%:
|
|||
repack-stage: repack-stage-all
|
||||
grep -v 'locale \w\+ en-US' $(L10N_TARGET)/chrome.manifest > $(L10N_TARGET)/chrome.manifest~ && \
|
||||
mv $(L10N_TARGET)/chrome.manifest~ $(L10N_TARGET)/chrome.manifest
|
||||
find $(call core_abspath,$(L10N_TARGET)) -name '*en-US*' -print0 | xargs -0 rm -rf
|
||||
find $(abspath $(L10N_TARGET)) -name '*en-US*' -print0 | xargs -0 rm -rf
|
||||
|
||||
repack-stage-all: $(XPI_STAGE_PATH)/$(XPI_NAME)
|
||||
@echo "Repackaging $(XPI_PKGNAME) locale for Language $(AB_CD)"
|
||||
|
|
|
@ -565,7 +565,7 @@ endif
|
|||
PWD := $(CURDIR)
|
||||
endif
|
||||
|
||||
NSINSTALL_PY := $(PYTHON) $(call core_abspath,$(MOZILLA_SRCDIR)/config/nsinstall.py)
|
||||
NSINSTALL_PY := $(PYTHON) $(abspath $(MOZILLA_SRCDIR)/config/nsinstall.py)
|
||||
# For Pymake, whereever we use nsinstall.py we're also going to try to make it
|
||||
# a native command where possible. Since native commands can't be used outside
|
||||
# of single-line commands, we continue to provide INSTALL for general use.
|
||||
|
@ -674,7 +674,7 @@ RUN_TEST_PROGRAM = $(DIST)/bin/run-mozilla.sh
|
|||
endif # ! WINNT
|
||||
endif # ! OS2
|
||||
|
||||
CREATE_PRECOMPLETE_CMD = $(PYTHON) $(call core_abspath,$(MOZILLA_SRCDIR)/config/createprecomplete.py)
|
||||
CREATE_PRECOMPLETE_CMD = $(PYTHON) $(abspath $(MOZILLA_SRCDIR)/config/createprecomplete.py)
|
||||
|
||||
# MDDEPDIR is the subdirectory where dependency files are stored
|
||||
MDDEPDIR := .deps
|
||||
|
|
|
@ -8,7 +8,7 @@ VIRTUALENV_BIN = $(MOZMILLDIR)/../mozmill-virtualenv/Scripts
|
|||
else
|
||||
VIRTUALENV_BIN = $(MOZMILLDIR)/../mozmill-virtualenv/bin
|
||||
endif
|
||||
MOZMILLPYTHON = $(call core_abspath,$(VIRTUALENV_BIN)/python$(BIN_SUFFIX))
|
||||
MOZMILLPYTHON = $(abspath $(VIRTUALENV_BIN)/python$(BIN_SUFFIX))
|
||||
|
||||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
# Mac options
|
||||
|
@ -31,19 +31,19 @@ mozmill:
|
|||
unset PYTHONHOME && cd $(MOZMILLDIR) && MACOSX_DEPLOYMENT_TARGET= \
|
||||
$(MOZMILLPYTHON) runtestlist.py --list=mozmilltests.list \
|
||||
--binary=$(PROGRAM) \
|
||||
--dir=$(call core_abspath,$(topsrcdir))/mail/test/mozmill \
|
||||
--symbols-path=$(call core_abspath,$(DIST)/crashreporter-symbols) \
|
||||
--plugins-path=$(call core_abspath,$(DIST)/plugins) \
|
||||
--dir=$(abspath $(topsrcdir))/mail/test/mozmill \
|
||||
--symbols-path=$(abspath $(DIST)/crashreporter-symbols) \
|
||||
--plugins-path=$(abspath $(DIST)/plugins) \
|
||||
$(MOZMILL_EXTRA)
|
||||
|
||||
mozmill-one: solo-test = $(find-solo-test)
|
||||
mozmill-one:
|
||||
unset PYTHONHOME && cd $(MOZMILLDIR) && MACOSX_DEPLOYMENT_TARGET= \
|
||||
$(MOZMILLPYTHON) runtest.py \
|
||||
--test=$(call core_abspath,$(topsrcdir))/mail/test/mozmill/$(solo-test) \
|
||||
--test=$(abspath $(topsrcdir))/mail/test/mozmill/$(solo-test) \
|
||||
--binary=$(PROGRAM) \
|
||||
--symbols-path=$(call core_abspath,$(DIST)/crashreporter-symbols) \
|
||||
--plugins-path=$(call core_abspath,$(DIST)/plugins) \
|
||||
--symbols-path=$(abspath $(DIST)/crashreporter-symbols) \
|
||||
--plugins-path=$(abspath $(DIST)/plugins) \
|
||||
$(MOZMILL_EXTRA)
|
||||
|
||||
# XXX The mozilla/testing/testsuite-targets.mk doesn't really allow for hooks
|
||||
|
@ -66,7 +66,7 @@ else
|
|||
$(MAKE) -C $(DEPTH)/mozilla/testing/mochitest stage-chromejar PKG_STAGE=$(DIST)/universal
|
||||
endif
|
||||
cd $(PKG_STAGE) && \
|
||||
zip -r9D "$(call core_abspath,$(DIST)/$(PKG_PATH)$(TEST_PACKAGE))" \
|
||||
zip -r9D "$(abspath $(DIST)/$(PKG_PATH)$(TEST_PACKAGE))" \
|
||||
* -x \*/.mkdir.done
|
||||
|
||||
make-stage-dir:
|
||||
|
|
Загрузка…
Ссылка в новой задаче