Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal

This commit is contained in:
Ms2ger 2013-08-22 08:56:01 +02:00
parent bdfaa84f5b
commit db8e00e85f
12 changed files with 5 additions and 60 deletions

View File

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

View File

@ -8,6 +8,7 @@ MODULE = 'xul'
if CONFIG['MOZ_XUL']:
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True
CPP_SOURCES += [
'nsXULElement.cpp',

View File

@ -21,6 +21,7 @@ endif
# get the lists of source files and exported headers
include $(srcdir)/files.mk
# 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

@ -1,13 +0,0 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@ -13,7 +13,6 @@ include $(DEPTH)/config/autoconf.mk
ifdef NECKO_COOKIES
LIBRARY_NAME = neckocookie_s
MSVC_ENABLE_PGO := 1
LOCAL_INCLUDES = \
-I$(topsrcdir)/intl/uconv/src \

View File

@ -20,6 +20,7 @@ MODULE = 'necko'
if CONFIG['NECKO_COOKIES']:
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True
EXPORTS.mozilla.net = [
'CookieServiceParent.h',

View File

@ -10,6 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
# need to include etld_data.inc
LOCAL_INCLUDES = \
-I$(srcdir)/../base/src \
-I. \

View File

@ -1,13 +0,0 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@ -1,14 +0,0 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@ -11,7 +11,6 @@ include $(DEPTH)/config/autoconf.mk
ifdef MOZ_PLACES
LIBRARY_NAME = places
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LOCAL_INCLUDES += -I$(srcdir)/../build

View File

@ -13,6 +13,7 @@ XPIDL_SOURCES += [
if CONFIG['MOZ_PLACES']:
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True
XPIDL_SOURCES += [
'mozIAsyncFavicons.idl',

View File

@ -1,14 +0,0 @@
# vim:set noet:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk