mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 87f53a100db0 (bug 1043390) for xpshell bustage on ASAN on a CLOSED TREE
This commit is contained in:
parent
4625d2bc21
commit
ba6a522e0c
@ -24,6 +24,11 @@ include $(topsrcdir)/config/rules.mk
|
||||
|
||||
APP_ICON = b2g
|
||||
|
||||
source_repo ?= $(call getSourceRepo,$(srcdir)/..)
|
||||
ifneq (,$(filter http%,$(source_repo)))
|
||||
DEFINES += -DMOZ_SOURCE_REPO='$(source_repo)'
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
REDIT_PATH = $(LIBXUL_DIST)/bin
|
||||
endif
|
||||
|
@ -33,12 +33,10 @@ ifdef MOZ_SOURCE_STAMP
|
||||
DEFINES += -DMOZ_SOURCE_STAMP='$(MOZ_SOURCE_STAMP)'
|
||||
endif
|
||||
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
source_repo ?= $(call getSourceRepo,$(topsrcdir)/$(MOZ_BUILD_APP)/..)
|
||||
ifneq (,$(source_repo))
|
||||
DEFINES += -DMOZ_SOURCE_REPO='$(source_repo)'
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
@ -8,12 +8,10 @@ include $(topsrcdir)/config/makefiles/rcs.mk
|
||||
|
||||
DEFINES += -DMOZ_APP_VERSION='"$(MOZ_APP_VERSION)"'
|
||||
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
MOZ_HISTOGRAMS_VERSION ?= $(call getSourceRepo)/rev/$(firstword $(shell hg -R $(topsrcdir) parent --template='{node|short}\n' 2>/dev/null))
|
||||
ifdef MOZ_HISTOGRAMS_VERSION
|
||||
DEFINES += -DHISTOGRAMS_FILE_VERSION='$(MOZ_HISTOGRAMS_VERSION)'
|
||||
endif
|
||||
endif
|
||||
|
||||
INSTALL_TARGETS += histoenums
|
||||
histoenums_FILES := TelemetryHistogramEnums.h
|
||||
|
@ -16,14 +16,12 @@ ifdef MOZ_SOURCE_STAMP
|
||||
DEFINES += -DSOURCE_CHANGESET='$(MOZ_SOURCE_STAMP)'
|
||||
endif
|
||||
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
source_repo ?= $(call getSourceRepo)
|
||||
ifneq (,$(filter http%,$(source_repo)))
|
||||
DEFINES += -DSOURCE_REPO='$(source_repo)'
|
||||
else ifneq (,$(strip $(source_repo)))
|
||||
DEFINES += -DSOURCE_GIT_COMMIT='$(source_repo)'
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef BUILD_HOSTNAME
|
||||
BUILD_HOSTNAME = $(shell hostname -s || hostname)
|
||||
|
@ -145,9 +145,7 @@ MOZ_SOURCE_STAMP = $(firstword $(shell hg -R $(MOZILLA_DIR) parent --template="{
|
||||
# bug: 746277 - preserve existing functionality.
|
||||
# MOZILLA_DIR="": cd $(SPACE); hg # succeeds if ~/.hg exists
|
||||
###########################################################################
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
MOZ_SOURCE_REPO = $(call getSourceRepo,$(MOZILLA_DIR)$(NULL) $(NULL))
|
||||
endif
|
||||
|
||||
MOZ_SOURCESTAMP_FILE = $(DIST)/$(PKG_PATH)/$(MOZ_INFO_BASENAME).txt
|
||||
MOZ_BUILDINFO_FILE = $(DIST)/$(PKG_PATH)/$(MOZ_INFO_BASENAME).json
|
||||
|
@ -217,7 +217,7 @@ RPM_CMD = \
|
||||
--define 'moz_numeric_app_version $(MOZ_NUMERIC_APP_VERSION)' \
|
||||
--define 'moz_rpm_release $(MOZ_RPM_RELEASE)' \
|
||||
--define 'buildid $(BUILDID)' \
|
||||
$(if $(MOZ_SOURCE_REPO),--define 'moz_source_repo $(MOZ_SOURCE_REPO)') \
|
||||
--define 'moz_source_repo $(MOZ_SOURCE_REPO)' \
|
||||
--define 'moz_source_stamp $(MOZ_SOURCE_STAMP)' \
|
||||
--define 'moz_branding_directory $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)' \
|
||||
--define '_topdir $(RPMBUILD_TOPDIR)' \
|
||||
@ -757,16 +757,14 @@ GARBAGE += make-package
|
||||
make-sourcestamp-file::
|
||||
$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
|
||||
@echo '$(BUILDID)' > $(MOZ_SOURCESTAMP_FILE)
|
||||
ifdef MOZ_SOURCE_REPO
|
||||
@echo '$(MOZ_SOURCE_REPO)/rev/$(MOZ_SOURCE_STAMP)' >> $(MOZ_SOURCESTAMP_FILE)
|
||||
endif
|
||||
|
||||
.PHONY: make-buildinfo-file
|
||||
make-buildinfo-file:
|
||||
$(PYTHON) $(MOZILLA_DIR)/toolkit/mozapps/installer/informulate.py \
|
||||
$(MOZ_BUILDINFO_FILE) \
|
||||
BUILDID=$(BUILDID) \
|
||||
$(addprefix MOZ_SOURCE_REPO=,MOZ_SOURCE_REPO=$(MOZ_SOURCE_REPO)) \
|
||||
MOZ_SOURCE_REPO=$(MOZ_SOURCE_REPO) \
|
||||
MOZ_SOURCE_STAMP=$(MOZ_SOURCE_STAMP) \
|
||||
MOZ_PKG_PLATFORM=$(MOZ_PKG_PLATFORM)
|
||||
|
||||
|
@ -24,13 +24,11 @@ ifdef MOZ_SOURCE_STAMP
|
||||
|
||||
INIARGS = --sourcestamp=$(MOZ_SOURCE_STAMP)
|
||||
|
||||
ifdef MOZILLA_OFFICIAL
|
||||
source_repo := $(call getSourceRepo)
|
||||
source_repo := $(call getSourceRepo)
|
||||
|
||||
# extra sanity check for old versions of hg, no showconfig support
|
||||
ifneq (,$(filter http%,$(source_repo)))
|
||||
INIARGS += --sourcerepo=$(source_repo)
|
||||
endif
|
||||
# extra sanity check for old versions of hg, no showconfig support
|
||||
ifneq (,$(filter http%,$(source_repo)))
|
||||
INIARGS += --sourcerepo=$(source_repo)
|
||||
endif
|
||||
|
||||
endif # MOZ_SOURCE_STAMP
|
||||
|
Loading…
Reference in New Issue
Block a user