blob: f8cea4d00696fc80d5d209ea5aa1c34795a2ab85 [file] [log] [blame]
Grace Klobafbe47c02009-05-14 17:31:45 -07001##
2##
3## Copyright 2008, The Android Open Source Project
4##
5## Redistribution and use in source and binary forms, with or without
6## modification, are permitted provided that the following conditions
7## are met:
8## * Redistributions of source code must retain the above copyright
9## notice, this list of conditions and the following disclaimer.
10## * Redistributions in binary form must reproduce the above copyright
11## notice, this list of conditions and the following disclaimer in the
12## documentation and/or other materials provided with the distribution.
13##
14## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
15## EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25##
26
27LOCAL_PATH:= $(call my-dir)
28include $(CLEAR_VARS)
29
30LOCAL_SRC_FILES := \
31 main.cpp \
32 PluginObject.cpp \
Derek Sollenberger349bc372011-01-04 16:14:34 -050033 RenderingThread.cpp \
Derek Sollenbergerd7ebf272009-06-18 11:19:41 -040034 animation/AnimationPlugin.cpp \
Derek Sollenberger349bc372011-01-04 16:14:34 -050035 animation/AnimationThread.cpp \
Derek Sollenbergerf42e2f42009-06-26 11:42:46 -040036 audio/AudioPlugin.cpp \
Derek Sollenbergerdb398a72009-06-29 13:53:04 -040037 background/BackgroundPlugin.cpp \
38 form/FormPlugin.cpp \
Derek Sollenberger1bc5ab62010-01-14 11:44:37 -050039 navigation/NavigationPlugin.cpp \
Derek Sollenberger4fb83e62009-07-27 16:40:13 -040040 paint/PaintPlugin.cpp \
Derek Sollenbergerb8947ee2009-10-05 14:40:18 -040041 video/VideoPlugin.cpp \
Derek Sollenberger08581f12009-09-08 18:36:29 -040042 jni-bridge.cpp \
Grace Klobafbe47c02009-05-14 17:31:45 -070043
44LOCAL_C_INCLUDES += \
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040045 $(JNI_H_INCLUDE) \
Grace Klobafbe47c02009-05-14 17:31:45 -070046 $(LOCAL_PATH) \
Derek Sollenbergerd7ebf272009-06-18 11:19:41 -040047 $(LOCAL_PATH)/animation \
Derek Sollenbergerf42e2f42009-06-26 11:42:46 -040048 $(LOCAL_PATH)/audio \
Derek Sollenbergerd7ebf272009-06-18 11:19:41 -040049 $(LOCAL_PATH)/background \
Derek Sollenbergerdb398a72009-06-29 13:53:04 -040050 $(LOCAL_PATH)/form \
Derek Sollenberger1bc5ab62010-01-14 11:44:37 -050051 $(LOCAL_PATH)/navigation \
Derek Sollenberger4fb83e62009-07-27 16:40:13 -040052 $(LOCAL_PATH)/paint \
Derek Sollenbergerb8947ee2009-10-05 14:40:18 -040053 $(LOCAL_PATH)/video \
Grace Klobafbe47c02009-05-14 17:31:45 -070054 external/webkit/WebCore/bridge \
55 external/webkit/WebCore/plugins \
56 external/webkit/WebCore/platform/android/JavaVM \
Derek Sollenberger349bc372011-01-04 16:14:34 -050057 external/webkit/WebKit/android/plugins \
58 external/skia/include/core
Grace Klobafbe47c02009-05-14 17:31:45 -070059
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040060LOCAL_SHARED_LIBRARIES := \
Derek Sollenberger349bc372011-01-04 16:14:34 -050061 libnativehelper \
62 libutils \
63 libcutils \
64 libEGL \
65 libGLESv2 \
66 libskia
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040067
Grace Klobafbe47c02009-05-14 17:31:45 -070068LOCAL_CFLAGS += -fvisibility=hidden
Iliyan Malchev1dcd9762011-03-14 14:02:06 -070069
Grace Klobafbe47c02009-05-14 17:31:45 -070070
71LOCAL_MODULE:= libsampleplugin
72
Patrick Scott4a8c3bf2009-09-17 15:06:19 -040073LOCAL_MODULE_TAGS := optional
74
Grace Klobafbe47c02009-05-14 17:31:45 -070075include $(BUILD_SHARED_LIBRARY)
76