зеркало из https://github.com/mozilla/pjs.git
Bug 191882 - We're building (and shipping) libxpcom.bundle though it's unused and contributes a megabyte to footprint on OSX. r=seawood/sr=dougt/a=asa
This commit is contained in:
Родитель
a5c6829b74
Коммит
538e96569f
|
@ -29,13 +29,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = xpcom
|
||||
LIBRARY_NAME = xpcom
|
||||
|
||||
ifdef _BUILD_BUNDLE
|
||||
IS_COMPONENT = 1
|
||||
DLL_SUFFIX = .bundle
|
||||
NO_DIST_INSTALL = 1
|
||||
NO_COMPONENT_LINK_MAP = 1
|
||||
endif
|
||||
|
||||
# Do not set EXPORT_LIBRARY as we do not want xpcom in the static libs list
|
||||
#EXPORT_LIBRARY = 1
|
||||
GRE_MODULE = 1
|
||||
|
@ -126,18 +119,6 @@ OS_LIBS += $(LIBICONV)
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifndef DISABLE_DIST_GRE
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
GARBAGE += $(SHARED_LIBRARY:$(DLL_SUFFIX)=.bundle)
|
||||
ifndef _BUILD_BUNDLE
|
||||
libs:: $(SHARED_LIBRARY)
|
||||
$(MAKE) libs _BUILD_BUNDLE=1
|
||||
$(INSTALL) $(LIB_PREFIX)$(LIBRARY_NAME).bundle $(DIST)/gre
|
||||
$(INSTALL) $(LIB_PREFIX)$(LIBRARY_NAME).bundle $(DIST)/bin
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
-D_IMPL_NS_COM \
|
||||
-DEXPORT_XPT_API \
|
||||
|
|
Загрузка…
Ссылка в новой задаче