mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
57e14ad346
WebIDL build system integration has been rewritten from the ground up. Changes: * GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in favor of mozwebidl.py. * Static .webidl files are now processed directly in their original location and aren't copied to the object directory. * Generated events <stem>.cpp files are now compiled into the unified sources. Previously, only the <stem>Binding.cpp files were compiled into unified sources. * Exported .h files are now generated directly into their final location. Previously, they were generated into the local directory then installed in their final location. * The list of globalgen-generated files now lives in Python and isn't duplicated in 3 places. * The make dependencies are much simpler as a result of using a single command to perform all code generation. The auto-generated .pp file from code generation sets up all dependencies necessary to reinvoke code generation and Python takes care of dependency management. --HG-- extra : rebase_source : e4918878274b22a412329c7cb18cc7138daf5dc6
25 lines
853 B
Makefile
25 lines
853 B
Makefile
# 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 -I..
|
|
|
|
# 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
|