2012-07-20 02:10:44 -07:00
|
|
|
# Copyright 2012 Mozilla Foundation and Mozilla contributors
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2011-11-10 16:17:46 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2011-11-10 16:17:46 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2012-03-25 02:11:05 -07:00
|
|
|
VPATH = \
|
|
|
|
$(srcdir) \
|
|
|
|
$(srcdir)/libui \
|
|
|
|
$(NULL)
|
2011-11-10 16:17:46 -08:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-04-20 04:43:25 -07:00
|
|
|
EXPORTS = OrientationObserver.h
|
2011-11-10 16:17:46 -08:00
|
|
|
MODULE = widget
|
|
|
|
LIBRARY_NAME = widget_gonk
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
MODULE_NAME = nsWidgetGonkModule
|
|
|
|
GRE_MODULE = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2011-12-23 23:13:33 -08:00
|
|
|
Framebuffer.cpp \
|
2012-08-24 12:42:45 -07:00
|
|
|
HWComposer.cpp \
|
2012-11-19 09:58:38 -08:00
|
|
|
HwcComposer2D.cpp \
|
2011-11-10 16:17:46 -08:00
|
|
|
nsAppShell.cpp \
|
|
|
|
nsWidgetFactory.cpp \
|
|
|
|
nsWindow.cpp \
|
|
|
|
nsLookAndFeel.cpp \
|
2012-01-10 18:06:59 -08:00
|
|
|
nsIdleServiceGonk.cpp \
|
2012-04-20 04:43:25 -07:00
|
|
|
OrientationObserver.cpp \
|
2012-03-25 02:11:05 -07:00
|
|
|
EventHub.cpp \
|
2012-10-31 10:29:14 -07:00
|
|
|
GonkMemoryPressureMonitoring.cpp \
|
2012-03-25 17:12:29 -07:00
|
|
|
Input.cpp \
|
2012-03-25 02:11:05 -07:00
|
|
|
InputApplication.cpp \
|
|
|
|
InputDispatcher.cpp \
|
|
|
|
InputListener.cpp \
|
|
|
|
InputReader.cpp \
|
|
|
|
InputTransport.cpp \
|
|
|
|
InputWindow.cpp \
|
|
|
|
Keyboard.cpp \
|
|
|
|
KeyCharacterMap.cpp \
|
|
|
|
KeyLayoutMap.cpp \
|
|
|
|
PixelFormat.cpp \
|
|
|
|
VirtualKeyMap.cpp \
|
2012-04-10 18:49:49 -07:00
|
|
|
PointerController.cpp \
|
|
|
|
SpriteController.cpp \
|
2012-03-25 17:12:29 -07:00
|
|
|
PropertyMap.cpp \
|
|
|
|
Unicode.cpp \
|
|
|
|
Timers.cpp \
|
|
|
|
Tokenizer.cpp \
|
|
|
|
String8.cpp \
|
2012-11-28 13:59:54 -08:00
|
|
|
String16.cpp \
|
2012-03-25 17:12:29 -07:00
|
|
|
Static.cpp \
|
2011-11-10 16:17:46 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2012-05-25 09:29:56 -07:00
|
|
|
DEFINES += -D_IMPL_NS_WIDGET -DHAVE_OFF64_T -DSK_BUILD_FOR_ANDROID_NDK
|
2011-11-10 16:17:46 -08:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
2012-11-28 10:43:19 -08:00
|
|
|
-I$(topsrcdir)/b2g/app \
|
2012-01-03 19:09:29 -08:00
|
|
|
-I$(topsrcdir)/widget/xpwidgets \
|
|
|
|
-I$(topsrcdir)/widget/shared \
|
2011-11-10 16:17:46 -08:00
|
|
|
-I$(topsrcdir)/dom/system/android \
|
2012-01-25 12:37:31 -08:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2012-03-25 02:11:05 -07:00
|
|
|
-I$(topsrcdir)/gfx/skia/include/core \
|
|
|
|
-I$(topsrcdir)/gfx/skia/include/config \
|
2011-11-10 16:17:46 -08:00
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-03-25 02:11:05 -07:00
|
|
|
|
2011-11-10 16:17:46 -08:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|