2012-11-05 12:49:58 -08:00
|
|
|
# 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 := \
|
2012-11-05 13:45:35 -08:00
|
|
|
collector.jsm \
|
2012-11-05 12:50:11 -08:00
|
|
|
dataprovider.jsm \
|
2013-01-06 12:13:19 -08:00
|
|
|
storage.jsm \
|
2012-11-05 12:49:58 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
testing_modules := \
|
2012-11-05 12:50:11 -08:00
|
|
|
mocks.jsm \
|
2012-11-05 12:49:58 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2013-01-06 12:13:19 -08:00
|
|
|
# We install Metrics.jsm into the "main" JSM repository and the rest in
|
|
|
|
# services. External consumers should only go through Metrics.jsm.
|
2013-01-27 11:26:48 -08:00
|
|
|
MAIN_JS_MODULE := Metrics.jsm
|
|
|
|
MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules
|
|
|
|
PP_TARGETS += MAIN_JS_MODULE
|
2013-01-06 12:13:19 -08:00
|
|
|
|
2012-11-05 12:49:58 -08:00
|
|
|
TEST_DIRS += tests
|
|
|
|
|
2013-01-27 11:26:48 -08:00
|
|
|
JS_MODULES := $(modules)
|
|
|
|
JS_MODULES_PATH = $(FINAL_TARGET)/modules/services/metrics
|
|
|
|
PP_TARGETS += JS_MODULES
|
2012-11-05 12:49:58 -08:00
|
|
|
|
|
|
|
TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules))
|
|
|
|
TESTING_JS_MODULE_DIR := services/metrics
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|