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

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)


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

include $(topsrcdir)/config/rules.mk

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