mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal
This commit is contained in:
parent
af5c26e576
commit
a031765db2
@ -20,6 +20,14 @@ INSTALL_TARGETS += UA_UPDATE
|
||||
# Make sure the standalone glue doesn't try to get libxpcom.so from b2g/app.
|
||||
NSDISTMODE = copy
|
||||
|
||||
# Copy the Firefox OS fonts if available
|
||||
ifdef MOZTTDIR
|
||||
include $(MOZTTDIR)/fonts.mk
|
||||
MOZTT_DEST = $(FINAL_TARGET)/fonts
|
||||
MOZTT_FILES = $(patsubst external/moztt/%,$(MOZTTDIR)/%,$(filter external/moztt/%,$(subst :, ,$(PRODUCT_COPY_FILES))))
|
||||
INSTALL_TARGETS += MOZTT
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
APP_ICON = b2g
|
||||
|
@ -886,3 +886,7 @@ bin/components/@DLL_PREFIX@nkgnomevfs@DLL_SUFFIX@
|
||||
@BINPATH@/gaia/*
|
||||
@BINPATH@/b2g-bin@BIN_SUFFIX@
|
||||
#endif
|
||||
|
||||
#ifdef PACKAGE_MOZTT
|
||||
@BINPATH@/fonts/*
|
||||
#endif
|
||||
|
@ -183,6 +183,15 @@ if test -n "$FXOS_SIMULATOR" ; then
|
||||
AC_SUBST(FXOS_SIMULATOR)
|
||||
fi
|
||||
|
||||
if test -n "$MOZTTDIR" -a ! -d "$MOZTTDIR" ; then
|
||||
AC_MSG_ERROR([MOZTTDIR '$MOZTTDIR' isn't a valid directory])
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZTTDIR)
|
||||
if test -n "$MOZTTDIR" ; then
|
||||
AC_DEFINE(PACKAGE_MOZTT)
|
||||
fi
|
||||
|
||||
MOZ_ARG_WITH_STRING(gonk,
|
||||
[ --with-gonk=DIR
|
||||
location of gonk dir],
|
||||
|
Loading…
Reference in New Issue
Block a user