summaryrefslogtreecommitdiffstats
path: root/native/graphics/jni/Android.mk
blob: 7b741db7fc141767a99064cfef0d9b626999e084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
BASE_PATH := $(call my-dir)
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

# setup for skia optimizations
#
ifneq ($(ARCH_ARM_HAVE_VFP),true)
	LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT
endif

ifeq ($(ARCH_ARM_HAVE_NEON),true)
	LOCAL_CFLAGS += -D__ARM_HAVE_NEON
endif

# our source files
#
LOCAL_SRC_FILES:= \
	bitmap.cpp

LOCAL_SHARED_LIBRARIES := \
    libandroid_runtime \
    libskia

LOCAL_C_INCLUDES += \
	external/skia/include/core \
	frameworks/base/native/include \
	frameworks/base/core/jni/android/graphics \
	dalvik/libnativehelper/include/nativehelper

LOCAL_MODULE:= libjnigraphics

include $(BUILD_SHARED_LIBRARY)