bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg

This commit is contained in:
Trevor Saunders 2013-06-25 11:15:21 -04:00
Родитель 38ca368790
Коммит 4fda35a773
87 изменённых файлов: 43 добавлений и 208 удалений

Просмотреть файл

@ -239,9 +239,10 @@ _ENABLE_PIC=1
ifdef LIBXUL_LIBRARY ifdef LIBXUL_LIBRARY
ifdef IS_COMPONENT ifdef IS_COMPONENT
ifndef MODULE_NAME $(error IS_COMPONENT is set, but is not compatible with LIBXUL_LIBRARY)
$(error Component makefile does not specify MODULE_NAME.)
endif endif
ifdef MODULE_NAME
$(error MODULE_NAME is $(MODULE_NAME) but MODULE_NAME and LIBXUL_LIBRARY are not compatible)
endif endif
FORCE_STATIC_LIB=1 FORCE_STATIC_LIB=1
ifneq ($(SHORT_LIBNAME),) ifneq ($(SHORT_LIBNAME),)

Просмотреть файл

@ -8,8 +8,6 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
IS_COMPONENT = 1
MODULE_NAME = docshell_provider
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk

Просмотреть файл

@ -9,9 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = peerconnection
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkplugin LIBRARY_NAME = gkplugin
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsPluginModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifeq ($(MOZ_WIDGET_TOOLKIT),android) ifeq ($(MOZ_WIDGET_TOOLKIT),android)

Просмотреть файл

@ -12,7 +12,6 @@ FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = javascript__protocol
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
LOCAL_INCLUDES += \ LOCAL_INCLUDES += \

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsComposerModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -12,8 +12,6 @@ FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsTransactionManagerModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -12,7 +12,6 @@ FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = nsTextServicesModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
MODULE_NAME = Browser_Embedding_Module
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = embedcomponents
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,9 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
MODULE_NAME = nsAuthModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = cookie LIBRARY_NAME = cookie
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsCookieModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,9 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
MODULE_NAME = nsGIOModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsPermissionsModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = autoconfig LIBRARY_NAME = autoconfig
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsAutoConfigModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -9,9 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = mozSpellCheckerModule
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsUniversalCharDetModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../base LOCAL_INCLUDES = -I$(srcdir)/../base

Просмотреть файл

@ -10,11 +10,9 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = nsGfxModule
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -12,9 +12,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
# Create a GTest library # Create a GTest library
MODULE_NAME = gfxtest
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LOCAL_INCLUDES = \ LOCAL_INCLUDES = \

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsImageLib2Module
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = nsDecodersModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
MODULE_NAME = nsIconDecoderModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = imgEncoderBMPModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = imgEncoderICOModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = imgEncoderJPEGModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = imgEncoderPNGModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = imglib2_s LIBRARY_NAME = imglib2_s
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = nsImageLib2Module
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsI18nModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
# see also intl/locale/src/Makefile.in # see also intl/locale/src/Makefile.in

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsChardetModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsUConvModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../util \ LOCAL_INCLUDES = -I$(srcdir)/../util \

Просмотреть файл

@ -15,8 +15,6 @@ EXPORT_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
MODULE_NAME = nsUCUtil
CSRCS = \ CSRCS = \
ugen.c \ ugen.c \
uscan.c \ uscan.c \

Просмотреть файл

@ -10,11 +10,8 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = jsdebugger
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
EXTRA_DSO_LDOPTS += \ EXTRA_DSO_LDOPTS += \
$(MOZ_COMPONENT_LIBS) \ $(MOZ_COMPONENT_LIBS) \

Просмотреть файл

@ -14,10 +14,8 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
MODULE_NAME = JavaScript_Debugger
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
# REQUIRES = java js # REQUIRES = java js

Просмотреть файл

@ -239,9 +239,10 @@ _ENABLE_PIC=1
ifdef LIBXUL_LIBRARY ifdef LIBXUL_LIBRARY
ifdef IS_COMPONENT ifdef IS_COMPONENT
ifndef MODULE_NAME $(error IS_COMPONENT is set, but is not compatible with LIBXUL_LIBRARY)
$(error Component makefile does not specify MODULE_NAME.)
endif endif
ifdef MODULE_NAME
$(error MODULE_NAME is $(MODULE_NAME) but MODULE_NAME and LIBXUL_LIBRARY are not compatible)
endif endif
FORCE_STATIC_LIB=1 FORCE_STATIC_LIB=1
ifneq ($(SHORT_LIBNAME),) ifneq ($(SHORT_LIBNAME),)

Просмотреть файл

@ -18,8 +18,6 @@ endif
LIBRARY_NAME = gklayout LIBRARY_NAME = gklayout
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsLayoutModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsLayoutDebugModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

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

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = jar$(VERSION_NUMBER) LIBRARY_NAME = jar$(VERSION_NUMBER)
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsJarModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = necko LIBRARY_NAME = necko
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = necko
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsParserModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsRDFModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
# XXX Note dependencies on implementation headers for factory functions # XXX Note dependencies on implementation headers for factory functions

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
IS_COMPONENT = 1
MODULE_NAME = BOOT
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
MODULE_NAME = PKI
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT = 1
MODULE_NAME = NSS
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
CSRCS += md4.c CSRCS += md4.c

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
EXPORT_LIBRARY := 1 EXPORT_LIBRARY := 1
IS_COMPONENT := 1
MODULE_NAME := nsServicesCryptoModule
LIBXUL_LIBRARY := 1 LIBXUL_LIBRARY := 1
MOZILLA_INTERNAL_API := 1 MOZILLA_INTERNAL_API := 1

Просмотреть файл

@ -10,9 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = StartupCacheModule
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -11,8 +11,6 @@ VPATH=@srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = mozStorageModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = mozStorageModule
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -17,10 +17,8 @@ VPATH = \
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = gtest
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
LOCAL_INCLUDES += \ LOCAL_INCLUDES += \
-I$(srcdir)/gtest \ -I$(srcdir)/gtest \

Просмотреть файл

@ -9,8 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = tkAutoCompleteModule
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = toolkitcomps LIBRARY_NAME = toolkitcomps
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsToolkitCompsModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = CommandLineModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -9,11 +9,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = jsctypes
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
LOCAL_INCLUDES := \ LOCAL_INCLUDES := \
-I$(topsrcdir)/js/xpconnect/loader \ -I$(topsrcdir)/js/xpconnect/loader \

Просмотреть файл

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = diskspacewatcher LIBRARY_NAME = diskspacewatcher
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = DiskSpaceWatcherModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -14,8 +14,6 @@ include $(DEPTH)/config/autoconf.mk
ifdef MOZ_XUL ifdef MOZ_XUL
ifeq (,$(filter android qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT))) ifeq (,$(filter android qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsFileViewModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
endif endif
endif endif

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = mediasniffer LIBRARY_NAME = mediasniffer
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
MODULE_NAME = nsMediaSnifferModule
IS_COMPONENT = 1
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk

Просмотреть файл

@ -9,11 +9,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = jsperf
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
LOCAL_INCLUDES := \ LOCAL_INCLUDES := \

Просмотреть файл

@ -14,8 +14,6 @@ LIBRARY_NAME = places
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
MODULE_NAME = nsPlacesModule
IS_COMPONENT = 1
LOCAL_INCLUDES += -I$(srcdir)/../build LOCAL_INCLUDES += -I$(srcdir)/../build

Просмотреть файл

@ -9,11 +9,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = jsreflect
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
EXTRA_DSO_LDOPTS += \ EXTRA_DSO_LDOPTS += \
$(MOZ_COMPONENT_LIBS) \ $(MOZ_COMPONENT_LIBS) \

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = RemoteServiceModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

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

Просмотреть файл

@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
MODULE_NAME = nsBrowserModule
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -12,11 +12,8 @@ include $(DEPTH)/config/autoconf.mk
USE_RCS_MK := 1 USE_RCS_MK := 1
include $(topsrcdir)/config/makefiles/rcs.mk include $(topsrcdir)/config/makefiles/rcs.mk
MODULE_NAME = telemetry
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
LIBRARY_NAME = telemetry LIBRARY_NAME = telemetry

Просмотреть файл

@ -9,11 +9,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = jsinspector
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
EXTRA_DSO_LDOPTS += \ EXTRA_DSO_LDOPTS += \
$(MOZ_COMPONENT_LIBS) \ $(MOZ_COMPONENT_LIBS) \

Просмотреть файл

@ -11,10 +11,8 @@ include $(DEPTH)/config/autoconf.mk
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
MODULE_NAME = identity
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -58,7 +58,6 @@ endif
endif endif
SHARED_LIBRARY_LIBS += \ SHARED_LIBRARY_LIBS += \
$(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/components/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \
$(foreach lib,$(STATIC_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX)) \ $(foreach lib,$(STATIC_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX)) \
$(NULL) $(NULL)
@ -135,7 +134,7 @@ STATIC_LIBS += \
$(NULL) $(NULL)
# component libraries # component libraries
COMPONENT_LIBS += \ STATIC_LIBS += \
necko \ necko \
uconv \ uconv \
i18n \ i18n \
@ -171,94 +170,94 @@ COMPONENT_LIBS += \
$(NULL) $(NULL)
ifdef BUILD_CTYPES ifdef BUILD_CTYPES
COMPONENT_LIBS += \ STATIC_LIBS += \
jsctypes \ jsctypes \
$(NULL) $(NULL)
endif endif
COMPONENT_LIBS += \ STATIC_LIBS += \
jsperf \ jsperf \
gkplugin \ gkplugin \
$(NULL) $(NULL)
ifdef MOZ_XUL ifdef MOZ_XUL
ifdef MOZ_ENABLE_GTK ifdef MOZ_ENABLE_GTK
COMPONENT_LIBS += \ STATIC_LIBS += \
unixproxy \ unixproxy \
$(NULL) $(NULL)
endif endif
endif endif
ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
COMPONENT_LIBS += \ STATIC_LIBS += \
osxproxy \ osxproxy \
$(NULL) $(NULL)
endif endif
ifdef MOZ_XUL ifdef MOZ_XUL
ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
COMPONENT_LIBS += \ STATIC_LIBS += \
unixproxy \ unixproxy \
$(NULL) $(NULL)
endif endif
endif endif
ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
COMPONENT_LIBS += \ STATIC_LIBS += \
windowsproxy \ windowsproxy \
$(NULL) $(NULL)
endif endif
ifneq (,$(filter android,$(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter android,$(MOZ_WIDGET_TOOLKIT)))
COMPONENT_LIBS += \ STATIC_LIBS += \
androidproxy \ androidproxy \
$(NULL) $(NULL)
endif endif
ifdef MOZ_JSDEBUGGER ifdef MOZ_JSDEBUGGER
DEFINES += -DMOZ_JSDEBUGGER DEFINES += -DMOZ_JSDEBUGGER
COMPONENT_LIBS += \ STATIC_LIBS += \
jsd \ jsd \
$(NULL) $(NULL)
endif endif
ifdef MOZ_PREF_EXTENSIONS ifdef MOZ_PREF_EXTENSIONS
DEFINES += -DMOZ_PREF_EXTENSIONS DEFINES += -DMOZ_PREF_EXTENSIONS
COMPONENT_LIBS += \ STATIC_LIBS += \
autoconfig \ autoconfig \
$(NULL) $(NULL)
endif endif
ifdef MOZ_AUTH_EXTENSION ifdef MOZ_AUTH_EXTENSION
COMPONENT_LIBS += auth STATIC_LIBS += auth
DEFINES += -DMOZ_AUTH_EXTENSION DEFINES += -DMOZ_AUTH_EXTENSION
endif endif
ifdef MOZ_PERMISSIONS ifdef MOZ_PERMISSIONS
COMPONENT_LIBS += cookie permissions STATIC_LIBS += cookie permissions
DEFINES += -DMOZ_PERMISSIONS DEFINES += -DMOZ_PERMISSIONS
endif endif
ifdef MOZ_UNIVERSALCHARDET ifdef MOZ_UNIVERSALCHARDET
COMPONENT_LIBS += universalchardet STATIC_LIBS += universalchardet
DEFINES += -DMOZ_UNIVERSALCHARDET DEFINES += -DMOZ_UNIVERSALCHARDET
endif endif
ifeq (,$(filter android gonk qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT))) ifeq (,$(filter android gonk qt os2 cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
ifdef MOZ_XUL ifdef MOZ_XUL
COMPONENT_LIBS += fileview STATIC_LIBS += fileview
DEFINES += -DMOZ_FILEVIEW DEFINES += -DMOZ_FILEVIEW
endif endif
endif endif
ifdef MOZ_PLACES ifdef MOZ_PLACES
COMPONENT_LIBS += \ STATIC_LIBS += \
places \ places \
$(NULL) $(NULL)
endif endif
ifdef MOZ_XUL ifdef MOZ_XUL
COMPONENT_LIBS += \ STATIC_LIBS += \
tkautocomplete \ tkautocomplete \
satchel \ satchel \
pippki \ pippki \
@ -266,11 +265,11 @@ COMPONENT_LIBS += \
endif endif
ifdef MOZ_ENABLE_GTK3 ifdef MOZ_ENABLE_GTK3
COMPONENT_LIBS += widget_gtk3 STATIC_LIBS += widget_gtk3
endif endif
ifdef MOZ_ENABLE_GTK2 ifdef MOZ_ENABLE_GTK2
COMPONENT_LIBS += widget_gtk2 STATIC_LIBS += widget_gtk2
endif endif
ifdef MOZ_ENABLE_GTK2 ifdef MOZ_ENABLE_GTK2
@ -282,69 +281,68 @@ endif
# Platform-specific icon channel stuff - supported mostly-everywhere # Platform-specific icon channel stuff - supported mostly-everywhere
ifneq (,$(filter windows os2 mac cocoa gtk2 gtk3 qt android,$(MOZ_WIDGET_TOOLKIT))) ifneq (,$(filter windows os2 mac cocoa gtk2 gtk3 qt android,$(MOZ_WIDGET_TOOLKIT)))
DEFINES += -DICON_DECODER DEFINES += -DICON_DECODER
COMPONENT_LIBS += imgicon STATIC_LIBS += imgicon
endif endif
ifeq ($(MOZ_WIDGET_TOOLKIT),android) ifeq ($(MOZ_WIDGET_TOOLKIT),android)
COMPONENT_LIBS += widget_android STATIC_LIBS += widget_android skia_npapi
STATIC_LIBS += skia_npapi
endif endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk) ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
COMPONENT_LIBS += widget_gonk STATIC_LIBS += widget_gonk
endif endif
STATIC_LIBS += thebes gl ycbcr STATIC_LIBS += thebes gl ycbcr
ifdef MOZ_ENABLE_PROFILER_SPS ifdef MOZ_ENABLE_PROFILER_SPS
COMPONENT_LIBS += profiler STATIC_LIBS += profiler
endif endif
ifeq (windows,$(MOZ_WIDGET_TOOLKIT)) ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
COMPONENT_LIBS += widget_windows STATIC_LIBS += widget_windows
ifdef MOZ_METRO ifdef MOZ_METRO
COMPONENT_LIBS += widget_winrt STATIC_LIBS += widget_winrt
endif endif
endif endif
ifeq (os2,$(MOZ_WIDGET_TOOLKIT)) ifeq (os2,$(MOZ_WIDGET_TOOLKIT))
COMPONENT_LIBS += wdgtos2 STATIC_LIBS += wdgtos2
endif endif
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
COMPONENT_LIBS += widget_mac STATIC_LIBS += widget_mac
endif endif
ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
COMPONENT_LIBS += widget_qt STATIC_LIBS += widget_qt
endif endif
ifdef MOZ_ENABLE_XREMOTE ifdef MOZ_ENABLE_XREMOTE
COMPONENT_LIBS += remoteservice STATIC_LIBS += remoteservice
endif endif
ifdef MOZ_SPELLCHECK ifdef MOZ_SPELLCHECK
DEFINES += -DMOZ_SPELLCHECK DEFINES += -DMOZ_SPELLCHECK
COMPONENT_LIBS += spellchecker STATIC_LIBS += spellchecker
endif endif
ifdef MOZ_ZIPWRITER ifdef MOZ_ZIPWRITER
DEFINES += -DMOZ_ZIPWRITER DEFINES += -DMOZ_ZIPWRITER
COMPONENT_LIBS += zipwriter STATIC_LIBS += zipwriter
endif endif
COMPONENT_LIBS += services-crypto STATIC_LIBS += services-crypto
ifdef MOZ_DEBUG ifdef MOZ_DEBUG
ifdef ENABLE_TESTS ifdef ENABLE_TESTS
COMPONENT_LIBS += gkdebug STATIC_LIBS += gkdebug
endif endif
endif endif
ifdef MOZ_GIO_COMPONENT ifdef MOZ_GIO_COMPONENT
DEFINES += -DMOZ_GIO_COMPONENT DEFINES += -DMOZ_GIO_COMPONENT
COMPONENT_LIBS += nkgio STATIC_LIBS += nkgio
endif endif
ifdef MOZ_APP_COMPONENT_LIBS ifdef MOZ_APP_COMPONENT_LIBS
COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS) STATIC_LIBS += $(MOZ_APP_COMPONENT_LIBS)
endif endif
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
@ -396,7 +394,7 @@ EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib)
ifdef MOZ_WEBRTC ifdef MOZ_WEBRTC
ifdef MOZ_PEERCONNECTION ifdef MOZ_PEERCONNECTION
COMPONENT_LIBS += peerconnection STATIC_LIBS += peerconnection
endif endif
ifdef MOZ_WEBRTC_SIGNALING ifdef MOZ_WEBRTC_SIGNALING
EXTRA_DSO_LDOPTS += \ EXTRA_DSO_LDOPTS += \
@ -716,7 +714,7 @@ endif
ifdef LINK_GTEST ifdef LINK_GTEST
COMPONENT_LIBS += \ STATIC_LIBS += \
gtest \ gtest \
gfxtest \ gfxtest \
$(NULL) $(NULL)

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsAndroidProxyModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsOSXProxyModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsUnixProxyModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifdef MOZ_ENABLE_LIBPROXY ifdef MOZ_ENABLE_LIBPROXY

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsWindowsProxyModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -23,10 +23,8 @@ ifneq (,$(filter armeabi,$(ANDROID_CPU_ARCH)))
DEFINES += -DARCH_ARMV6 DEFINES += -DARCH_ARMV6
endif endif
MODULE_NAME = nsProfilerModule
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
ifndef _MSC_VER ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER endif # !_MSC_VER

Просмотреть файл

@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
MODULE_NAME = nsViewModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1

Просмотреть файл

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_android LIBRARY_NAME = widget_android
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsWidgetAndroidModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1

Просмотреть файл

@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsWidgetMacModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -24,8 +24,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_gonk LIBRARY_NAME = widget_gonk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsWidgetGonkModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a

Просмотреть файл

@ -11,15 +11,12 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
ifdef MOZ_ENABLE_GTK2 ifdef MOZ_ENABLE_GTK2
MODULE_NAME = nsWidgetGtk2Module
LIBRARY_NAME = widget_gtk2 LIBRARY_NAME = widget_gtk2
else else
MODULE_NAME = nsWidgetGtk3Module
LIBRARY_NAME = widget_gtk3 LIBRARY_NAME = widget_gtk3
endif endif
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
NATIVE_THEME_SUPPORT = 1 NATIVE_THEME_SUPPORT = 1

Просмотреть файл

@ -11,9 +11,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
RESFILE = widget.res RESFILE = widget.res
MODULE_NAME = nsWidgetOS2Module
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_qt LIBRARY_NAME = widget_qt
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsWidgetQtModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a

Просмотреть файл

@ -13,9 +13,7 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_windows LIBRARY_NAME = widget_windows
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
RESFILE = widget.res RESFILE = widget.res
MODULE_NAME = nsWidgetWinModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE

Просмотреть файл

@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_winrt LIBRARY_NAME = widget_winrt
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = WidgetWinRTModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE DEFINES += -D_IMPL_NS_WIDGET -DMOZ_UNICODE

Просмотреть файл

@ -10,13 +10,10 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = xpcom_glue_gtest
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
LOCAL_INCLUDES = \ LOCAL_INCLUDES = \ -I$(srcdir)/../.. \
-I$(srcdir)/../.. \
$(NULL) $(NULL)
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
IS_COMPONENT=1
MODULE_NAME = appshell
MSVC_ENABLE_PGO := 1 MSVC_ENABLE_PGO := 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,9 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = xpAutoComplete
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = appcomps LIBRARY_NAME = appcomps
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = application
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1

Просмотреть файл

@ -10,9 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE_NAME = nsWindowDataSourceModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1