Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 1 | ## |
| 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 | |
| 27 | LOCAL_PATH:= $(call my-dir) |
| 28 | include $(CLEAR_VARS) |
| 29 | |
| 30 | LOCAL_SRC_FILES := \ |
| 31 | main.cpp \ |
| 32 | PluginObject.cpp \ |
Derek Sollenberger | 349bc37 | 2011-01-04 16:14:34 -0500 | [diff] [blame] | 33 | RenderingThread.cpp \ |
Derek Sollenberger | d7ebf27 | 2009-06-18 11:19:41 -0400 | [diff] [blame] | 34 | animation/AnimationPlugin.cpp \ |
Derek Sollenberger | 349bc37 | 2011-01-04 16:14:34 -0500 | [diff] [blame] | 35 | animation/AnimationThread.cpp \ |
Derek Sollenberger | f42e2f4 | 2009-06-26 11:42:46 -0400 | [diff] [blame] | 36 | audio/AudioPlugin.cpp \ |
Derek Sollenberger | db398a7 | 2009-06-29 13:53:04 -0400 | [diff] [blame] | 37 | background/BackgroundPlugin.cpp \ |
| 38 | form/FormPlugin.cpp \ |
Derek Sollenberger | 1bc5ab6 | 2010-01-14 11:44:37 -0500 | [diff] [blame] | 39 | navigation/NavigationPlugin.cpp \ |
Derek Sollenberger | 4fb83e6 | 2009-07-27 16:40:13 -0400 | [diff] [blame] | 40 | paint/PaintPlugin.cpp \ |
Derek Sollenberger | b8947ee | 2009-10-05 14:40:18 -0400 | [diff] [blame] | 41 | video/VideoPlugin.cpp \ |
Derek Sollenberger | 08581f1 | 2009-09-08 18:36:29 -0400 | [diff] [blame] | 42 | jni-bridge.cpp \ |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 43 | |
| 44 | LOCAL_C_INCLUDES += \ |
Derek Sollenberger | 16ce3cd | 2009-09-01 16:27:31 -0400 | [diff] [blame] | 45 | $(JNI_H_INCLUDE) \ |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 46 | $(LOCAL_PATH) \ |
Derek Sollenberger | d7ebf27 | 2009-06-18 11:19:41 -0400 | [diff] [blame] | 47 | $(LOCAL_PATH)/animation \ |
Derek Sollenberger | f42e2f4 | 2009-06-26 11:42:46 -0400 | [diff] [blame] | 48 | $(LOCAL_PATH)/audio \ |
Derek Sollenberger | d7ebf27 | 2009-06-18 11:19:41 -0400 | [diff] [blame] | 49 | $(LOCAL_PATH)/background \ |
Derek Sollenberger | db398a7 | 2009-06-29 13:53:04 -0400 | [diff] [blame] | 50 | $(LOCAL_PATH)/form \ |
Derek Sollenberger | 1bc5ab6 | 2010-01-14 11:44:37 -0500 | [diff] [blame] | 51 | $(LOCAL_PATH)/navigation \ |
Derek Sollenberger | 4fb83e6 | 2009-07-27 16:40:13 -0400 | [diff] [blame] | 52 | $(LOCAL_PATH)/paint \ |
Derek Sollenberger | b8947ee | 2009-10-05 14:40:18 -0400 | [diff] [blame] | 53 | $(LOCAL_PATH)/video \ |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 54 | external/webkit/WebCore/bridge \ |
| 55 | external/webkit/WebCore/plugins \ |
| 56 | external/webkit/WebCore/platform/android/JavaVM \ |
Derek Sollenberger | 349bc37 | 2011-01-04 16:14:34 -0500 | [diff] [blame] | 57 | external/webkit/WebKit/android/plugins \ |
| 58 | external/skia/include/core |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 59 | |
Derek Sollenberger | 16ce3cd | 2009-09-01 16:27:31 -0400 | [diff] [blame] | 60 | LOCAL_SHARED_LIBRARIES := \ |
Derek Sollenberger | 349bc37 | 2011-01-04 16:14:34 -0500 | [diff] [blame] | 61 | libnativehelper \ |
| 62 | libutils \ |
| 63 | libcutils \ |
| 64 | libEGL \ |
| 65 | libGLESv2 \ |
| 66 | libskia |
Derek Sollenberger | 16ce3cd | 2009-09-01 16:27:31 -0400 | [diff] [blame] | 67 | |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 68 | LOCAL_CFLAGS += -fvisibility=hidden |
Iliyan Malchev | 1dcd976 | 2011-03-14 14:02:06 -0700 | [diff] [blame] | 69 | |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 70 | |
| 71 | LOCAL_MODULE:= libsampleplugin |
| 72 | |
Patrick Scott | 4a8c3bf | 2009-09-17 15:06:19 -0400 | [diff] [blame] | 73 | LOCAL_MODULE_TAGS := optional |
| 74 | |
Grace Kloba | fbe47c0 | 2009-05-14 17:31:45 -0700 | [diff] [blame] | 75 | include $(BUILD_SHARED_LIBRARY) |
| 76 | |