#
# 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  = browser/devtools/shared/test

include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

_BROWSER_TEST_FILES = \
  browser_browser_basic.js \
  browser_promise_basic.js \
  browser_require_basic.js \
  browser_templater_basic.js \
  browser_toolbar_basic.js \
  browser_toolbar_tooltip.js \
  head.js \
  $(NULL)

_BROWSER_TEST_PAGES = \
  browser_templater_basic.html \
  browser_toolbar_basic.html \
  $(NULL)

libs:: $(_BROWSER_TEST_FILES)
	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)

libs:: $(_BROWSER_TEST_PAGES)
	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
