mailnews/testsuite-targets.mk
author Joshua Cranmer <Pidgeot18@gmail.com>
Sun, 03 Mar 2013 16:46:26 -0600
changeset 14312 3044a67220c7cc9927cc1aed9096854495756472
parent 11711 84ac3c71109811da751f0ef2d72108075938f094
permissions -rw-r--r--
Followup to bug 846524 to fix --enable-extensions on comm-central, rs=Callek.

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

APP_NAME := $(MOZ_APP_DISPLAYNAME)

ifdef MOZ_DEBUG
APP_NAME := $(APP_NAME)Debug
endif

SYMBOLS_PATH := --symbols-path=$(DIST)/crashreporter-symbols

# BLOAT_EXTRA_ARG lets an application add an extra startup argument.
ifdef BLOAT_EXTRA_ARG
BLOAT_EXTRA_STARTUP_ARG := --extra-startup-arg=$(BLOAT_EXTRA_ARG)
endif

mailbloat:
	$(PYTHON) -u $(topsrcdir)/mozilla/config/pythonpath.py \
	  -I$(DIST)/../build -I$(MOZILLA_DIR)/build \
	  $(topsrcdir)/mailnews/test/performance/bloat/runtest.py \
	    --distdir=$(DIST) --bin=$(MOZ_APP_NAME) --brand=$(APP_NAME) \
	    $(SYMBOLS_PATH) $(BLOAT_EXTRA_STARTUP_ARG)