Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted

This commit is contained in:
David Major 2017-08-23 11:10:39 -04:00
parent 8482ae39c3
commit 8cb2cb650a
16 changed files with 27 additions and 0 deletions

View File

@ -13,3 +13,4 @@ SharedLibrary('crashinjectdll')
DEFFILE = SRCDIR + '/crashinjectdll.def'
USE_STATIC_LIBS = True
NO_PGO = True

View File

@ -28,3 +28,4 @@ USE_STATIC_LIBS = True
NO_VISIBILITY_FLAGS = True
# Don't use STL wrappers; this isn't Gecko code
DISABLE_STL_WRAPPING = True
NO_PGO = True

View File

@ -30,3 +30,4 @@ USE_STATIC_LIBS = True
NO_VISIBILITY_FLAGS = True
# Don't use STL wrappers; this isn't Gecko code
DISABLE_STL_WRAPPING = True
NO_PGO = True

View File

@ -37,6 +37,8 @@ USE_STATIC_LIBS = True
# Don't use STL wrappers; nptest isn't Gecko code
DISABLE_STL_WRAPPING = True
NO_PGO = True
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
RCFILE = 'nptest.rc'
RESFILE = 'nptest.res'

View File

@ -51,3 +51,5 @@ if CONFIG['_MSC_VER']:
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR
FINAL_TARGET_PP_FILES += ['gdb-tests-gdb.py.in']
OBJDIR_FILES.js.src.gdb += ['!/dist/bin/gdb-tests-gdb.py']
NO_PGO = True

View File

@ -157,3 +157,5 @@ if CONFIG['_MSC_VER']:
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR
OBJDIR_PP_FILES.js.src['jsapi-tests'] += ['jsapi-tests-gdb.py.in']
NO_PGO = True

View File

@ -56,3 +56,5 @@ if CONFIG['OS_TARGET'] == 'Android':
CFLAGS += CONFIG['TK_CFLAGS']
CXXFLAGS += CONFIG['TK_CFLAGS']
OS_LIBS += CONFIG['TK_LIBS']
NO_PGO = True

View File

@ -17,6 +17,8 @@ DEFINES['WEBRTC_INTELLIGIBILITY_ENHANCER'] = 0
# Hit build errors on windows with xutility otherwise
DISABLE_STL_WRAPPING = True
NO_PGO = True
LOCAL_INCLUDES += [
'../',
'/',

View File

@ -11,6 +11,7 @@ SOURCES += [
DISABLE_STL_WRAPPING = True
USE_STATIC_LIBS = True
NO_PGO = True
DEFINES['MOZ_NO_MOZALLOC'] = True
# Avoid Lock_impl code depending on mozilla::Logger.
DEFINES['NDEBUG'] = True

View File

@ -16,3 +16,5 @@ SharedLibrary('pkcs11testmodule')
# just export all the symbols.
NO_VISIBILITY_FLAGS = True
SYMBOLS_FILE = 'pkcs11testmodule.symbols'
NO_PGO = True

View File

@ -21,3 +21,5 @@ DISABLE_STL_WRAPPING = True
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-shadow']
NO_PGO = True

View File

@ -24,3 +24,5 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
OS_LIBS += [
'gdiplus',
]
NO_PGO = True

View File

@ -24,6 +24,8 @@ LOCAL_INCLUDES += [
# Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc.
DISABLE_STL_WRAPPING = True
NO_PGO = True
if CONFIG['COMPILE_ENVIRONMENT']:
shared_library = '!%sjsctypes-test%s' % (CONFIG['DLL_PREFIX'], CONFIG['DLL_SUFFIX'])
TEST_HARNESS_FILES.xpcshell.toolkit.components.ctypes.tests.unit += [shared_library]

View File

@ -12,6 +12,8 @@ SOURCES += [
SharedLibrary('modules-test')
NO_PGO = True
if CONFIG['COMPILE_ENVIRONMENT']:
shared_library = '!%smodules-test%s' % (CONFIG['DLL_PREFIX'], CONFIG['DLL_SUFFIX'])
TEST_HARNESS_FILES.xpcshell.toolkit.components.telemetry.tests.unit += [shared_library]

View File

@ -17,3 +17,4 @@ else:
GeckoSharedLibrary('qipcap')
NO_VISIBILITY_FLAGS = True
NO_PGO = True

View File

@ -13,3 +13,5 @@ DEFINES['TEST_UPDATER'] = True
include('../updater-common.build')
CXXFLAGS += CONFIG['MOZ_BZ2_CFLAGS']
NO_PGO = True