blob: 7636de9bced91b5c2a24c4e56b73c4718717d036 [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
Steve Block65571992011-05-12 16:26:54 +010044WEBCORE_PATH := external/webkit/Source/WebCore
45
Grace Klobafbe47c02009-05-14 17:31:45 -070046LOCAL_C_INCLUDES += \
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040047 $(JNI_H_INCLUDE) \
Grace Klobafbe47c02009-05-14 17:31:45 -070048 $(LOCAL_PATH) \
Derek Sollenbergerd7ebf272009-06-18 11:19:41 -040049 $(LOCAL_PATH)/animation \
Derek Sollenbergerf42e2f42009-06-26 11:42:46 -040050 $(LOCAL_PATH)/audio \
Derek Sollenbergerd7ebf272009-06-18 11:19:41 -040051 $(LOCAL_PATH)/background \
Derek Sollenbergerdb398a72009-06-29 13:53:04 -040052 $(LOCAL_PATH)/form \
Derek Sollenberger1bc5ab62010-01-14 11:44:37 -050053 $(LOCAL_PATH)/navigation \
Derek Sollenberger4fb83e62009-07-27 16:40:13 -040054 $(LOCAL_PATH)/paint \
Derek Sollenbergerb8947ee2009-10-05 14:40:18 -040055 $(LOCAL_PATH)/video \
Steve Block65571992011-05-12 16:26:54 +010056 $(WEBCORE_PATH)/bridge \
57 $(WEBCORE_PATH)/plugins \
58 $(WEBCORE_PATH)/platform/android/JavaVM \
Ben Murdoch5b0331a2011-05-16 12:29:24 +010059 external/webkit/Source/WebKit/android/plugins \
Derek Sollenberger349bc372011-01-04 16:14:34 -050060 external/skia/include/core
Grace Klobafbe47c02009-05-14 17:31:45 -070061
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040062LOCAL_SHARED_LIBRARIES := \
Derek Sollenberger349bc372011-01-04 16:14:34 -050063 libnativehelper \
Chris Craikaceb2e32011-08-04 17:41:20 -070064 libandroid \
Derek Sollenberger349bc372011-01-04 16:14:34 -050065 libutils \
66 libcutils \
67 libEGL \
68 libGLESv2 \
69 libskia
Derek Sollenberger16ce3cd2009-09-01 16:27:31 -040070
Grace Klobafbe47c02009-05-14 17:31:45 -070071LOCAL_CFLAGS += -fvisibility=hidden
Iliyan Malchev1dcd9762011-03-14 14:02:06 -070072
Grace Klobafbe47c02009-05-14 17:31:45 -070073
74LOCAL_MODULE:= libsampleplugin
75
Patrick Scott4a8c3bf2009-09-17 15:06:19 -040076LOCAL_MODULE_TAGS := optional
77
Grace Klobafbe47c02009-05-14 17:31:45 -070078include $(BUILD_SHARED_LIBRARY)
79