gecko-dev/xpcom/build
Nicholas Nethercote 8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
..
BinaryPath.h Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj 2017-09-28 10:37:27 +09:00
FileLocation.cpp Bug 870698 - Part 3: Replace Insert("") with InsertLiteral(""). r=erahm 2017-09-05 12:41:31 -07:00
FileLocation.h Bug 1363482: Part 2 - Allow pre-loading file and JAR entry contents off-thread during startup. r=erahm 2017-08-30 15:47:17 -07:00
IOInterposer.cpp
IOInterposer.h
IOInterposerPrivate.h
LateWriteChecks.cpp Bug 1392630 Remove unused variables r=froydnj 2017-08-22 09:16:31 -05:00
LateWriteChecks.h
mach_override.c Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
mach_override.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
MainThreadIOLogger.cpp Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
MainThreadIOLogger.h
moz.build Bug 1320134 - Part 4: Remove the debug patches for running out of TLS slots on Windows. r=froydnj 2017-08-21 16:24:29 +08:00
NSPRInterposer.cpp
NSPRInterposer.h
nsWindowsDllInterceptor.h Bug 1392485: Add REX.R mov to the disassembler. r=handyman 2017-08-30 07:16:44 +12:00
nsXPCOM.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
nsXPCOMCID.h
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h
nsXULAppAPI.h Bug 1393805 - Part 1 - Add XRE_USER_SYS_EXTENSION_DEV_DIR XRESysExtDev Key. r=bobowen,gcp 2017-10-04 10:43:49 -07:00
Omnijar.cpp
Omnijar.h
perfprobe.cpp
perfprobe.h
PoisonIOInterposer.h
PoisonIOInterposerBase.cpp Bug 1373525 - xpcom/build: Remove unused member function DebugFilesAutoLock::Clear(). r=froydnj 2017-06-07 00:56:55 -07:00
PoisonIOInterposerMac.cpp
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp
ServiceList.h Bug 1362498 - cache some networking mozilla::services r=bagder 2017-05-05 14:32:19 -04:00
Services.cpp Bug 1362498 - cache some networking mozilla::services r=bagder 2017-05-05 14:32:19 -04:00
Services.h
xpcom_alpha.def
XPCOM.h Bug 1392884 - Remove nsIAtomService. r=froydnj. 2017-08-25 17:06:58 +10:00
XPCOMInit.cpp Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
XPCOMModule.inc Bug 1392884 - Remove nsIAtomService. r=froydnj. 2017-08-25 17:06:58 +10:00
XREAppData.h
XREChildData.h
xrecore.h
XREShellData.h