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-05 18:01:45 -07:00
Родитель 08fc406af4
Коммит 3b034fca72
2 изменённых файлов: 5 добавлений и 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 {

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

@ -142,6 +142,7 @@ UNIFIED_SOURCES += [
'CrashReporterMetadataShmem.cpp',
'FileDescriptor.cpp',
'FileDescriptorUtils.cpp',
'GeckoChildProcessHost.cpp',
'InputStreamUtils.cpp',
'IPCMessageUtils.cpp',
'IPCStreamChild.cpp',
@ -158,17 +159,14 @@ 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['_MSC_VER']: