Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 # -*- Mode: makefile -*-
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 LIBS = ../$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLIB_LIBS)
9 ifdef MOZ_SHARED_ICU
10 EXTRA_LIBS += $(MOZ_ICU_LIBS)
11 endif
13 EXTRA_LIBS += $(MOZ_FFI_LIBS)
15 ifdef QEMU_EXE
16 MOZ_POST_PROGRAM_COMMAND = $(topsrcdir)/build/qemu-wrap --qemu $(QEMU_EXE) --libdir $(CROSS_LIB)
17 endif
19 # Place a GDB Python auto-load file next to the jsapi-tests executable in
20 # the build directory.
21 PP_TARGETS += JSAPI_TESTS_AUTOLOAD
22 JSAPI_TESTS_AUTOLOAD := jsapi-tests-gdb.py.in
23 JSAPI_TESTS_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..)
25 include $(topsrcdir)/config/rules.mk
27 check::
28 $(wildcard $(RUN_TEST_PROGRAM)) $(DIST)/bin/jsapi-tests$(BIN_SUFFIX)