зеркало из https://github.com/mozilla/pjs.git
r=cls from achim - Don't export every symbol for XPCOM components - nice build/performance fix
This commit is contained in:
Родитель
56e59e1c98
Коммит
ba51334429
|
@ -718,10 +718,14 @@ $(DEF_FILE): $(DEF_OBJS)
|
|||
@cmd /C "echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$(DEF_FILE)"
|
||||
@cmd /C "echo DATA PRELOAD MOVEABLE MULTIPLE NONSHARED >>$(DEF_FILE)"
|
||||
@cmd /C "echo EXPORTS >>$(DEF_FILE)"
|
||||
ifeq ($(XPCOM_SWITCH),1)
|
||||
ifeq ($(IS_COMPONENT),1)
|
||||
ifeq ($(HAS_EXTRAEXPORTS),1)
|
||||
$(FILTER) $(DEF_OBJS) >> $(DEF_FILE)
|
||||
else
|
||||
$(FILTER) $(DEF_OBJS) | grep -v getter_Copies__FR| grep -v " getc" | grep -v " putc" | grep -v __ctime >> $(DEF_FILE)
|
||||
@cmd /C "echo NSGetModule>>$(DEF_FILE)"
|
||||
endif
|
||||
else
|
||||
$(FILTER) $(DEF_OBJS) >> $(DEF_FILE)
|
||||
endif
|
||||
$(ADD_TO_DEF_FILE)
|
||||
$(IMPORT_LIBRARY): $(OBJS) $(DEF_FILE)
|
||||
|
|
|
@ -29,6 +29,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = signed
|
||||
LIBRARY_NAME = signed
|
||||
IS_COMPONENT = 1
|
||||
HAS_EXTRAEXPORTS = 1
|
||||
REQUIRES = xpcom string mime msgbase msgbaseutil pref js necko uconv intl locale
|
||||
|
||||
CPPSRCS = \
|
||||
|
|
|
@ -29,6 +29,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = smime
|
||||
LIBRARY_NAME = smime
|
||||
IS_COMPONENT = 1
|
||||
HAS_EXTRAEXPORTS = 1
|
||||
REQUIRES = xpcom string mime msgbase msgbaseutil pref necko uconv js
|
||||
|
||||
CPPSRCS = \
|
||||
|
|
|
@ -29,6 +29,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = vcard
|
||||
LIBRARY_NAME = vcard
|
||||
IS_COMPONENT = 1
|
||||
HAS_EXTRAEXPORTS = 1
|
||||
REQUIRES = xpcom string mime msgbase msgbaseutil uconv necko intl locale pref js
|
||||
|
||||
ifeq ($(USE_SHORT_LIBNAME),1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче