mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 967297 - consider ipdl modules as inputs to the ipdl build process; r=glandium
This commit is contained in:
parent
ca918623ab
commit
8d6641d961
@ -4,6 +4,9 @@
|
||||
|
||||
import optparse, os, re, sys
|
||||
from cStringIO import StringIO
|
||||
from mozbuild.pythonutil import iter_modules_in_path
|
||||
import mozpack.path as mozpath
|
||||
import itertools
|
||||
|
||||
import ipdl
|
||||
|
||||
@ -46,7 +49,9 @@ ipcmessagestartpath = os.path.join(headersdir, 'IPCMessageStart.h')
|
||||
|
||||
# Compiling the IPDL files can take a long time, even on a fast machine.
|
||||
# Check to see whether we need to do any work.
|
||||
latestipdlmod = max(os.stat(f).st_mtime for f in files)
|
||||
latestipdlmod = max(os.stat(f).st_mtime
|
||||
for f in itertools.chain(files,
|
||||
iter_modules_in_path(mozpath.dirname(__file__))))
|
||||
|
||||
def outputModTime(f):
|
||||
# A non-existant file is newer than everything.
|
||||
|
Loading…
Reference in New Issue
Block a user