Bug 1401453 - Don't keep libmemory.a separate anymore. r=gps

This was done in bug 736564 for the xulrunner SDK, which later became
the firefox SDK, which is now gone. So we don't actually need to keep it
separate anymore (except for logalloc/replay, which still needs to link
it directly, so we keep the library definition intact so it can be
referenced ; we just don't DIST_INSTALL it anymore, and always make it
linked into mozglue)

--HG--
extra : rebase_source : e4d0627ec907fe0139df5c0b2b9f7d04b43c7c78
This commit is contained in:
Mike Hommey 2017-09-20 14:23:57 +09:00
Родитель 126bd9114d
Коммит 4a2740def4
2 изменённых файлов: 3 добавлений и 11 удалений

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

@ -58,11 +58,8 @@ def GeckoBinary(linkage='dependent', msvcrt='dynamic', mozglue=None):
if mozglue == 'program':
USE_LIBS += ['mozglue']
DEFINES['MOZ_HAS_MOZGLUE'] = True
if CONFIG['MOZ_GLUE_IN_PROGRAM']:
if CONFIG['GNU_CC']:
if CONFIG['MOZ_GLUE_IN_PROGRAM'] and CONFIG['GNU_CC']:
LDFLAGS += ['-rdynamic']
if CONFIG['MOZ_MEMORY']:
USE_LIBS += ['memory']
elif mozglue == 'library':
LIBRARY_DEFINES['MOZ_HAS_MOZGLUE'] = True
if not CONFIG['MOZ_GLUE_IN_PROGRAM']:

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

@ -33,16 +33,11 @@ if CONFIG['OS_TARGET'] == 'Darwin' and (CONFIG['MOZ_REPLACE_MALLOC'] or
Library('memory')
if CONFIG['MOZ_GLUE_IN_PROGRAM']:
DIST_INSTALL = True
if CONFIG['OS_TARGET'] == 'Android' and CONFIG['CC_TYPE'] == 'clang':
CFLAGS += [
'-Wno-tautological-pointer-compare',
]
# Keep jemalloc separated when mozglue is statically linked
if CONFIG['MOZ_MEMORY'] and CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'):
FINAL_LIBRARY = 'mozglue'
if CONFIG['GNU_CXX']: