Backed out changeset f85447f6f56d (bug 1891145) for causing mochitest failures @...
[gecko.git] / ipc / ipdl / Makefile.in
blob4847569a565875506eb9ca3063064ca753c84724
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 ifdef COMPILE_ENVIRONMENT
7 # This file is generated by the moz.build backend.
8 include ipdlsrcs.mk
10 include $(topsrcdir)/config/rules.mk
12 ipdl_py_deps := \
13 $(wildcard $(srcdir)/*.py) \
14 $(wildcard $(srcdir)/ipdl/*.py) \
15 $(wildcard $(srcdir)/ipdl/cxx/*.py) \
16 $(wildcard $(topsrcdir)/other-licenses/ply/ply/*.py) \
17 $(NULL)
19 # NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself,
20 # which is why we don't have explicit .h/.cpp targets here
21 ipdl.track: $(ALL_IPDLSRCS) $(ALL_IPDLSRCS_FILE) $(srcdir)/sync-messages.ini $(srcdir)/message-metadata.ini $(ipdl_py_deps)
22 $(call BUILDSTATUS,START_Ipdl ipdl.py)
23 $(PYTHON3) $(srcdir)/ipdl.py \
24 --sync-msg-list=$(srcdir)/sync-messages.ini \
25 --msg-metadata=$(srcdir)/message-metadata.ini \
26 --outheaders-dir=_ipdlheaders \
27 --outcpp-dir=. \
28 $(IPDLDIRS:%=-I%) \
29 --file-list $(ALL_IPDLSRCS_FILE)
30 touch $@
31 $(call BUILDSTATUS,END_Ipdl ipdl.py)
33 export:: ipdl.track
34 endif