Bug 1382099 - Remove MOZ_WIDGET_GONK from xpcom/. r=erahm.

As well as the straightforward things, this lets us remove ReadSysFile and
WriteSysFile, which in turn lets us remove TestFileUtils.cpp.
This commit is contained in:
Nicholas Nethercote
2017-07-21 10:45:39 +10:00
parent b6749f75fa
commit f602b6fa04
10 changed files with 1 additions and 519 deletions

View File

@@ -1611,10 +1611,6 @@ nsMemoryReporterManager::~nsMemoryReporterManager()
NS_ASSERTION(!mSavedWeakReporters, "failed to restore weak reporters");
}
#ifdef MOZ_WIDGET_GONK
#define DEBUG_CHILD_PROCESS_MEMORY_REPORTING 1
#endif
#ifdef DEBUG_CHILD_PROCESS_MEMORY_REPORTING
#define MEMORY_REPORTING_LOG(format, ...) \
printf_stderr("++++ MEMORY REPORTING: " format, ##__VA_ARGS__);