2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-03-02 13:00:39 -08:00
|
|
|
# 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.
|
2011-05-23 09:54:47 -07:00
|
|
|
#
|
|
|
|
#CPP_UNIT_TESTS = TestCSSPropertyLookup.cpp
|
|
|
|
#LIBS += ../nsCSSKeywords.$(OBJ_SUFFIX) ../nsCSSProps.$(OBJ_SUFFIX) $(XPCOM_LIBS)
|
2010-03-02 13:00:39 -08:00
|
|
|
|
2013-11-04 14:39:28 -08:00
|
|
|
ifdef COMPILE_ENVIRONMENT
|
2012-07-03 13:49:02 -07:00
|
|
|
css_properties.js: host_ListCSSProperties$(HOST_BIN_SUFFIX) css_properties_like_longhand.js Makefile
|
|
|
|
$(RM) $@
|
|
|
|
./host_ListCSSProperties$(HOST_BIN_SUFFIX) > $@
|
|
|
|
cat $(srcdir)/css_properties_like_longhand.js >> $@
|
|
|
|
|
2014-03-05 12:51:39 -08:00
|
|
|
GARBAGE += css_properties.js
|
|
|
|
TEST_FILES := css_properties.js
|
|
|
|
TEST_DEST = $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|
|
|
|
INSTALL_TARGETS += TEST
|
2013-11-04 14:39:28 -08:00
|
|
|
endif
|