#
# 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/.

TESTPATH        = $(topsrcdir)/mobile/android/base/tests/roboextender

include $(DEPTH)/config/autoconf.mk

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

TEST_FILES = \
  bootstrap.js \
  install.rdf \
  chrome.manifest \
  $(NULL)
TEST_DEST = $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/
INSTALL_TARGETS += TEST

include $(topsrcdir)/config/rules.mk

libs:: $(_TEST_FILES)
	$(MKDIR) -p $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/base
	-cp $(TESTPATH)/* $(TEST_EXTENSIONS_DIR)/roboextender@mozilla.org/base
