Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal

This commit is contained in:
Mike Hommey 2013-11-19 11:47:45 +09:00
parent af597402a7
commit b2e90f6233
94 changed files with 84 additions and 108 deletions

View File

@ -10,8 +10,6 @@ DEFINES += -DREGISTER_PROXY_DLL
GARBAGE += $(MIDL_GENERATED_FILES)
FORCE_SHARED_LIB = 1
# Please keep this list in sync with the moz.build file until the rest of this
# Makefile is ported over.
MIDL_INTERFACES = \

View File

@ -6,3 +6,4 @@
LIBRARY_NAME = 'IA2Marshal'
FORCE_SHARED_LIB = True

View File

@ -8,8 +8,6 @@ DEFINES += -DREGISTER_PROXY_DLL
GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c
FORCE_SHARED_LIB = 1
MIDL_GENERATED_FILES = \
ISimpleDOMNode.h \
ISimpleDOMNode_p.c \

View File

@ -15,3 +15,5 @@ GENERATED_SOURCES += [
'ISimpleDOMText_i.c',
'ISimpleDOMText_p.c',
]
FORCE_SHARED_LIB = True

View File

@ -4,7 +4,6 @@
SHORT_LIBNAME = brwsrcmp
MODULE_NAME = nsBrowserCompsModule
FORCE_SHARED_LIB = 1
ifeq ($(OS_ARCH),WINNT)
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32 shlwapi)

View File

@ -16,3 +16,4 @@ LIBRARY_NAME = 'browsercomps'
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEFFILE = $(srcdir)/crashinjectdll.def
FORCE_SHARED_LIB = 1
USE_STATIC_LIBS = 1
MOZ_GLUE_LDFLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'crashinjectdll'
FORCE_SHARED_LIB = True

View File

@ -4,7 +4,6 @@
DEFFILE = $(srcdir)/$(LIBRARY_NAME).def
FORCE_SHARED_LIB = 1
USE_STATIC_LIBS = 1
MOZ_GLUE_LDFLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'vmwarerecordinghelper'
FORCE_SHARED_LIB = True

View File

@ -42,6 +42,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
EXTRA_PP_COMPONENTS \
EXTRA_PP_JS_MODULES \
FORCE_SHARED_LIB \
FORCE_STATIC_LIB \
GTEST_CMMSRCS \
GTEST_CPPSRCS \

View File

@ -4,9 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SHORT_LIBNAME = mozsqlt3
ifndef MOZ_FOLD_LIBS
FORCE_SHARED_LIB = 1
endif
LIB_IS_C_ONLY = 1
ifeq ($(OS_ARCH),WINNT)

View File

@ -17,3 +17,5 @@ SOURCES += [
if CONFIG['MOZ_FOLD_LIBS']:
FORCE_STATIC_LIB = True
else:
FORCE_SHARED_LIB = True

View File

@ -2,7 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
DIST_INSTALL = 1

View File

@ -11,3 +11,5 @@ SOURCES += [ "%s.mm" % (LIBRARY_NAME) ]
SOURCES += [
'plugin_child_quirks.mm',
]
FORCE_SHARED_LIB = True

View File

@ -3,8 +3,6 @@
# 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/.
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; nptest isn't Gecko code
STL_FLAGS =

View File

@ -40,3 +40,5 @@ elif toolkit == 'windows':
SOURCES += [
relative_path + '/nptest_windows.cpp',
]
FORCE_SHARED_LIB = True

View File

@ -12,8 +12,3 @@ EXTRA_DSO_LDOPTS = \
$(NSPR_LIBS) \
$(MOZ_GNOMEVFS_LIBS) \
$(NULL)
# make sure this component is never statically linked into the main
# application. this is necessary since we don't want to force users
# to install gnome-vfs2 in order to use the rest of mozilla ;-)
FORCE_SHARED_LIB= 1

View File

@ -12,3 +12,7 @@ LIBRARY_NAME = 'nkgnomevfs'
IS_COMPONENT = True
# make sure this component is never statically linked into the main
# application. this is necessary since we don't want to force users
# to install gnome-vfs2 in order to use the rest of mozilla ;-)
FORCE_SHARED_LIB = True

View File

@ -4,7 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SHORT_LIBNAME = widgetutils
FORCE_SHARED_LIB = 1
EXTRA_DSO_LDOPTS = \
$(XPCOM_GLUE_LDOPTS) \

View File

@ -16,3 +16,5 @@ XPI_NAME = 'widgetutils'
if CONFIG['TARGET_XPCOM_ABI']:
FINAL_TARGET += '/platform/%(OS_TARGET)s_%(TARGET_XPCOM_ABI)s' % CONFIG
FORCE_SHARED_LIB = True

View File

@ -2,9 +2,6 @@
# 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/.
# On Windows, we don't automatically get "lib" prepended, but we need it.
FORCE_SHARED_LIB = 1
# ANGLE uses the STL, so we can't use our derpy STL wrappers.
STL_FLAGS =

View File

@ -21,4 +21,7 @@ SOURCES += [
'Surface.cpp',
]
# On Windows, we don't automatically get "lib" prepended, but we need it.
LIBRARY_NAME = 'libEGL'
FORCE_SHARED_LIB = True

View File

@ -2,9 +2,6 @@
# 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/.
# On Windows, we don't automatically get "lib" prepended, but we need it.
FORCE_SHARED_LIB = 1
# ANGLE uses the STL, so we can't use our derpy STL wrappers.
STL_FLAGS =

View File

@ -175,4 +175,7 @@ SOURCES += ['renderer/' + src for src in [
'VertexDeclarationCache.cpp',
]]
# On Windows, we don't automatically get "lib" prepended, but we need it.
LIBRARY_NAME = 'libGLESv2'
FORCE_SHARED_LIB = True

View File

@ -20,17 +20,6 @@ run_for_side_effects := $(shell echo "MAKE: $(MAKE)")
STATIC_LIBRARY_NAME = js_static
LIBS = $(NSPR_LIBS)
# JavaScript must be built shared, even for static builds, as it is used by
# other modules which are always built shared. Failure to do so results in
# the js code getting copied into xpinstall and jsd as well as mozilla-bin,
# and then the static data cells used for locking no longer work.
#
# In fact, we now build both a static and a shared library, as the
# JS shell would like to link to the static library.
ifdef JS_SHARED_LIBRARY
FORCE_SHARED_LIB = 1
endif
DIST_INSTALL = 1
VPATH += \

View File

@ -42,6 +42,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
EXTRA_PP_COMPONENTS \
EXTRA_PP_JS_MODULES \
FORCE_SHARED_LIB \
FORCE_STATIC_LIB \
GTEST_CMMSRCS \
GTEST_CPPSRCS \

View File

@ -371,4 +371,15 @@ HOST_SIMPLE_PROGRAMS += [
'host_%s' % f.replace('.cpp', '') for f in HOST_SOURCES
]
# JavaScript must be built shared, even for static builds, as it is used by
# other modules which are always built shared. Failure to do so results in
# the js code getting copied into xpinstall and jsd as well as mozilla-bin,
# and then the static data cells used for locking no longer work.
#
# In fact, we now build both a static and a shared library, as the
# JS shell would like to link to the static library.
if CONFIG['JS_SHARED_LIBRARY']:
FORCE_SHARED_LIB = True
FORCE_STATIC_LIB = True

View File

@ -4,7 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE_NAME = xpconnect_test
FORCE_SHARED_LIB = 1
componentdir = js/xpconnect/tests/components/native

View File

@ -16,3 +16,4 @@ LIBRARY_NAME = 'xpctest'
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -4,9 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
EXPORT_LIBRARY = $(DIST)/lib
ifeq (WINNT,$(OS_TARGET))
FORCE_SHARED_LIB = 1
endif
ifeq (WINNT,$(OS_TARGET))
EXTRA_DSO_LDOPTS = $(MOZALLOC_LIB) $(NSPR_LIBS)

View File

@ -6,5 +6,8 @@
LIBRARY_NAME = 'gkmedias'
if CONFIG['OS_TARGET'] == 'WINNT':
FORCE_SHARED_LIB = True
if CONFIG['MOZ_WEBRTC']:
DIRS += ['webrtc']

View File

@ -13,7 +13,6 @@
# limitations under the License.
MODULE_NAME = omxplugin
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -13,7 +13,6 @@
# limitations under the License.
MODULE_NAME = omxpluginfroyo
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'omxpluginfroyo'
FORCE_SHARED_LIB = True

View File

@ -13,7 +13,6 @@
# limitations under the License.
MODULE_NAME = omxplugingb
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'omxplugingb'
FORCE_SHARED_LIB = True

View File

@ -13,7 +13,6 @@
# limitations under the License.
MODULE_NAME = omxplugingb235
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'omxplugingb235'
FORCE_SHARED_LIB = True

View File

@ -13,7 +13,6 @@
# limitations under the License.
MODULE_NAME = omxpluginhc
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -10,3 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'omxpluginhc'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidstagefrightfroyo
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidstagefrightgb
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libstagefright_color_conversion
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright_color_conversion'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidutilsgb
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'utils'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidstagefrightgb234
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidstagefrighthc
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidstagefright
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'stagefright'
FORCE_SHARED_LIB = True

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
MODULE_NAME = libandroidutils
FORCE_SHARED_LIB = 1
# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

View File

@ -12,3 +12,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
LIBRARY_NAME = 'utils'
FORCE_SHARED_LIB = True

View File

@ -20,3 +20,4 @@ SOURCES += [
LIBRARY_NAME = 'omxplugin'
FORCE_SHARED_LIB = True

View File

@ -10,10 +10,6 @@ endif
DIST_INSTALL = 1
ifneq (gonk,$(MOZ_WIDGET_TOOLKIT))
FORCE_SHARED_LIB= 1
endif
ifeq (,$(filter-out OS2,$(OS_ARCH)))
# The strndup declaration in string.h is in an ifdef __USE_GNU section
DEFINES += -D_GNU_SOURCE

View File

@ -42,3 +42,5 @@ LIBRARY_NAME = 'mozalloc'
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
FORCE_STATIC_LIB = True
else:
FORCE_SHARED_LIB = True

View File

@ -3,8 +3,6 @@
# 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/.
FORCE_SHARED_LIB= 1
DEFINES += -DMOZ_NO_MOZALLOC
# Disable mozglue.

View File

@ -20,3 +20,4 @@ SOURCES += [
LIBRARY_NAME = 'dmd'
FORCE_SHARED_LIB = True

View File

@ -1,5 +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/.
FORCE_SHARED_LIB = 1

View File

@ -11,3 +11,4 @@ SOURCES += [
LIBRARY_NAME = 'replace_malloc'
FORCE_SHARED_LIB = True

View File

@ -2,8 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
SHARED_LIBRARY_LIBS = $(call EXPAND_LIBNAME_PATH,jemalloc,$(DEPTH)/memory/jemalloc)
DEFINES += -DMOZ_JEMALLOC3 -DMOZ_REPLACE_JEMALLOC
LOCAL_INCLUDES += -I../../jemalloc/src/include

View File

@ -20,3 +20,4 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
LIBRARY_NAME = 'replace_jemalloc'
FORCE_SHARED_LIB = True

View File

@ -5,11 +5,8 @@
DIST_INSTALL = 1
# Build mozglue as a shared lib on Windows, OSX and Android.
# If this is ever changed, update MOZ_SHARED_MOZGLUE in browser/installer/Makefile.in
ifneq (,$(filter WINNT Darwin Android,$(OS_TARGET)))
FORCE_SHARED_LIB = 1
endif
# For FORCE_SHARED_LIB
include $(topsrcdir)/config/config.mk
ifneq (1_1,$(MOZ_MEMORY)_$(or $(MOZ_NATIVE_JEMALLOC),$(FORCE_SHARED_LIB)))

View File

@ -7,14 +7,12 @@
# Build mozglue as a shared lib on Windows, OSX and Android.
# If this is ever changed, update MOZ_SHARED_MOZGLUE in browser/installer/Makefile.in
if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'):
# TODO: These should be the all-caps variables when FORCE_SHARED_LIB and
# FORCE_STATIC_LIB are ported over
force_shared_lib = 1
FORCE_SHARED_LIB = True
else:
force_shared_lib = 0
FORCE_SHARED_LIB = False
FORCE_STATIC_LIB = True
if CONFIG['MOZ_MEMORY'] and (CONFIG['MOZ_NATIVE_JEMALLOC'] or force_shared_lib):
if CONFIG['MOZ_MEMORY'] and (CONFIG['MOZ_NATIVE_JEMALLOC'] or FORCE_SHARED_LIB):
pass
# TODO: SHARED_LIBRARY_LIBS go here
else:

View File

@ -6,10 +6,6 @@
CC_WRAPPER =
CXX_WRAPPER =
ifdef MOZ_FOLD_LIBS
FORCE_SHARED_LIB = 1
endif
default::
include $(topsrcdir)/config/makefiles/functions.mk

View File

@ -7,3 +7,5 @@
if CONFIG['MOZ_FOLD_LIBS']:
# TODO: The library name can be changed when bug 845217 is fixed.
LIBRARY_NAME = 'nss3'
FORCE_SHARED_LIB = True

View File

@ -2,7 +2,6 @@
# 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/.
#
FORCE_SHARED_LIB = 1
MOZ_GLUE_LDFLAGS =
STL_FLAGS =

View File

@ -14,3 +14,5 @@ SOURCES += [
EXPORTS += [
'sandboxBroker.h',
]
FORCE_SHARED_LIB = True

View File

@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SHORT_LIBNAME = jscttest
FORCE_SHARED_LIB = 1
LOCAL_INCLUDES = \
-I$(topsrcdir)/js/src/ctypes \

View File

@ -15,3 +15,4 @@ SOURCES += [
LIBRARY_NAME = 'jsctypes-test'
FORCE_SHARED_LIB = True

View File

@ -2,7 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
USE_STATIC_LIBS = 1
STL_FLAGS =
MOZ_GLUE_LDFLAGS =

View File

@ -12,3 +12,4 @@ LIBRARY_NAME = 'breakpadinjector'
include('/ipc/chromium/chromium-config.mozbuild')
FORCE_SHARED_LIB = True

View File

@ -3,8 +3,6 @@
# 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/.
FORCE_SHARED_LIB = 1
VPATH += \
$(srcdir)/../google-breakpad/src/processor/ \
$(srcdir)/../google-breakpad/src/common/ \

View File

@ -21,3 +21,5 @@ LIBRARY_NAME = 'testcrasher'
EXTRA_JS_MODULES += [
'CrashTestUtils.jsm',
]
FORCE_SHARED_LIB = True

View File

@ -2,7 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
MOZILLA_INTERNAL_API = 1
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)

View File

@ -19,3 +19,5 @@ if CONFIG['OS_ARCH'] == 'WINNT':
]
MSVC_ENABLE_PGO = True
FORCE_SHARED_LIB = True

View File

@ -1,11 +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/.
# When we're linking GTest we recurse into this directory but don't need
# to generate this library
ifndef LINK_GTEST
FORCE_SHARED_LIB=1
endif

View File

@ -4,9 +4,13 @@
# 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/.
# When we're linking GTest we recurse into this directory but don't need
# to generate this library
if not CONFIG['LINK_GTEST']:
LIBRARY_NAME = 'dummyvccorlib'
FORCE_SHARED_LIB = True
SOURCES += [
'dummyvccorlib.cpp',
]

View File

@ -2,8 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
EXTRA_DSO_LDOPTS = \
$(XPCOM_GLUE_LDOPTS) \
$(NSPR_LIBS) \

View File

@ -14,3 +14,4 @@ LIBRARY_NAME = 'dbusservice'
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -2,7 +2,6 @@
# 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/.
FORCE_SHARED_LIB = 1
EXTRA_DSO_LDOPTS += \
$(XPCOM_GLUE_LDOPTS) \
$(XPCOM_FROZEN_LDOPTS) \

View File

@ -29,3 +29,4 @@ LIBRARY_NAME = 'mozgnome'
FAIL_ON_WARNINGS = True
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -4,8 +4,6 @@
# 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/.
FORCE_SHARED_LIB = 1
# override optimization
MOZ_OPTIMIZE_FLAGS = -fno-omit-frame-pointer

View File

@ -16,3 +16,4 @@ LIBRARY_NAME = 'jprof'
EXPORT_LIBRARY = True
FORCE_SHARED_LIB = True

View File

@ -5,8 +5,6 @@
# Blatantly copied from xpcom/tests/component.
FORCE_SHARED_LIB = 1
unittestlocation = xpcom/tests/unit
MANIFEST = bug656331.manifest

View File

@ -14,3 +14,4 @@ LIBRARY_NAME = 'test656331'
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -3,8 +3,6 @@
# 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/.
FORCE_SHARED_LIB = 1
unittestlocation = xpcom/tests/unit
MANIFEST = testcomponent.manifest

View File

@ -14,3 +14,4 @@ LIBRARY_NAME = 'testcomponent'
IS_COMPONENT = True
FORCE_SHARED_LIB = True

View File

@ -3,8 +3,6 @@
# 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/.
FORCE_SHARED_LIB = 1
unittestlocation = xpcom/tests/unit
MANIFEST = testcompnoaslr.manifest

View File

@ -14,3 +14,4 @@ LIBRARY_NAME = 'testcompnoaslr'
IS_COMPONENT = True
FORCE_SHARED_LIB = True