Android.mk revision 3227631fe99c271a47f9f5135c4ffe1bec3e72f0
1BASE_PATH := $(call my-dir)
2LOCAL_PATH:= $(call my-dir)
3
4include $(CLEAR_VARS)
5
6LOCAL_PRELINK_MODULE := false
7
8# setup for skia optimizations
9#
10ifneq ($(ARCH_ARM_HAVE_VFP),true)
11	LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT
12endif
13
14ifeq ($(ARCH_ARM_HAVE_NEON),true)
15	LOCAL_CFLAGS += -D__ARM_HAVE_NEON
16endif
17
18# our source files
19#
20LOCAL_SRC_FILES:= \
21	bitmap.cpp
22
23LOCAL_SHARED_LIBRARIES := \
24    libandroid_runtime \
25    libskia
26
27LOCAL_C_INCLUDES += \
28	external/skia/include/core \
29	frameworks/base/native/include \
30	frameworks/base/core/jni/android/graphics \
31	dalvik/libnativehelper/include/nativehelper
32
33LOCAL_MODULE:= libjnigraphics
34
35include $(BUILD_SHARED_LIBRARY)
36
37