gecko-dev/toolkit/components/perf/Makefile.in

44 строки
869 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 = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = jsperf
MODULE_NAME = jsperf
GRE_MODULE = 1
EXTRA_JS_MODULES = \
PerfMeasurement.jsm \
$(NULL)
LIBRARY_NAME = jsperf
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
CPPSRCS = \
PerfMeasurement.cpp \
$(NULL)
ifdef ENABLE_TESTS
_CHROME_TEST_FILES = \
test_pm.xul \
$(NULL)
chrometestdir = \
$(DEPTH)/_tests/testing/mochitest/chrome/toolkit/components/$(MODULE)
endif
include $(topsrcdir)/config/rules.mk
ifdef ENABLE_TESTS
libs:: $(_CHROME_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(chrometestdir)
endif