Bug 1007741 - Fix -Wunused-function warning in ipc/glue/ and mark ipc/ subdirectories as FAIL_ON_WARNINGS. r=bsmedberg

This commit is contained in:
Chris Peterson 2014-05-07 23:55:30 -07:00
parent c50fb275e2
commit dbf88e5f6b
7 changed files with 14 additions and 0 deletions

View File

@ -47,3 +47,5 @@ LDFLAGS += [CONFIG['MOZ_ALLOW_HEAP_EXECUTE_FLAGS']]
# Set it to 256k. See bug 127069.
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
FAIL_ON_WARNINGS = True

View File

@ -17,3 +17,5 @@ SOURCES += [
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True

View File

@ -71,11 +71,13 @@ IsMainProcess()
return isMainProcess;
}
#ifdef DEBUG
bool
IsChildProcess()
{
return !IsMainProcess();
}
#endif
void
AssertIsInMainProcess()

View File

@ -150,3 +150,5 @@ if CONFIG['MOZ_CONTENT_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
LOCAL_INCLUDES += [
'/security/sandbox/win/src/sandboxbroker',
]
FAIL_ON_WARNINGS = True

View File

@ -15,3 +15,5 @@ SOURCES += [
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True

View File

@ -16,3 +16,5 @@ EXPORT_LIBRARY = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True

View File

@ -15,3 +15,5 @@ SOURCES += [
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True