2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2010-06-03 13:56:36 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-06-03 13:56:36 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = widget_android
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
MODULE_NAME = nsWidgetAndroidModule
|
|
|
|
LIBXUL_LIBRARY = 1
|
2013-01-25 11:03:56 -08:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2010-06-03 13:56:36 -07:00
|
|
|
|
2012-01-30 21:57:06 -08:00
|
|
|
ifdef MOZ_ONLY_TOUCH_EVENTS
|
|
|
|
DEFINES += -DMOZ_ONLY_TOUCH_EVENTS
|
|
|
|
endif
|
2013-02-08 13:42:14 -08:00
|
|
|
ifdef MOZ_WEBSMS_BACKEND
|
|
|
|
DEFINES += -DMOZ_WEBSMS_BACKEND
|
|
|
|
endif
|
2012-01-30 21:57:06 -08:00
|
|
|
|
2010-06-03 13:56:36 -07:00
|
|
|
CPPSRCS = \
|
2011-01-05 20:54:31 -08:00
|
|
|
GfxInfo.cpp \
|
2010-06-03 13:56:36 -07:00
|
|
|
nsWidgetFactory.cpp \
|
|
|
|
nsAppShell.cpp \
|
|
|
|
AndroidJavaWrappers.cpp \
|
|
|
|
AndroidBridge.cpp \
|
2011-12-21 11:05:23 -08:00
|
|
|
AndroidDirectTexture.cpp \
|
|
|
|
AndroidGraphicBuffer.cpp \
|
2010-06-03 13:56:36 -07:00
|
|
|
AndroidJNI.cpp \
|
2013-02-09 15:50:28 -08:00
|
|
|
AndroidJNIWrapper.cpp \
|
2010-06-03 13:56:36 -07:00
|
|
|
nsWindow.cpp \
|
|
|
|
nsLookAndFeel.cpp \
|
|
|
|
nsScreenManagerAndroid.cpp \
|
|
|
|
nsIdleServiceAndroid.cpp \
|
2010-08-26 16:43:23 -07:00
|
|
|
nsClipboard.cpp \
|
2010-09-30 08:37:36 -07:00
|
|
|
nsFilePicker.cpp \
|
2010-11-10 06:40:00 -08:00
|
|
|
nsIMEPicker.cpp \
|
2010-11-16 15:33:56 -08:00
|
|
|
nsDeviceContextAndroid.cpp \
|
|
|
|
nsPrintOptionsAndroid.cpp \
|
2010-06-03 13:56:36 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
NOT_THERE_YET_CPPSRCS = \
|
|
|
|
nsQtKeyUtils.cpp \
|
|
|
|
nsBidiKeyboard.cpp \
|
|
|
|
nsDragService.cpp \
|
|
|
|
nsNativeThemeQt.cpp \
|
|
|
|
mozqwidget.cpp \
|
|
|
|
nsSound.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_WIDGET
|
|
|
|
#DEFINES += -DDEBUG_WIDGETS
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
2012-01-03 19:09:29 -08:00
|
|
|
-I$(topsrcdir)/widget/xpwidgets \
|
|
|
|
-I$(topsrcdir)/widget/shared \
|
2010-06-25 05:25:31 -07:00
|
|
|
-I$(topsrcdir)/dom/system/android \
|
2011-11-14 19:12:14 -08:00
|
|
|
-I$(topsrcdir)/docshell/base \
|
2012-01-24 16:31:33 -08:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2012-04-17 10:29:52 -07:00
|
|
|
-I$(topsrcdir)/netwerk/cache \
|
2012-07-20 12:20:51 -07:00
|
|
|
-I$(topsrcdir)/widget/android/android \
|
2010-06-03 13:56:36 -07:00
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-11-24 10:22:40 -08:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|