зеркало из https://github.com/mozilla/gecko-dev.git
bug 553635 - link libimgicon into libxul in gtk builds. r=bsmedberg
This commit is contained in:
Родитель
1803574d29
Коммит
8f38c0f6dc
|
@ -189,11 +189,6 @@
|
|||
#endif
|
||||
@BINPATH@/components/layout_xul_tree.xpt
|
||||
@BINPATH@/components/layout_xul.xpt
|
||||
#ifdef XP_UNIX
|
||||
#ifndef XP_MACOSX
|
||||
@BINPATH@/components/libimgicon@DLL_SUFFIX@
|
||||
#endif
|
||||
#endif
|
||||
@BINPATH@/components/locale.xpt
|
||||
@BINPATH@/components/lwbrk.xpt
|
||||
#ifndef WINCE
|
||||
|
|
|
@ -843,3 +843,8 @@ components/nsUpdateServiceStub.js
|
|||
old-homepage-default.properties
|
||||
components/microsummaries.xpt
|
||||
LICENSE
|
||||
#ifdef XP_UNIX
|
||||
#ifndef XP_MACOSX
|
||||
components/libimgicon.so
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -44,7 +44,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
ifneq (,$(filter icon,$(MOZ_IMG_DECODERS)))
|
||||
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||
TOOL_DIRS = icon/gtk icon
|
||||
DIRS = icon/gtk icon
|
||||
endif
|
||||
ifneq (,$(filter qt,$(MOZ_WIDGET_TOOLKIT)))
|
||||
DIRS = icon/qt icon
|
||||
|
|
|
@ -46,14 +46,12 @@ MODULE = imgicon
|
|||
LIBRARY_NAME = imgicon
|
||||
IS_COMPONENT = 1
|
||||
MODULE_NAME = nsIconDecoderModule
|
||||
LIBXUL_LIBRARY = 1
|
||||
EXPORT_LIBRARY = 1
|
||||
|
||||
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||
EXTRA_DSO_LDOPTS = $(MOZ_GTK2_LIBS)
|
||||
PLATFORM = gtk
|
||||
FORCE_SHARED_LIB = 1
|
||||
else
|
||||
LIBXUL_LIBRARY = 1
|
||||
EXPORT_LIBRARY = 1
|
||||
endif
|
||||
|
||||
ifneq (,$(filter qt,$(MOZ_WIDGET_TOOLKIT)))
|
||||
|
@ -101,17 +99,10 @@ XPIDLSRCS = nsIIconURI.idl
|
|||
|
||||
SHARED_LIBRARY_LIBS = $(PLATFORM)/$(LIB_PREFIX)imgicon$(PLATFORM)_s.$(LIB_SUFFIX)
|
||||
|
||||
ifdef LIBXUL_LIBRARY
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
$(NULL)
|
||||
else
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(XPCOM_GLUE_LDOPTS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/$(PLATFORM)
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
MODULE = imgicon
|
||||
LIBRARY_NAME = imgicongtk_s
|
||||
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
CPPSRCS = nsIconChannel.cpp
|
||||
|
||||
|
|
|
@ -302,11 +302,9 @@ STATIC_LIBS += gfxpsshar
|
|||
endif
|
||||
|
||||
ifneq (,$(filter icon,$(MOZ_IMG_DECODERS)))
|
||||
ifndef MOZ_ENABLE_GTK2
|
||||
DEFINES += -DICON_DECODER
|
||||
COMPONENT_LIBS += imgicon
|
||||
endif
|
||||
endif
|
||||
|
||||
STATIC_LIBS += thebes layers
|
||||
COMPONENT_LIBS += gkgfxthebes
|
||||
|
|
Загрузка…
Ссылка в новой задаче