summaryrefslogtreecommitdiffstats
path: root/layout/style/test/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/style/test/moz.build
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/style/test/moz.build')
-rw-r--r--layout/style/test/moz.build126
1 files changed, 126 insertions, 0 deletions
diff --git a/layout/style/test/moz.build b/layout/style/test/moz.build
new file mode 100644
index 000000000..ca61f607a
--- /dev/null
+++ b/layout/style/test/moz.build
@@ -0,0 +1,126 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+# ** Note: The comment below along with the CPP_UNIT_TESTS and LIBS variables
+# ** were commented out in the original Makefile.in, and should be restored
+# ** some day, perhaps as a gtest.
+#
+# ParseCSS.cpp used to be built as a test program, but it was not
+# being used for anything, and recent changes to the CSS loader have
+# made it fail to link. Further changes are planned which should make
+# it buildable again.
+#
+# TestCSSPropertyLookup.cpp needs the internal XPCOM APIs and so cannot
+# be built with libxul enabled.
+#
+#CPP_UNIT_TESTS = TestCSSPropertyLookup.cpp
+#LIBS += ../nsCSSKeywords.$(OBJ_SUFFIX) ../nsCSSProps.$(OBJ_SUFFIX) $(XPCOM_LIBS)
+
+HAS_MISC_RULE = True
+
+HostSimplePrograms([
+ 'host_ListCSSProperties',
+])
+
+MOCHITEST_MANIFESTS += [
+ 'mochitest.ini',
+]
+XPCSHELL_TESTS_MANIFESTS += ['xpcshell.ini']
+BROWSER_CHROME_MANIFESTS += ['browser.ini']
+MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']
+
+TEST_HARNESS_FILES.testing.mochitest.tests.layout.style.test.chrome += [
+ 'chrome/moz_document_helper.html',
+]
+
+TEST_HARNESS_FILES.testing.mochitest.tests.layout.style.test['css-visited'] += [
+ '/layout/reftests/css-visited/border-1-ref.html',
+ '/layout/reftests/css-visited/border-1.html',
+ '/layout/reftests/css-visited/border-2-ref.html',
+ '/layout/reftests/css-visited/border-2a.html',
+ '/layout/reftests/css-visited/border-2b.html',
+ '/layout/reftests/css-visited/border-collapse-1-ref.html',
+ '/layout/reftests/css-visited/border-collapse-1.html',
+ '/layout/reftests/css-visited/color-choice-1-ref.html',
+ '/layout/reftests/css-visited/color-choice-1.html',
+ '/layout/reftests/css-visited/color-on-bullets-1-ref.html',
+ '/layout/reftests/css-visited/color-on-bullets-1.html',
+ '/layout/reftests/css-visited/color-on-link-1-ref.html',
+ '/layout/reftests/css-visited/color-on-link-1.html',
+ '/layout/reftests/css-visited/color-on-link-before-1.html',
+ '/layout/reftests/css-visited/color-on-text-decoration-1-ref.html',
+ '/layout/reftests/css-visited/color-on-text-decoration-1.html',
+ '/layout/reftests/css-visited/color-on-visited-1-ref.html',
+ '/layout/reftests/css-visited/color-on-visited-1.html',
+ '/layout/reftests/css-visited/color-on-visited-before-1.html',
+ '/layout/reftests/css-visited/column-rule-1-notref.html',
+ '/layout/reftests/css-visited/column-rule-1-ref.html',
+ '/layout/reftests/css-visited/column-rule-1.html',
+ '/layout/reftests/css-visited/content-before-1-ref.html',
+ '/layout/reftests/css-visited/content-color-on-link-before-1-ref.html',
+ '/layout/reftests/css-visited/content-color-on-link-before-1.html',
+ '/layout/reftests/css-visited/content-color-on-visited-before-1-ref.html',
+ '/layout/reftests/css-visited/content-color-on-visited-before-1.html',
+ '/layout/reftests/css-visited/content-on-link-before-1.html',
+ '/layout/reftests/css-visited/content-on-visited-before-1.html',
+ '/layout/reftests/css-visited/first-line-1-ref.html',
+ '/layout/reftests/css-visited/first-line-1.html',
+ '/layout/reftests/css-visited/inherit-keyword-1-ref.html',
+ '/layout/reftests/css-visited/inherit-keyword-1.xhtml',
+ '/layout/reftests/css-visited/link-root-1-ref.xhtml',
+ '/layout/reftests/css-visited/link-root-1.xhtml',
+ '/layout/reftests/css-visited/mathml-links-ref.html',
+ '/layout/reftests/css-visited/mathml-links.html',
+ '/layout/reftests/css-visited/outline-1-ref.html',
+ '/layout/reftests/css-visited/outline-1.html',
+ '/layout/reftests/css-visited/selector-adj-sibling-1-ref.html',
+ '/layout/reftests/css-visited/selector-adj-sibling-1.html',
+ '/layout/reftests/css-visited/selector-adj-sibling-2-ref.html',
+ '/layout/reftests/css-visited/selector-adj-sibling-2.html',
+ '/layout/reftests/css-visited/selector-any-sibling-1-ref.html',
+ '/layout/reftests/css-visited/selector-any-sibling-1.html',
+ '/layout/reftests/css-visited/selector-any-sibling-2-ref.html',
+ '/layout/reftests/css-visited/selector-any-sibling-2.html',
+ '/layout/reftests/css-visited/selector-child-1-ref.html',
+ '/layout/reftests/css-visited/selector-child-1.html',
+ '/layout/reftests/css-visited/selector-child-2-ref.xhtml',
+ '/layout/reftests/css-visited/selector-child-2.xhtml',
+ '/layout/reftests/css-visited/selector-descendant-1-ref.html',
+ '/layout/reftests/css-visited/selector-descendant-1.html',
+ '/layout/reftests/css-visited/selector-descendant-2-ref.xhtml',
+ '/layout/reftests/css-visited/selector-descendant-2.xhtml',
+ '/layout/reftests/css-visited/subject-of-selector-1-ref.html',
+ '/layout/reftests/css-visited/subject-of-selector-adj-sibling-1.html',
+ '/layout/reftests/css-visited/subject-of-selector-any-sibling-1.html',
+ '/layout/reftests/css-visited/subject-of-selector-child-1.html',
+ '/layout/reftests/css-visited/subject-of-selector-descendant-1.html',
+ '/layout/reftests/css-visited/subject-of-selector-descendant-2-ref.xhtml',
+ '/layout/reftests/css-visited/subject-of-selector-descendant-2.xhtml',
+ '/layout/reftests/css-visited/visited-page.html',
+ '/layout/reftests/css-visited/white-to-transparent-1-ref.html',
+ '/layout/reftests/css-visited/white-to-transparent-1.html',
+ '/layout/reftests/css-visited/width-1-ref.html',
+ '/layout/reftests/css-visited/width-on-link-1.html',
+ '/layout/reftests/css-visited/width-on-visited-1.html',
+ '/layout/reftests/svg/as-image/lime100x100.svg',
+ '/layout/reftests/svg/as-image/svg-image-visited-1-helper.svg',
+ '/layout/reftests/svg/as-image/svg-image-visited-2-helper.svg',
+ '/layout/reftests/svg/pseudo-classes-02-ref.svg',
+ '/layout/reftests/svg/pseudo-classes-02.svg',
+]
+
+DEFINES['MOZILLA_INTERNAL_API'] = True
+if CONFIG['MOZ_ENABLE_MASK_AS_SHORTHAND']:
+ HOST_DEFINES['MOZ_ENABLE_MASK_AS_SHORTHAND'] = True
+
+if CONFIG['COMPILE_ENVIRONMENT']:
+ GENERATED_FILES += ['css_properties.js']
+ GENERATED_FILES['css_properties.js'].script = 'gen-css-properties.py'
+ GENERATED_FILES['css_properties.js'].inputs = [
+ 'css_properties_like_longhand.js',
+ '!host_ListCSSProperties%s' % CONFIG['HOST_BIN_SUFFIX'],
+ ]
+ TEST_HARNESS_FILES.testing.mochitest.tests.layout.style.test += ['!css_properties.js']