Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted

This commit is contained in:
Ms2ger 2013-08-22 08:56:00 +02:00
parent 8085d723ed
commit 4e45b3d52e
98 changed files with 103 additions and 112 deletions

View File

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

View File

@ -101,3 +101,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -18,7 +18,6 @@ endif
LIBRARY_NAME = gklayout
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
SHARED_LIBRARY_LIBS = \
../base/$(LIB_PREFIX)gkbase_s.$(LIB_SUFFIX) \
../forms/$(LIB_PREFIX)gkforms_s.$(LIB_SUFFIX) \

View File

@ -20,3 +20,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -40,3 +40,5 @@ LIBRARY_NAME = 'gkforms_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkgeneric_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
RESOURCES_HTML = \
$(srcdir)/folder.png \
$(NULL)

View File

@ -95,3 +95,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
]
FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
LIBXUL_LIBRARY = True

View File

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

View File

@ -31,3 +31,5 @@ LIBRARY_NAME = 'inspector_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -23,3 +23,5 @@ IPDL_SOURCES = [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -12,7 +12,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkmathml_s
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../style \
-I$(srcdir)/../base \

View File

@ -33,3 +33,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -26,3 +26,5 @@ LIBRARY_NAME = 'gkprinting_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -11,7 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkstyle_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
ifdef GNU_CC
OS_CFLAGS := $(OS_CFLAGS) -Wshadow
OS_CXXFLAGS := $(OS_CXXFLAGS) -Wshadow

View File

@ -125,3 +125,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -55,3 +55,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -31,3 +31,5 @@ LIBRARY_NAME = 'gktable_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -26,3 +26,5 @@ LIBRARY_NAME = 'gkdebug'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -56,3 +56,5 @@ if CONFIG['MOZ_XUL']:
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -34,3 +34,5 @@ LIBRARY_NAME = 'gkxulgrid_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -37,3 +37,5 @@ LIBRARY_NAME = 'gkxultree_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -15,8 +15,6 @@ ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
endif
LIBXUL_LIBRARY=1
include $(srcdir)/../objs.mk

View File

@ -31,3 +31,6 @@ CPP_SOURCES += [
LIBRARY_NAME = 'mtransport'
FAIL_ON_WARNINGS = not CONFIG['_MSC_VER']
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
ifdef MOZ_ANDROID_HISTORY

View File

@ -26,3 +26,5 @@ if CONFIG['MOZ_ANDROID_HISTORY']:
LIBRARY_NAME = 'browsercomps'
LIBXUL_LIBRARY = True

View File

@ -13,6 +13,5 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = jar$(VERSION_NUMBER)
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

View File

@ -36,3 +36,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -11,6 +11,4 @@ include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk

View File

@ -17,3 +17,5 @@ CPP_SOURCES += [
LIBRARY_NAME = 'zipwriter'
LIBXUL_LIBRARY = True

View File

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = pref
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
DEFINES += -DOS_ARCH=$(OS_ARCH) \
-DMOZ_WIDGET_TOOLKIT=$(MOZ_WIDGET_TOOLKIT) \
$(NULL)

View File

@ -14,3 +14,5 @@ CPP_SOURCES += [
'prefread.cpp',
]
LIBXUL_LIBRARY = True

View File

@ -13,7 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = neckobase_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES += -I$(topsrcdir)/dom/base
ifdef MOZ_PLATFORM_MAEMO

View File

@ -113,3 +113,5 @@ EXTRA_JS_MODULES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -13,7 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = necko
MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
SHARED_LIBRARY_LIBS = \
../base/src/$(LIB_PREFIX)neckobase_s.$(LIB_SUFFIX) \
../dns/$(LIB_PREFIX)neckodns_s.$(LIB_SUFFIX) \

View File

@ -16,3 +16,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -46,3 +46,5 @@ LIBRARY_NAME = 'nkcache_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -15,8 +15,6 @@ VPATH := @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY := 1
LOCAL_INCLUDES := \
-I$(topsrcdir)/content/base/src \
-I$(topsrcdir)/content/html/content/public \

View File

@ -20,3 +20,5 @@ CPP_SOURCES += [
LIBRARY_NAME = 'nkdashmpd_s'
LIBXUL_LIBRARY = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
# need to include etld_data.inc
LOCAL_INCLUDES = \

View File

@ -39,3 +39,5 @@ LIBRARY_NAME = 'neckodns_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,7 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = neckoipc_s
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
LOCAL_INCLUDES += \
-I$(srcdir)/../protocol/http \

View File

@ -39,3 +39,5 @@ IPDL_SOURCES = [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -24,3 +24,5 @@ LIBRARY_NAME = 'nkmime_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkabout_s
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
$(NULL)

View File

@ -26,3 +26,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
$(NULL)

View File

@ -15,3 +15,5 @@ LIBRARY_NAME = 'nkdata_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkdevice_s
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../../base/src/ \
$(NULL)

View File

@ -22,3 +22,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -22,3 +22,5 @@ LIBRARY_NAME = 'nkfile_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkftp_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
-I$(topsrcdir)/xpcom/ds \

View File

@ -36,3 +36,5 @@ IPDL_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkhttp_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
-I$(topsrcdir)/xpcom/ds \

View File

@ -82,3 +82,5 @@ EXTRA_JS_MODULES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkres_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(topsrcdir)/netwerk/base/src \
$(NULL)

View File

@ -18,3 +18,5 @@ CPP_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
$(NULL)

View File

@ -21,3 +21,5 @@ LIBRARY_NAME = 'nkviewsource_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -33,3 +33,5 @@ IPDL_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkwyciwyg_s
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/../../base/src \
$(NULL)

View File

@ -31,3 +31,5 @@ IPDL_SOURCES += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nkdatachan_s
LIBXUL_LIBRARY = 1
NO_PROFILE_GUIDED_OPTIMIZE = 1 # Don't PGO
LOCAL_INCLUDES = \
-I$(topsrcdir)/xpcom/ds \

View File

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

View File

@ -15,7 +15,6 @@ VPATH = \
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nksctp_s
LIBXUL_LIBRARY = 1
NO_PROFILE_GUIDED_OPTIMIZE = 1 # Don't PGO
LOCAL_INCLUDES = \

View File

@ -44,3 +44,6 @@ if CONFIG['OS_TARGET'] == 'Android':
CPP_SOURCES += [
'ifaddrs_android.cpp',
]
LIBXUL_LIBRARY = True

View File

@ -1,16 +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
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk

View File

@ -27,3 +27,5 @@ LIBRARY_NAME = 'neckosocket_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -21,8 +21,6 @@ VPATH = \
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = nksrtp_s
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = \
-I$(srcdir)/include \
-I$(srcdir)/crypto/include \

View File

@ -34,3 +34,6 @@ CSRCS += [
'stat.c',
'ut_sim.c',
]
LIBXUL_LIBRARY = True

View File

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

View File

@ -32,3 +32,5 @@ LIBRARY_NAME = 'nkcnvts_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

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

View File

@ -21,3 +21,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa' and CONFIG['OS_TEST'] != 'x86_64':
LIBRARY_NAME = 'nkconv_s'
LIBXUL_LIBRARY = True

View File

@ -8,8 +8,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += -I$(srcdir)/../../base/src

View File

@ -14,3 +14,5 @@ LIBRARY_NAME = 'neckosystem_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -1,15 +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
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk

View File

@ -14,3 +14,5 @@ CMMSRCS += [
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -8,8 +8,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk
OS_INCLUDES += $(GLIB_CFLAGS) $(LIBCONIC_CFLAGS)

View File

@ -15,3 +15,5 @@ LIBRARY_NAME = 'neckosystem_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk
OS_INCLUDES += $(MOZ_QT_CFLAGS)

View File

@ -16,3 +16,5 @@ LIBRARY_NAME = 'neckosystem_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -1,15 +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
LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk

View File

@ -15,3 +15,5 @@ LIBRARY_NAME = 'neckosystem_s'
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True

View File

@ -9,8 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBXUL_LIBRARY = 1
ifeq ($(OS_ARCH),SunOS)
OS_INCLUDES += $(GLIB_CFLAGS)
endif

View File

@ -53,3 +53,6 @@ if CONFIG['NECKO_WIFI_DBUS']:
]
LIBRARY_NAME = 'neckowifi_s'
LIBXUL_LIBRARY = True