mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
6e6c1c8aae
MozReview-Commit-ID: 5HSa3nFVTeF --HG-- rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest.jsm extra : rebase_source : 924a3e937b47cac03674acdb56334882a2373f50
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
# vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent:
|
|
# 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/.
|
|
|
|
_DEST_DIR = $(DEPTH)/_tests/reftest
|
|
|
|
_HARNESS_FILES = \
|
|
$(srcdir)/b2g_start_script.js \
|
|
$(srcdir)/runreftest.py \
|
|
$(srcdir)/reftestcommandline.py \
|
|
$(srcdir)/reftest-preferences.js \
|
|
$(srcdir)/remotereftest.py \
|
|
$(srcdir)/runreftestb2g.py \
|
|
$(srcdir)/runreftestmulet.py \
|
|
$(srcdir)/gaia_lock_screen.js \
|
|
$(srcdir)/output.py \
|
|
automation.py \
|
|
$(topsrcdir)/build/mobile/b2gautomation.py \
|
|
$(topsrcdir)/build/mobile/remoteautomation.py \
|
|
$(topsrcdir)/testing/mochitest/server.js \
|
|
$(topsrcdir)/build/pgo/server-locations.txt \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# We're installing to _tests/reftest
|
|
TARGET_DEPTH = ../..
|
|
include $(topsrcdir)/build/automation-build.mk
|
|
|
|
$(_DEST_DIR):
|
|
$(NSINSTALL) -D $@
|
|
|
|
$(_HARNESS_FILES): $(_DEST_DIR)
|
|
|
|
# copy harness and the reftest extension bits to $(_DEST_DIR)
|
|
# This needs to happen after jar.mn handling from rules.mk included above.
|
|
# The order of the :: rules ensures that.
|
|
libs:: $(_HARNESS_FILES) $(addprefix $(_DEST_DIR)/,$(_HARNESS_PP_FILES))
|
|
$(INSTALL) $(_HARNESS_FILES) $(_DEST_DIR)
|
|
(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - reftest) | (cd $(_DEST_DIR) && tar -xf -)
|