Dima Zavin | 3227631 | 2010-02-04 12:15:09 -0800 | [diff] [blame] | 1 | BASE_PATH := $(call my-dir) |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | |
| 4 | include $(CLEAR_VARS) |
| 5 | |
Dima Zavin | 3227631 | 2010-02-04 12:15:09 -0800 | [diff] [blame] | 6 | # setup for skia optimizations |
| 7 | # |
| 8 | ifneq ($(ARCH_ARM_HAVE_VFP),true) |
| 9 | LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT |
| 10 | endif |
| 11 | |
| 12 | ifeq ($(ARCH_ARM_HAVE_NEON),true) |
| 13 | LOCAL_CFLAGS += -D__ARM_HAVE_NEON |
| 14 | endif |
| 15 | |
| 16 | # our source files |
| 17 | # |
| 18 | LOCAL_SRC_FILES:= \ |
| 19 | bitmap.cpp |
| 20 | |
| 21 | LOCAL_SHARED_LIBRARIES := \ |
| 22 | libandroid_runtime \ |
| 23 | libskia |
| 24 | |
| 25 | LOCAL_C_INCLUDES += \ |
Dima Zavin | 3227631 | 2010-02-04 12:15:09 -0800 | [diff] [blame] | 26 | frameworks/base/native/include \ |
Elliott Hughes | 89269cf | 2012-05-03 16:39:22 -0700 | [diff] [blame] | 27 | frameworks/base/core/jni/android/graphics |
Dima Zavin | 3227631 | 2010-02-04 12:15:09 -0800 | [diff] [blame] | 28 | |
| 29 | LOCAL_MODULE:= libjnigraphics |
| 30 | |
| 31 | include $(BUILD_SHARED_LIBRARY) |
| 32 | |