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

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

_BROWSER_TEST_FILES = \
  browser_styleinspector.js \
  browser_bug683672.js \
  browser_styleinspector_bug_672746_default_styles.js \
  browser_styleinspector_bug_672744_search_filter.js \
  browser_bug589375_keybindings.js \
  browser_styleinspector_bug_689759_no_results_placeholder.js \
  browser_bug_692400_element_style.js \
  browser_csslogic_inherited.js \
  browser_ruleview_editor.js \
  browser_ruleview_editor_changedvalues.js \
  browser_ruleview_inherit.js \
  browser_ruleview_manipulation.js \
  browser_ruleview_override.js \
  browser_ruleview_ui.js \
  browser_ruleview_update.js \
  browser_ruleview_focus.js \
  browser_bug705707_is_content_stylesheet.js \
  browser_bug722196_property_view_media_queries.js \
  browser_bug722196_rule_view_media_queries.js \
  browser_bug_592743_specificity.js \
  browser_ruleview_bug_703643_context_menu_copy.js \
  browser_computedview_bug_703643_context_menu_copy.js \
  browser_ruleview_734259_style_editor_link.js \
  browser_computedview_734259_style_editor_link.js \
  head.js \
  $(NULL)

_BROWSER_TEST_PAGES = \
  browser_bug683672.html \
  browser_bug705707_is_content_stylesheet.html \
  browser_bug705707_is_content_stylesheet_imported.css \
  browser_bug705707_is_content_stylesheet_imported2.css \
  browser_bug705707_is_content_stylesheet_linked.css \
  browser_bug705707_is_content_stylesheet_script.css \
  browser_bug705707_is_content_stylesheet.xul \
  browser_bug705707_is_content_stylesheet_xul.css \
  browser_bug722196_identify_media_queries.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)
