diff -r 000000000000 -r 6474c204b198 dom/bindings/test/Makefile.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/bindings/test/Makefile.in Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,24 @@ +# 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/. + +include ../webidlsrcs.mk + +# $(test_sources) comes from webidlsrcs.mk. +# TODO Update this variable in backend.mk. +CPPSRCS += $(addprefix ../,$(test_sources)) + +ifdef GNU_CC +OS_CXXFLAGS += -Wno-uninitialized +endif + +# Bug 932082 tracks having bindings use namespaced includes. +LOCAL_INCLUDES += -I$(DIST)/include/mozilla/dom + +# Include rules.mk before any of our targets so our first target is coming from +# rules.mk and running make with no target in this dir does the right thing. +include $(topsrcdir)/config/rules.mk + +check:: + PYTHONDONTWRITEBYTECODE=1 $(PYTHON) $(topsrcdir)/config/pythonpath.py \ + $(PLY_INCLUDE) $(srcdir)/../parser/runtests.py