Bug 941824 - #define MOZ_UNIFIED_BUILD for everything that is compiled in unified mode; r=gps

This commit is contained in:
Ehsan Akhgari 2013-11-21 15:39:44 -05:00
parent 1d1b048e67
commit 0b5b0a8cdc

View File

@ -644,6 +644,7 @@ class RecursiveMakeBackend(CommonBackend):
# handle source files being added/removed/renamed. Therefore, we
# generate them here also to make sure everything's up-to-date.
with self._write_file(os.path.join(output_directory, unified_file)) as f:
f.write('#define MOZ_UNIFIED_BUILD\n')
includeTemplate = '#include "%(cppfile)s"'
if poison_windows_h:
includeTemplate += (