toolkit/content/Makefile.in
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Fri, 28 Aug 2015 16:45:55 -0700
changeset 292431 9b34c4e70ba7f42ac259121f2fa2a09ded484637
parent 289728 38f81480762d6c29047fa7d56cc9a3182152c48c
child 318688 e8d8faa2595513aca6258f0d9e224f86c6ecd01e
permissions -rw-r--r--
Bumping manifests a=b2g-bump

#
# 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/.

USE_RCS_MK := 1
include $(topsrcdir)/config/makefiles/makeutils.mk

DEFINES += \
  -DCXXFLAGS='$(CXXFLAGS)' \
  -DCPPFLAGS='$(CPPFLAGS)' \
  $(NULL)

MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template='{node}\n' 2>/dev/null)
ifdef MOZ_SOURCE_STAMP
DEFINES += -DSOURCE_CHANGESET='$(MOZ_SOURCE_STAMP)'
endif

ifdef MOZ_INCLUDE_SOURCE_INFO
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