forked from mirrors/gecko-dev
bug 452426 - application.ini should supply mercurial changeset. r=bsmedberg
This commit is contained in:
parent
ebe82ebcef
commit
c7194c9da5
2 changed files with 16 additions and 0 deletions
|
|
@ -72,6 +72,16 @@ GRE_BUILDID = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBX
|
|||
|
||||
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
|
||||
|
||||
SOURCE_STAMP := $(shell hg identify -i $(topsrcdir) 2>/dev/null)
|
||||
ifdef SOURCE_STAMP
|
||||
DEFINES += -DMOZ_SOURCE_STAMP="$(SOURCE_STAMP)"
|
||||
endif
|
||||
|
||||
SOURCE_REPO := $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed s/^ssh:/http:/)
|
||||
ifdef SOURCE_REPO
|
||||
DEFINES += -DMOZ_SOURCE_REPO="$(SOURCE_REPO)"
|
||||
endif
|
||||
|
||||
LIBS += $(JEMALLOC_LIBS)
|
||||
|
||||
ifdef LIBXUL_SDK
|
||||
|
|
|
|||
|
|
@ -41,6 +41,12 @@ Vendor=Mozilla
|
|||
Name=Firefox
|
||||
Version=@APP_VERSION@
|
||||
BuildID=@GRE_BUILDID@
|
||||
#ifdef MOZ_SOURCE_REPO
|
||||
SourceRepository=@MOZ_SOURCE_REPO@
|
||||
#endif
|
||||
#ifdef MOZ_SOURCE_STAMP
|
||||
SourceStamp=@MOZ_SOURCE_STAMP@
|
||||
#endif
|
||||
Copyright=Copyright (c) 1998 - 2008 mozilla.org
|
||||
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue