1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/bindings/test/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 +# You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +include ../webidlsrcs.mk 1.9 + 1.10 +# $(test_sources) comes from webidlsrcs.mk. 1.11 +# TODO Update this variable in backend.mk. 1.12 +CPPSRCS += $(addprefix ../,$(test_sources)) 1.13 + 1.14 +ifdef GNU_CC 1.15 +OS_CXXFLAGS += -Wno-uninitialized 1.16 +endif 1.17 + 1.18 +# Bug 932082 tracks having bindings use namespaced includes. 1.19 +LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom 1.20 + 1.21 +# Include rules.mk before any of our targets so our first target is coming from 1.22 +# rules.mk and running make with no target in this dir does the right thing. 1.23 +include $(topsrcdir)/config/rules.mk 1.24 + 1.25 +check:: 1.26 + PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ 1.27 + $(PLY_INCLUDE) $(srcdir)/../parser/runtests.py