Skip to content

Commit

Permalink
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r…
Browse files Browse the repository at this point in the history
…=glandium

--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
  • Loading branch information
David Major committed Apr 27, 2015
1 parent 9aaafca commit ebde6b9
Show file tree
Hide file tree
Showing 115 changed files with 0 additions and 229 deletions.
2 changes: 0 additions & 2 deletions caps/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ UNIFIED_SOURCES += [
'nsSystemPrincipal.cpp',
]

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
'/js/xpconnect/src',
Expand Down
2 changes: 0 additions & 2 deletions chrome/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ UNIFIED_SOURCES += [
'nsChromeRegistryContent.cpp',
]

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions docshell/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions docshell/shistory/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/docshell/base',
]
Expand Down
2 changes: 0 additions & 2 deletions dom/asmjscache/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ IPDL_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions dom/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,6 @@ EXTRA_JS_MODULES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'../battery',
'../bluetooth',
Expand Down
2 changes: 0 additions & 2 deletions dom/bindings/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ EXPORTS.mozilla.dom += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
'/dom/battery',
Expand Down
2 changes: 0 additions & 2 deletions dom/canvas/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ LOCAL_INCLUDES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions dom/events/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ if CONFIG['MOZ_WEBSPEECH']:

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
1 change: 0 additions & 1 deletion dom/fetch/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ LOCAL_INCLUDES += [
]

FAIL_ON_WARNINGS = True
MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'xul'
2 changes: 0 additions & 2 deletions dom/html/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ EXTRA_COMPONENTS += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

LOCAL_INCLUDES += [
Expand Down
2 changes: 0 additions & 2 deletions dom/media/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ EXTRA_JS_MODULES.media += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/caps',
'/dom/base',
Expand Down
2 changes: 0 additions & 2 deletions dom/media/standalone/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ UNIFIED_SOURCES += [
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
UNIFIED_SOURCES += ['../systemservices/OSXRunLoopSingleton.cpp']

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/caps',
'/dom/base',
Expand Down
2 changes: 0 additions & 2 deletions dom/mobilemessage/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ IPDL_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
]
Expand Down
2 changes: 0 additions & 2 deletions dom/plugins/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ else:

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
'/dom/plugins/ipc',
Expand Down
2 changes: 0 additions & 2 deletions dom/quota/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions dom/storage/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ IPDL_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions dom/workers/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ IPDL_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'../base',
'../system',
Expand Down
2 changes: 0 additions & 2 deletions dom/xbl/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
'/dom/html',
Expand Down
2 changes: 0 additions & 2 deletions dom/xml/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
Expand Down
2 changes: 0 additions & 2 deletions dom/xul/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/docshell/base',
'/dom/base',
Expand Down
2 changes: 0 additions & 2 deletions dom/xul/templates/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ UNIFIED_SOURCES += [
'nsXULTreeBuilder.cpp',
]

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'/dom/base',
'/dom/xul',
Expand Down
2 changes: 0 additions & 2 deletions extensions/cookie/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ UNIFIED_SOURCES += [
'nsPopupWindowManager.cpp',
]

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions gfx/2d/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions gfx/angle/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ EXPORTS.angle.KHR += [ 'include/KHR/khrplatform.h' ]

LOCAL_INCLUDES += [ 'include', 'src' ]

MSVC_ENABLE_PGO = True

if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
NO_VISIBILITY_FLAGS = True

Expand Down
2 changes: 0 additions & 2 deletions gfx/cairo/cairo/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ UNIFIED_SOURCES += [
'cairo.c',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gkmedias'

DEFINES['PACKAGE_VERSION'] = '"moz"'
Expand Down
2 changes: 0 additions & 2 deletions gfx/cairo/libpixman/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ SOURCES += [
'pixman.c',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gkmedias'
LOCAL_INCLUDES += [
'../../cairo/src',
Expand Down
2 changes: 0 additions & 2 deletions gfx/gl/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ UNIFIED_SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions gfx/graphite2/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ UNIFIED_SOURCES += [
'UtfCodec.cpp',
]

MSVC_ENABLE_PGO = True

if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
NO_VISIBILITY_FLAGS = True
DEFINES['GRAPHITE2_EXPORTING'] = True
Expand Down
2 changes: 0 additions & 2 deletions gfx/harfbuzz/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ UNIFIED_SOURCES += [
'hb-warning.cc',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gkmedias'

DEFINES['PACKAGE_VERSION'] = '"moz"'
Expand Down
2 changes: 0 additions & 2 deletions gfx/layers/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ IPDL_SOURCES = [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

LOCAL_INCLUDES += [
Expand Down
2 changes: 0 additions & 2 deletions gfx/ots/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ UNIFIED_SOURCES += [
'woff2.cc',
]

MSVC_ENABLE_PGO = True

if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
NO_VISIBILITY_FLAGS = True

Expand Down
2 changes: 0 additions & 2 deletions gfx/qcms/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ SOURCES += [
'transform_util.c',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gkmedias'

if CONFIG['GNU_CC']:
Expand Down
2 changes: 0 additions & 2 deletions gfx/skia/generate_mozbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@
'trunk/src/opts/SkBlitRow_opts_SSE4_asm.S',
]
MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'gkmedias'
LOCAL_INCLUDES += [
'trunk/include/config',
Expand Down
2 changes: 0 additions & 2 deletions gfx/skia/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,6 @@ if CONFIG['INTEL_ARCHITECTURE'] and CONFIG['GNU_CC'] and CONFIG['OS_ARCH'] != 'W
'trunk/src/opts/SkBlitRow_opts_SSE4_asm.S',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gkmedias'
LOCAL_INCLUDES += [
'trunk/include/config',
Expand Down
2 changes: 0 additions & 2 deletions gfx/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ SOURCES += [

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
Expand Down
2 changes: 0 additions & 2 deletions gfx/thebes/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':

FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions gfx/vr/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ CFLAGS += CONFIG['TK_CFLAGS']

FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
Expand Down
2 changes: 0 additions & 2 deletions intl/hyphenation/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ SOURCES += [
'hyphen.c',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

# Suppress warnings in third-party code.
Expand Down
2 changes: 0 additions & 2 deletions intl/locale/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ EXTRA_JS_MODULES += [
'PluralForm.jsm',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
Expand Down
2 changes: 0 additions & 2 deletions intl/lwbrk/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ else:
'rulebrk.c',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

if CONFIG['MOZ_WIDGET_GTK']:
Expand Down
2 changes: 0 additions & 2 deletions intl/strres/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ UNIFIED_SOURCES += [
'nsStringBundleTextOverride.cpp',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 0 additions & 2 deletions intl/uconv/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ if CONFIG['INTEL_ARCHITECTURE']:
SOURCES += ['nsUTF8ToUnicodeSSE2.cpp']
SOURCES['nsUTF8ToUnicodeSSE2.cpp'].flags += CONFIG['SSE2_FLAGS']

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
'ucvcn',
'ucvja',
Expand Down
2 changes: 0 additions & 2 deletions js/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,6 @@ else:
'perf/pm_stub.cpp'
]

MSVC_ENABLE_PGO = True

HostSimplePrograms([
'host_jskwgen',
])
Expand Down
Loading

0 comments on commit ebde6b9

Please sign in to comment.