Bug 1351910 - Build more files as unified in ipc/glue. r=billm

One file was excluded for using plarena which it did not. The other was
excluded for "clashes with strdup," it does not use strdup.

MozReview-Commit-ID: 5X5H9S4j903
This commit is contained in:
Eric Rahm 2017-04-10 14:50:00 -07:00
Родитель 3ab41f111b
Коммит b99305007f
2 изменённых файлов: 15 добавлений и 4 удалений

Просмотреть файл

@ -23,8 +23,11 @@
#include "nsIAsyncInputStream.h"
#include "nsIAsyncOutputStream.h"
#include "nsIPipe.h"
#include "nsNetCID.h"
#include "nsStreamUtils.h"
using namespace mozilla::dom;
namespace mozilla {
namespace ipc {

Просмотреть файл

@ -158,19 +158,27 @@ UNIFIED_SOURCES += [
'SharedMemory.cpp',
'Shmem.cpp',
'StringUtil.cpp',
'URIUtils.cpp',
]
# GeckoChildProcessHost.cpp cannot be built in unified mode because it uses plarena.h.
# URIUtils.cpp cannot be built in unified mode because of name clashes on strdup.
SOURCES += [
'BackgroundChildImpl.cpp',
'BackgroundParentImpl.cpp',
'FileDescriptorSetChild.cpp',
'FileDescriptorSetParent.cpp',
'GeckoChildProcessHost.cpp',
'URIUtils.cpp',
]
if CONFIG['OS_ARCH'] == 'Darwin':
# GeckoChildProcessHost.cpp cannot be built unified due to OSX header
# clashes with TextRange.
SOURCES += [
'GeckoChildProcessHost.cpp',
]
else:
UNIFIED_SOURCES += [
'GeckoChildProcessHost.cpp',
]
if CONFIG['_MSC_VER']:
# This is intended as a temporary hack to support building with VS2015.
# 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size