services/healthreport/Makefile.in
author John Schoenick <jschoenick@mozilla.com>
Tue, 26 Mar 2013 17:14:27 -0700
changeset 129502 43d1b14e89206692b51a1d3efb853b13e5b425d7
parent 126219 907c765ec68f47f540a0c3eec0d7701bd1a6eac5
child 131068 23bb737193ed8d934dd77a1dcc23752f13b67e13
permissions -rw-r--r--
Bug 854082 - Test. r=bsmedberg

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

DEPTH     = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@

include $(DEPTH)/config/autoconf.mk

modules := \
  healthreporter.jsm \
  profile.jsm \
  providers.jsm \
  $(NULL)

testing_modules := \
  utils.jsm \
  $(NULL)

healthreport_depends = \
  HealthReport.jsm \
  ../common/async.js \
  ../common/bagheeraclient.js \
  ../metrics/Metrics.jsm \
  ../metrics/providermanager.jsm \
  ../metrics/dataprovider.jsm \
  ../metrics/storage.jsm \
  healthreporter.jsm \
  profile.jsm \
  providers.jsm \
  $(NULL)


ifneq (,$(findstring a,$(GRE_MILESTONE)))
extra_pp_flags := -DPRERELEASE_BUILD
endif

MAIN_JS_MODULE := HealthReport.jsm
MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules
MAIN_JS_MODULE_FLAGS := $(extra_pp_flags)
PP_TARGETS += MAIN_JS_MODULE

MODULES := $(modules)
MODULES_PATH = $(FINAL_TARGET)/modules/services/healthreport
MODULES_FLAGS := $(extra_pp_flags)
PP_TARGETS += MODULES

TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules))
TESTING_JS_MODULE_DIR := services/healthreport

EXTRA_COMPONENTS := \
  HealthReportComponents.manifest \
  $(NULL)

include $(topsrcdir)/config/rules.mk

# Add extra prerequisites until bug 837792 is addressed.
$(FINAL_TARGET)/modules/HealthReport.jsm: $(healthreport_depends)