| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 1 | ###################################### |
| 2 | # Build the app. |
| 3 | ###################################### |
| 4 | |
| 5 | LOCAL_PATH:= $(call my-dir) |
| 6 | include $(CLEAR_VARS) |
| 7 | |
| 8 | LOCAL_MODULE_TAGS := optional |
| 9 | |
| 10 | LOCAL_SRC_FILES := \ |
| 11 | $(call all-java-files-under, src) |
| 12 | |
| 13 | LOCAL_PACKAGE_NAME := SampleApp |
| 14 | |
| 15 | LOCAL_JNI_SHARED_LIBRARIES := libskia-sample |
| 16 | |
| Scroggo | 2c8208f | 2011-06-15 16:49:08 +0000 | [diff] [blame] | 17 | LOCAL_PROGUARD_ENABLED := disabled |
| 18 | |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 19 | include $(BUILD_PACKAGE) |
| 20 | |
| 21 | ###################################### |
| 22 | # Build the shared library. |
| 23 | ###################################### |
| 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | |
| 27 | LOCAL_MODULE_TAGS := optional |
| 28 | |
| 29 | LOCAL_C_INCLUDES += \ |
| 30 | external/skia/include/core \ |
| 31 | external/skia/include/config \ |
| 32 | external/skia/include/effects \ |
| 33 | external/skia/include/images \ |
| 34 | external/skia/include/utils \ |
| djsollen@google.com | e32b583 | 2011-06-13 16:58:40 +0000 | [diff] [blame] | 35 | external/skia/include/utils/android \ |
| 36 | external/skia/include/views \ |
| 37 | external/skia/samplecode \ |
| 38 | external/skia/include/xml \ |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 39 | external/skia/include/gpu \ |
| 40 | external/skia/src/core \ |
| 41 | external/skia/gpu/include \ |
| Scroggo | 2c8208f | 2011-06-15 16:49:08 +0000 | [diff] [blame] | 42 | frameworks/base/opengl/include/GLES2 \ |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 43 | $(LOCAL_PATH)/jni |
| 44 | |
| 45 | LOCAL_SHARED_LIBRARIES := \ |
| 46 | libcutils \ |
| 47 | libutils \ |
| 48 | libskia \ |
| 49 | libandroid_runtime \ |
| 50 | libGLESv2 |
| 51 | |
| 52 | LOCAL_STATIC_LIBRARIES := \ |
| 53 | libskiagpu |
| 54 | |
| 55 | LOCAL_PRELINK_MODULE := false |
| 56 | |
| 57 | LOCAL_MODULE := libskia-sample |
| 58 | |
| 59 | LOCAL_SRC_FILES := \ |
| djsollen@google.com | e32b583 | 2011-06-13 16:58:40 +0000 | [diff] [blame] | 60 | ../../src/ports/SkXMLParser_empty.cpp \ |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 61 | jni/sample-jni.cpp |
| 62 | |
| djsollen@google.com | e32b583 | 2011-06-13 16:58:40 +0000 | [diff] [blame] | 63 | include external/skia/src/views/views_files.mk |
| 64 | LOCAL_SRC_FILES += $(addprefix ../../src/views/, $(SOURCE)) |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 65 | |
| djsollen@google.com | e32b583 | 2011-06-13 16:58:40 +0000 | [diff] [blame] | 66 | include external/skia/src/xml/xml_files.mk |
| 67 | LOCAL_SRC_FILES += $(addprefix ../../src/xml/, $(SOURCE)) |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 68 | |
| djsollen@google.com | e32b583 | 2011-06-13 16:58:40 +0000 | [diff] [blame] | 69 | include external/skia/samplecode/samplecode_files.mk |
| 70 | LOCAL_SRC_FILES += $(addprefix ../../samplecode/, $(SOURCE)) |
| Scroggo | f33d153 | 2011-05-31 17:10:21 +0000 | [diff] [blame] | 71 | |
| 72 | include $(BUILD_SHARED_LIBRARY) |