build/sccache.mk
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Wed, 28 Jan 2015 05:15:16 -0800
changeset 239644 d92763e06268cb6c41432c7db1d7cef2c7b4f970
parent 181905 41708cef5ec182544769d9d18776958aa79d27cd
child 438764 1013c44aa521ecaf8664e1b1aed5f89aa5fbd050
permissions -rw-r--r--
Bumping gaia.json for 1 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/709bc0faabfe Author: Simarpreet Singh <simar@linux.com> Desc: Bug 1125098 - Removing references to xml_output. r=dhunt

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

ifdef OBJDIR
BASE_DIR = $(OBJDIR)
else
# OSX Universal builds only do upload in the first MOZ_BUILD_PROJECTS
BASE_DIR = $(MOZ_OBJDIR)/$(firstword $(MOZ_BUILD_PROJECTS))
endif

preflight_all:
	# Terminate any sccache server that might still be around
	-python2.7 $(TOPSRCDIR)/sccache/sccache.py > /dev/null 2>&1

postflight_all:
	# Terminate sccache server. This prints sccache stats.
	-python2.7 $(TOPSRCDIR)/sccache/sccache.py 2>&1 | gzip > $(BASE_DIR)/dist/sccache.log.gz