зеркало из https://github.com/mozilla/gecko-dev.git
Fixing up spatialnavigation to work in a static build. not part of normal build.
This commit is contained in:
Родитель
5721a53440
Коммит
cd68df9073
|
@ -42,7 +42,11 @@ VPATH=@srcdir@
|
|||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = snav
|
||||
MODULE_NAME = snav
|
||||
LIBRARY_NAME = snav
|
||||
|
||||
EXPORT_LIBRARY = 1
|
||||
MOZILLA_INTERNAL_API = 1
|
||||
IS_COMPONENT = 1
|
||||
|
||||
REQUIRES = xpcom \
|
||||
|
@ -70,8 +74,6 @@ CPPSRCS= \
|
|||
nsSpatialNavigationService.cpp \
|
||||
$(NULL)
|
||||
|
||||
DEFINES = -DMOZILLA_INTERNAL_API
|
||||
|
||||
EXTRA_DSO_LIBS = gkgfx
|
||||
|
||||
EXTRA_DSO_LDOPTS += $(LIBS_DIR) \
|
||||
|
|
|
@ -205,7 +205,6 @@ enum {
|
|||
|
||||
// Utils
|
||||
|
||||
PRBool is_space (char c);
|
||||
nscoord* lo_parse_coord_list (char *str, PRInt32* value_cnt);
|
||||
nsresult createFrameTraversal (PRUint32 type, nsPresContext* presContext, nsIBidirectionalEnumerator** outTraversal);
|
||||
nsresult getEventTargetFromWindow (nsIDOMWindow* aWindow, nsIDOM3EventTarget** aEventTarget, nsIDOMEventGroup** aSystemGroup);
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "nsIFrameDebug.h"
|
||||
#endif
|
||||
|
||||
PRBool is_space(char c)
|
||||
static PRBool is_space(char c)
|
||||
{
|
||||
return (c == ' ' || c == '\f' || c == '\n' ||
|
||||
c == '\r' || c == '\t' || c == '\v');
|
||||
|
|
Загрузка…
Ссылка в новой задаче