layout/style/test/Makefile.in

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 #
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 # ParseCSS.cpp used to be built as a test program, but it was not
michael@0 7 # being used for anything, and recent changes to the CSS loader have
michael@0 8 # made it fail to link. Further changes are planned which should make
michael@0 9 # it buildable again.
michael@0 10 #
michael@0 11 # TestCSSPropertyLookup.cpp needs the internal XPCOM APIs and so cannot
michael@0 12 # be built with libxul enabled.
michael@0 13 #
michael@0 14 #CPP_UNIT_TESTS = TestCSSPropertyLookup.cpp
michael@0 15 #LIBS += ../nsCSSKeywords.$(OBJ_SUFFIX) ../nsCSSProps.$(OBJ_SUFFIX) $(XPCOM_LIBS)
michael@0 16
michael@0 17 ifdef COMPILE_ENVIRONMENT
michael@0 18 css_properties.js: host_ListCSSProperties$(HOST_BIN_SUFFIX) css_properties_like_longhand.js Makefile
michael@0 19 $(RM) $@
michael@0 20 ./host_ListCSSProperties$(HOST_BIN_SUFFIX) > $@
michael@0 21 cat $(srcdir)/css_properties_like_longhand.js >> $@
michael@0 22
michael@0 23 GARBAGE += css_properties.js
michael@0 24 TEST_FILES := css_properties.js
michael@0 25 TEST_DEST = $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
michael@0 26 INSTALL_TARGETS += TEST
michael@0 27 endif

mercurial