testing/mochitest/roboextender/Makefile.in
author Wes Johnston <wjohnston@mozilla.com>
Sat, 12 Oct 2013 16:00:51 -0700
changeset 150586 10e47ad3f982c6bc860febc51738d0dd9dd190ef
parent 145609 45097bc3a57898f22a4f3b74f8f8cf7511f5d0a4
child 158402 cfe7047da1a044da54c5d8ea4794beba2da91a13
permissions -rw-r--r--
Bug 777451 - Allow adding files into roboextender for tests. r=gbrown

#
# 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@
relativesrcdir  = testing/mochitest/roboextender
TESTPATH        = $(topsrcdir)/mobile/android/base/tests/roboextender

include $(DEPTH)/config/autoconf.mk

_TEST_FILES = \
  bootstrap.js \
  install.rdf \
  chrome.manifest \
  $(NULL)

TEST_EXTENSIONS_DIR = $(DEPTH)/_tests/testing/mochitest/extensions

include $(topsrcdir)/config/rules.mk

libs:: $(_TEST_FILES)
	$(MKDIR) -p $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org
	$(INSTALL) $(foreach f,$^,"$f") $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/
	$(MKDIR) -p $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/base
	$(MKDIR) -p $(TESTPATH)
	-cp $(TESTPATH)/* $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/base