Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps

This commit is contained in:
Mike Hommey 2013-11-19 11:47:28 +09:00
parent ae2930e795
commit 57a2dfcb91
47 changed files with 3 additions and 116 deletions

View File

@ -16,6 +16,4 @@ SOURCES += [
LIBRARY_NAME = 'browserabout_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'browsercomps'

View File

@ -20,6 +20,4 @@ XPCSHELL_TESTS_MANIFESTS += [
'tests/unit/xpcshell.ini',
]
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'browsercomps'

View File

@ -22,6 +22,4 @@ EXTRA_PP_COMPONENTS += [
LIBRARY_NAME = 'browser_feeds_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'browsercomps'

View File

@ -42,6 +42,4 @@ EXTRA_PP_JS_MODULES += [
'MigrationUtils.jsm',
]
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'browsercomps'

View File

@ -27,6 +27,4 @@ EXTRA_COMPONENTS += [
'nsSetDefaultBrowser.manifest',
]
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'browsercomps'

View File

@ -18,6 +18,4 @@ LIBRARY_NAME = 'mediaresourcemanager'
include('/ipc/chromium/chromium-config.mozbuild')
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'gklayout'

View File

@ -6,9 +6,7 @@
MODULE = 'graphite2'
if CONFIG['OS_TARGET'] == 'WINNT':
FORCE_STATIC_LIB = True
else:
if CONFIG['OS_TARGET'] != 'WINNT':
LIBXUL_LIBRARY = True
# This should contain all of the _PUBLIC_HEADERS from files.mk

View File

@ -6,9 +6,7 @@
MODULE = 'harfbuzz'
if CONFIG['OS_ARCH'] == 'WINNT':
FORCE_STATIC_LIB = True
else:
if CONFIG['OS_ARCH'] != 'WINNT':
LIBXUL_LIBRARY = True
EXPORTS.harfbuzz += [

View File

@ -6,9 +6,7 @@
MODULE = 'ots'
if CONFIG['OS_TARGET'] == 'WINNT':
FORCE_STATIC_LIB = True
else:
if CONFIG['OS_TARGET'] != 'WINNT':
LIBXUL_LIBRARY = True
EXPORTS += [

View File

@ -51,8 +51,6 @@ LIBRARY_NAME = 'cubeb'
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -150,9 +150,6 @@ LIBRARY_NAME = 'mozjpeg'
MSVC_ENABLE_PGO = True
# need static lib for some of the libimg componentry to link properly
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -15,8 +15,6 @@ LIBRARY_NAME = 'nestegg'
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -21,8 +21,6 @@ UNIFIED_SOURCES += [
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -17,6 +17,4 @@ LIBRARY_NAME = 'opus'
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'gkmedias'

View File

@ -49,8 +49,6 @@ LIBRARY_NAME = 'mozpng'
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -24,6 +24,4 @@ SOURCES += [
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'gkmedias'

View File

@ -61,8 +61,6 @@ if CONFIG['GNU_AS']:
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -23,6 +23,4 @@ SOURCES += [
'tremor_window.c',
]
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'gkmedias'

View File

@ -47,8 +47,6 @@ if CONFIG['OS_ARCH'] == 'SunOS':
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -94,8 +94,6 @@ SOURCES += [
MSVC_ENABLE_PGO = True
FORCE_STATIC_LIB = True
if CONFIG['OS_TARGET'] == 'WINNT':
NO_VISIBILITY_FLAGS = True

View File

@ -33,8 +33,6 @@ if CONFIG['MOZ_REPLACE_MALLOC']:
LIBRARY_NAME = 'memory'
FORCE_STATIC_LIB = True
# Keep jemalloc separated when mozglue is statically linked
if CONFIG['MOZ_MEMORY'] and (CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android') or
CONFIG['MOZ_NATIVE_JEMALLOC']):

View File

@ -10,8 +10,6 @@ MODULE = 'mozglue'
LIBRARY_NAME = 'mfbt'
FORCE_STATIC_LIB = True
mfbt_root = '.'
include('common.mozbuild')

View File

@ -21,6 +21,4 @@ LIBRARY_NAME = 'android'
FAIL_ON_WARNINGS = True
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'mozglue'

View File

@ -23,6 +23,4 @@ HOST_SOURCES += [
HOST_PROGRAM = 'szip'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'mozglue'

View File

@ -27,6 +27,4 @@ SOURCES += [
'res_state.c',
]
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'mozglue'

View File

@ -21,7 +21,4 @@ SOURCES += [
MSVC_ENABLE_PGO = True
# We want only the static lib, not the shared lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'gkmedias'

View File

@ -47,6 +47,4 @@ SOURCES += [
LIBRARY_NAME = 'protobuf_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'toolkitcomps'

View File

@ -10,6 +10,4 @@ SOURCES += [
LIBRARY_NAME = 'google_breakpad_libxul_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -6,6 +6,4 @@
LIBRARY_NAME = 'google_breakpad_standalone_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'breakpadinjector'

View File

@ -13,7 +13,4 @@ SOURCES += [
LIBRARY_NAME = 'crash_generation_s'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -16,7 +16,4 @@ LIBRARY_NAME = 'exception_handler_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -16,7 +16,4 @@ LIBRARY_NAME = 'minidump_writer_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -15,7 +15,4 @@ LIBRARY_NAME = 'crash_generation_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -17,7 +17,4 @@ LIBRARY_NAME = 'exception_handler_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -14,7 +14,4 @@ LIBRARY_NAME = 'minidump_file_writer_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -16,7 +16,4 @@ LIBRARY_NAME = 'exception_handler_s'
XPI_NAME = 'crashreporter'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -34,7 +34,4 @@ if CONFIG['MOZ_CRASHREPORTER']:
LIBRARY_NAME = 'breakpad_linux_common_s'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -34,7 +34,4 @@ SOURCES += [
LIBRARY_NAME = 'breakpad_mac_common_s'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -84,7 +84,4 @@ LIBRARY_NAME = 'breakpad_common_s'
MSVC_ENABLE_PGO = True
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -24,7 +24,4 @@ HOST_SOURCES += [
'guid_creator.cc',
]
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -25,7 +25,4 @@ SOURCES += [
LIBRARY_NAME = 'breakpad_sps_common_s'
# need static lib
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -23,6 +23,4 @@ SOURCES += [
LIBRARY_NAME = 'faststartupqt'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xul'

View File

@ -10,6 +10,4 @@ PROGRAM = 'mozilla-xremote-client'
LIBRARY_NAME = 'xremote_client_s'
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xulapp_s'

View File

@ -13,7 +13,4 @@ SOURCES += [
LIBRARY_NAME = 'xptcmd'
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xpcom_core'

View File

@ -324,7 +324,4 @@ if CONFIG['OS_ARCH'] == 'Linux':
LIBRARY_NAME = 'xptcmd'
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xpcom_core'

View File

@ -38,7 +38,4 @@ else:
LIBRARY_NAME = 'xptcmd'
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xpcom_core'

View File

@ -33,8 +33,4 @@ LIBRARY_NAME = 'string_s'
MSVC_ENABLE_PGO = True
# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB = True
FINAL_LIBRARY = 'xpcom_core'