Bug 725199 - include build machine name in about:buildconfig r=ted

This commit is contained in:
John Ford 2012-02-08 19:16:47 -10:00
parent 7e335a3e1c
commit 221da5fe43
2 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,9 @@ ifeq (http,$(patsubst http%,http,$(SOURCE_REPO)))
DEFINES += -DSOURCE_REPO="$(SOURCE_REPO)"
endif
BUILD_HOSTNAME = $(shell hostname -s || hostname)
DEFINES += -DBUILD_HOSTNAME="$(BUILD_HOSTNAME)"
ifdef MOZ_TOOLKIT_SEARCH
DEFINES += -DMOZ_TOOLKIT_SEARCH
endif

View File

@ -57,6 +57,10 @@
</head>
<body class="aboutPageWideContainer">
<h1>about:buildconfig</h1>
#ifdef BUILD_HOSTNAME
<h2>Build Machine</h2>
<p>@BUILD_HOSTNAME@</p>
#endif
#ifdef SOURCE_REPO
#ifdef SOURCE_CHANGESET
<h2>Source</h2>