# 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/scratchpad/test

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

_BROWSER_TEST_FILES = \
		browser_scratchpad_initialization.js \
		browser_scratchpad_contexts.js \
		browser_scratchpad_tab_switch.js \
		browser_scratchpad_execute_print.js \
		browser_scratchpad_inspect.js \
		browser_scratchpad_files.js \
		browser_scratchpad_ui.js \
		browser_scratchpad_bug_646070_chrome_context_pref.js \
		browser_scratchpad_bug_660560_tab.js \
		browser_scratchpad_open.js \
		browser_scratchpad_restore.js \
		browser_scratchpad_bug_679467_falsy.js \
		browser_scratchpad_bug_699130_edit_ui_updates.js \
		browser_scratchpad_bug_669612_unsaved.js \
		browser_scratchpad_bug_653427_confirm_close.js \
		browser_scratchpad_bug684546_reset_undo.js \
		browser_scratchpad_bug690552_display_outputs_errors.js \
		browser_scratchpad_bug650345_find_ui.js \
		browser_scratchpad_bug714942_goto_line_ui.js \
		browser_scratchpad_bug_650760_help_key.js \
		head.js \

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