Bug 908977 - Build all XPIDLs when performing a partial tree build; r=glandium

This commit is contained in:
Gregory Szorc 2013-08-25 19:21:18 -07:00
parent 10b8a5c779
commit 07bbf0aeef

View File

@ -102,12 +102,14 @@ class BackendMakeFile(object):
if self.xpt_name:
self.fh.write('XPT_NAME := %s\n' % self.xpt_name)
# We just recompile all xpidls because it's easier and less error
# prone.
self.fh.write('NONRECURSIVE_TARGETS += export\n')
self.fh.write('NONRECURSIVE_TARGETS_export += xpidl\n')
self.fh.write('NONRECURSIVE_TARGETS_export_xpidl_DIRECTORY = '
'$(DEPTH)/config/makefiles/xpidl\n')
'$(DEPTH)/config/makefiles/precompile\n')
self.fh.write('NONRECURSIVE_TARGETS_export_xpidl_TARGETS += '
'xpt/%s' % self.xpt_name)
'xpidl\n')
return self.fh.close()