Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
[gecko.git] / build / sccache.mk
blobc57befe3d891dc07c403a388d2fb7f2d3081ad60
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 ifdef OBJDIR
6 BASE_DIR = $(OBJDIR)
7 else
8 # OSX Universal builds only do upload in the first MOZ_BUILD_PROJECTS
9 BASE_DIR = $(MOZ_OBJDIR)/$(firstword $(MOZ_BUILD_PROJECTS))
10 endif
12 preflight_all:
13 # Terminate any sccache server that might still be around
14 -python2.7 $(TOPSRCDIR)/sccache/sccache.py > /dev/null 2>&1
16 postflight_all:
17 # Terminate sccache server. This prints sccache stats.
18 -python2.7 $(TOPSRCDIR)/sccache/sccache.py 2>&1 | gzip > $(BASE_DIR)/dist/sccache.log.gz