зеркало из https://github.com/mozilla/pjs.git
144 строки
4.4 KiB
Makefile
144 строки
4.4 KiB
Makefile
#
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
#
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
# http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
# for the specific language governing rights and limitations under the
|
|
# License.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is
|
|
# Mozilla Foundation.
|
|
# Portions created by the Initial Developer are Copyright (C) 2007
|
|
# the Initial Developer. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
# the provisions above, a recipient may use your version of this file under
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
#
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
relativesrcdir = layout/style/test
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = layout
|
|
|
|
# XXX Yuck. We can't transfer everything from autoconf to HOST_CFLAGS,
|
|
# but it would be nice to pick up anything affecting nsCSSPropList.h
|
|
# automatically.
|
|
ifdef MOZ_SVG
|
|
HOST_CFLAGS += -DMOZ_SVG=1
|
|
HOST_CXXFLAGS += -DMOZ_SVG=1
|
|
endif
|
|
|
|
HOST_CPPSRCS = \
|
|
ListCSSProperties.cpp \
|
|
$(NULL)
|
|
|
|
HOST_SIMPLE_PROGRAMS = $(addprefix host_, $(HOST_CPPSRCS:.cpp=$(HOST_BIN_SUFFIX)))
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
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 >> $@
|
|
|
|
GARBAGE += css_properties.js
|
|
|
|
_TEST_FILES = test_acid3_test46.html \
|
|
test_bug73586.html \
|
|
test_bug74880.html \
|
|
test_bug98997.html \
|
|
test_bug221428.html \
|
|
test_bug229915.html \
|
|
test_bug302186.html \
|
|
test_bug319381.html \
|
|
test_bug357614.html \
|
|
test_bug363146.html \
|
|
test_bug365932.html \
|
|
test_bug372770.html \
|
|
test_bug373293.html \
|
|
test_bug377947.html \
|
|
test_bug379440.html \
|
|
test_bug379741.html \
|
|
test_bug382027.html \
|
|
test_bug383075.html \
|
|
test_bug387615.html \
|
|
test_bug389464.html \
|
|
test_bug391034.html \
|
|
test_bug391221.html \
|
|
test_bug397427.html \
|
|
test_bug401046.html \
|
|
test_bug405818.html \
|
|
test_bug412901.html \
|
|
test_bug437915.html \
|
|
test_cascade.html \
|
|
test_compute_data_with_start_struct.html \
|
|
test_css_eof_handling.html \
|
|
test_dont_use_document_colors.html \
|
|
test_font_face_parser.html \
|
|
test_inherit_computation.html \
|
|
test_inherit_storage.html \
|
|
test_initial_computation.html \
|
|
test_initial_storage.html \
|
|
test_media_queries.html \
|
|
test_media_queries_dynamic_xbl.html \
|
|
test_of_type_selectors.xhtml \
|
|
test_parse_rule.html \
|
|
test_property_database.html \
|
|
test_property_syntax_errors.html \
|
|
test_selectors.html \
|
|
test_selectors_on_anonymous_content.html \
|
|
test_style_struct_copy_constructors.html \
|
|
test_value_computation.html \
|
|
test_value_storage.html \
|
|
css_properties.js \
|
|
property_database.js \
|
|
unstyled.xml \
|
|
unstyled.css \
|
|
unstyled-frame.xml \
|
|
unstyled-frame.css \
|
|
redirect-1.css \
|
|
post-redirect-1.css \
|
|
redirect-1.css^headers^ \
|
|
redirect-2.css \
|
|
post-redirect-2.css \
|
|
redirect-2.css^headers^ \
|
|
redirect-3.css \
|
|
redirect-3.css^headers^ \
|
|
post-redirect-3.css \
|
|
xbl_bindings.xml \
|
|
empty.html \
|
|
media_queries_iframe.html \
|
|
media_queries_dynamic_xbl_binding.xml \
|
|
media_queries_dynamic_xbl_iframe.html \
|
|
media_queries_dynamic_xbl_style.css \
|
|
$(NULL)
|
|
|
|
|
|
libs:: $(_TEST_FILES)
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|