Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps

This commit is contained in:
Ms2ger 2013-08-22 08:56:01 +02:00
parent 5b29659dff
commit 4922ccbc0a
208 changed files with 210 additions and 115 deletions

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(srcdir)/../include \

View File

@ -20,3 +20,5 @@ LIBRARY_NAME = 'caps_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = chrome_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -19,3 +19,5 @@ CPP_SOURCES += [
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconbase_s
MSVC_ENABLE_PGO := 1
ifdef MOZ_WEBRTC
LOCAL_INCLUDES += \
-I$(topsrcdir)/netwerk/sctp/datachannel \

View File

@ -174,3 +174,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconcvs_s
MSVC_ENABLE_PGO := 1
ifdef MOZ_WEBGL
LOCAL_INCLUDES += \
-I$(topsrcdir)/js/xpconnect/wrappers \

View File

@ -78,3 +78,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconevents_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -71,3 +71,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconhtmlcon_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -158,3 +158,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \

View File

@ -29,3 +29,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconmedia_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -139,3 +139,5 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconxbl_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \

View File

@ -40,3 +40,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
INCLUDES += \

View File

@ -26,3 +26,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \

View File

@ -23,3 +23,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = -I$(srcdir)/../../../base/src \

View File

@ -25,3 +25,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = -I$(srcdir)/../../../base/src \

View File

@ -39,3 +39,5 @@ LIBRARY_NAME = 'gkconxultmpl_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = basedocshell_s
MSVC_ENABLE_PGO := 1
ifdef MOZ_TOOLKIT_SEARCH
DEFINES += -DMOZ_TOOLKIT_SEARCH
endif

View File

@ -66,3 +66,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += -I$(srcdir)/../../base

View File

@ -23,3 +23,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = jsdombase_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/dom/dom-config.mk
ifdef MOZ_JSDEBUGGER

View File

@ -113,3 +113,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = dombindings_s
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
# Need this to find all our DOM source files.

View File

@ -30,3 +30,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -21,7 +21,6 @@ VPATH += $(srcdir)/fallback
endif
LIBRARY_NAME = dom_mobilemessage_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/dom/dom-config.mk
LOCAL_INCLUDES = \

View File

@ -83,3 +83,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkplugin
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
ifeq ($(MOZ_WIDGET_TOOLKIT),android)
LOCAL_INCLUDES += -I$(topsrcdir)/dom/plugins/base/android

View File

@ -97,3 +97,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = domquota_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/dom/dom-config.mk
LOCAL_INCLUDES = \

View File

@ -43,3 +43,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(topsrcdir)/dom/base

View File

@ -16,3 +16,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = jsdomstorage_s
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES = \
-I$(topsrcdir)/dom/base \
-I$(topsrcdir)/content/events/src

View File

@ -27,3 +27,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES = \
-I$(topsrcdir)/content/base/src \
-I$(topsrcdir)/content/events/src \

View File

@ -61,3 +61,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = cookie
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -24,3 +24,5 @@ CPP_SOURCES += [
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = $(srcdir) $(srcdir)/unittest
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gfx2d
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
DEFINES += -DMOZ_GFX -DUSE_CAIRO -DGFX2D_INTERNAL

View File

@ -104,3 +104,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
endif

View File

@ -112,3 +112,5 @@ LIBRARY_NAME = 'angle'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifdef GNU_CC
ifeq ($(OS_TARGET),Android)
MODULE_OPTIMIZE_FLAGS = -O2

View File

@ -82,3 +82,5 @@ LIBRARY_NAME = 'mozcairo'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = mozlibpixman
MSVC_ENABLE_PGO := 1
ifeq ($(OS_TARGET),Android)
MODULE_OPTIMIZE_FLAGS = -O2
endif

View File

@ -29,3 +29,5 @@ if CONFIG['OS_ARCH'] != 'Darwin' and CONFIG['GNU_CC']:
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gl
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
ifdef MOZ_WEBGL

View File

@ -118,3 +118,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -21,9 +21,6 @@ endif
# get the lists of source files and exported headers
include $(srcdir)/files.mk
MSVC_ENABLE_PGO := 1
# on Windows, we're going to link graphite with gkmedias instead of libxul
ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
FORCE_STATIC_LIB = 1

View File

@ -65,3 +65,5 @@ CPP_SOURCES += [
LIBRARY_NAME = 'mozgraphite2'
MSVC_ENABLE_PGO = True

View File

@ -32,7 +32,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifeq ($(OS_ARCH),WINNT)
FORCE_STATIC_LIB = 1
endif

View File

@ -57,3 +57,5 @@ CPP_SOURCES += [
LIBRARY_NAME = 'mozharfbuzz'
MSVC_ENABLE_PGO = True

View File

@ -21,7 +21,6 @@ VPATH = \
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = layers
MSVC_ENABLE_PGO := 1
ifdef MOZ_DEBUG
DEFINES += -DD3D_DEBUG_INFO
endif

View File

@ -270,3 +270,5 @@ IPDL_SOURCES = [
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -32,8 +32,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
FORCE_STATIC_LIB = 1

View File

@ -53,3 +53,5 @@ CPP_SOURCES += [
LIBRARY_NAME = 'mozots'
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
CSRCS = \
chain.c \
iccread.c \

View File

@ -15,3 +15,5 @@ LIBRARY_NAME = 'mozqcms'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
DEFINES += -DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32_SHIFT=8 -DSK_B32_SHIFT=0

View File

@ -551,3 +551,5 @@ LIBRARY_NAME = 'skia'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
include $(topsrcdir)/config/rules.mk

View File

@ -61,3 +61,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = thebes
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
# gfxSVGGlyphs needs nsDOMParser.h

View File

@ -272,3 +272,5 @@ FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
CSRCS = hyphen.c \
$(NULL)

View File

@ -16,3 +16,5 @@ LIBRARY_NAME = 'hyphenation_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifeq ($(MOZ_WIDGET_TOOLKIT), qt)
OS_INCLUDES += $(MOZ_QT_CFLAGS)
endif

View File

@ -37,3 +37,5 @@ EXTRA_JS_MODULES += [
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
else
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk3)

View File

@ -33,3 +33,5 @@ LIBRARY_NAME = 'lwbrk_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,5 +10,4 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk

View File

@ -15,3 +15,5 @@ LIBRARY_NAME = 'strres_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../util \
-I$(srcdir)/../ucvlatin \

View File

@ -33,3 +33,5 @@ LIBRARY_NAME = 'uconv'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
CSRCS = \
ugen.c \

View File

@ -17,3 +17,5 @@ LIBRARY_NAME = 'ucvutil_s'
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -20,7 +20,6 @@ LIBRARY_NAME = mozjs
endif
STATIC_LIBRARY_NAME = js_static
MSVC_ENABLE_PGO := 1
LIBS = $(NSPR_LIBS)
# JavaScript must be built shared, even for static builds, as it is used by

View File

@ -339,3 +339,6 @@ else:
CPP_SOURCES += [
'pm_stub.cpp'
]
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES += \
-I$(srcdir)/../src \
-I$(srcdir)/../wrappers \

View File

@ -23,3 +23,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = xpconnect_s
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES = \
-I$(srcdir)/../wrappers \
-I$(srcdir)/../loader \

View File

@ -57,3 +57,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES = \
-I$(srcdir)/../src \
-I$(srcdir)/../../../dom/base \

View File

@ -26,3 +26,5 @@ FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkbase_s
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -103,3 +103,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -16,7 +16,6 @@ SHELL := ksh
endif
LIBRARY_NAME = gklayout
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
SHARED_LIBRARY_LIBS = \
../base/$(LIB_PREFIX)gkbase_s.$(LIB_SUFFIX) \

View File

@ -22,3 +22,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \

View File

@ -42,3 +42,5 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

Some files were not shown because too many files have changed in this diff Show More