michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: testing_modules := \ michael@0: mocks.jsm \ michael@0: $(NULL) michael@0: michael@0: # We install Metrics.jsm into the "main" JSM repository and the rest in michael@0: # services. External consumers should only go through Metrics.jsm. michael@0: MAIN_JS_MODULE := Metrics.jsm michael@0: MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules michael@0: PP_TARGETS += MAIN_JS_MODULE michael@0: michael@0: TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules)) michael@0: TESTING_JS_MODULE_DIR := services/metrics michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: # Add extra prerequisites until bug 837792 is addressed. michael@0: $(FINAL_TARGET)/modules/Metrics.jsm: Metrics.jsm providermanager.jsm dataprovider.jsm storage.jsm