Bug 1306014: Modify ipc/mscom/moz.build to only build essentials when a11y is disabled in build config; r=jimm

MozReview-Commit-ID: 4B08546SS4w

--HG--
extra : rebase_source : bded5176afaf99cb681c1be4b70edb9457ed2028
This commit is contained in:
Aaron Klotz 2016-09-28 14:09:07 -06:00
parent 27d984735c
commit 9772dd793a

View File

@ -7,37 +7,47 @@
EXPORTS.mozilla.mscom += [
'COMApartmentRegion.h',
'COMPtrHolder.h',
'DispatchForwarder.h',
'EnsureMTA.h',
'Interceptor.h',
'InterceptorLog.h',
'MainThreadHandoff.h',
'MainThreadInvoker.h',
'MainThreadRuntime.h',
'ProxyStream.h',
'Ptr.h',
'Registration.h',
'Utils.h',
'WeakRef.h',
]
SOURCES += [
'Interceptor.cpp',
'Registration.cpp',
'Utils.cpp',
'WeakRef.cpp',
]
UNIFIED_SOURCES += [
'DispatchForwarder.cpp',
'EnsureMTA.cpp',
'InterceptorLog.cpp',
'MainThreadHandoff.cpp',
'MainThreadInvoker.cpp',
'MainThreadRuntime.cpp',
'ProxyStream.cpp',
]
if CONFIG['ACCESSIBILITY']:
EXPORTS.mozilla.mscom += [
'DispatchForwarder.h',
'Interceptor.h',
'InterceptorLog.h',
'MainThreadHandoff.h',
'MainThreadInvoker.h',
'Registration.h',
'WeakRef.h',
]
SOURCES += [
'Interceptor.cpp',
'Registration.cpp',
'WeakRef.cpp',
]
UNIFIED_SOURCES += [
'DispatchForwarder.cpp',
'InterceptorLog.cpp',
'MainThreadHandoff.cpp',
'MainThreadInvoker.cpp',
]
LOCAL_INCLUDES += [
'/xpcom/build',
]