mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
95d334535a
We concatenate JSMs together so we use less compartments and therefore less memory. This is intended to be a temporary hack until the overhead of compartments is less.
38 lines
976 B
Makefile
38 lines
976 B
Makefile
# 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 := \
|
|
collector.jsm \
|
|
dataprovider.jsm \
|
|
storage.jsm \
|
|
$(NULL)
|
|
|
|
testing_modules := \
|
|
mocks.jsm \
|
|
$(NULL)
|
|
|
|
# We install Metrics.jsm into the "main" JSM repository and the rest in
|
|
# services. External consumers should only go through Metrics.jsm.
|
|
MAIN_JS_MODULE := Metrics.jsm
|
|
MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules
|
|
PP_TARGETS += MAIN_JS_MODULE
|
|
|
|
TEST_DIRS += tests
|
|
|
|
JS_MODULES := $(modules)
|
|
JS_MODULES_PATH = $(FINAL_TARGET)/modules/services/metrics
|
|
PP_TARGETS += JS_MODULES
|
|
|
|
TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules))
|
|
TESTING_JS_MODULE_DIR := services/metrics
|
|
|
|
include $(topsrcdir)/config/rules.mk
|