зеркало из https://github.com/mozilla/gecko-dev.git
Bug 451263 - Implement moz-icon for Qt port. r=vladimir.
This commit is contained in:
Родитель
82d3ea5ebf
Коммит
40ef3f4b57
|
@ -5654,8 +5654,8 @@ case "$MOZ_WIDGET_TOOLKIT" in
|
||||||
beos|windows|os2|mac|cocoa)
|
beos|windows|os2|mac|cocoa)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if test -z "$MOZ_ENABLE_GTK2"; then
|
if test -z "$MOZ_ENABLE_GTK2" && test -z "$MOZ_ENABLE_QT"; then
|
||||||
MOZ_IMG_DECODERS_DEFAULT=`echo $MOZ_IMG_DECODERS_DEFAULT | sed -e 's|icon||'`
|
MOZ_IMG_DECODERS_DEFAULT=`echo $MOZ_IMG_DECODERS_DEFAULT | sed -e 's|icon||'`
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -46,6 +46,9 @@ ifneq (,$(filter icon,$(MOZ_IMG_DECODERS)))
|
||||||
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
TOOL_DIRS = icon/gtk icon
|
TOOL_DIRS = icon/gtk icon
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(filter qt,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
|
DIRS = icon/qt icon
|
||||||
|
endif
|
||||||
ifeq ($(OS_ARCH),WINNT)
|
ifeq ($(OS_ARCH),WINNT)
|
||||||
DIRS = icon/win icon
|
DIRS = icon/win icon
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -58,6 +58,11 @@ LIBXUL_LIBRARY = 1
|
||||||
EXPORT_LIBRARY = 1
|
EXPORT_LIBRARY = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter qt,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
|
EXTRA_DSO_LDOPTS = $(MOZ_QT_LIBS)
|
||||||
|
PLATFORM = qt
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_ARCH),WINNT)
|
ifeq ($(OS_ARCH),WINNT)
|
||||||
EXTRA_DSO_LIBS = gkgfx
|
EXTRA_DSO_LIBS = gkgfx
|
||||||
PLATFORM = win
|
PLATFORM = win
|
||||||
|
@ -89,7 +94,7 @@ CPPSRCS = \
|
||||||
nsIconProtocolHandler.cpp \
|
nsIconProtocolHandler.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter qt gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
USE_ICON_DECODER = 1
|
USE_ICON_DECODER = 1
|
||||||
endif
|
endif
|
||||||
ifeq (,$(filter-out Darwin OS2 BeOS,$(OS_ARCH)))
|
ifeq (,$(filter-out Darwin OS2 BeOS,$(OS_ARCH)))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче