blob: 31540307f586a3b62c0b01211b792e75a1695f54 [file] [log] [blame]
Dima Zavin32276312010-02-04 12:15:09 -08001BASE_PATH := $(call my-dir)
2LOCAL_PATH:= $(call my-dir)
3
4include $(CLEAR_VARS)
5
Dima Zavin32276312010-02-04 12:15:09 -08006# setup for skia optimizations
7#
8ifneq ($(ARCH_ARM_HAVE_VFP),true)
9 LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT
10endif
11
12ifeq ($(ARCH_ARM_HAVE_NEON),true)
13 LOCAL_CFLAGS += -D__ARM_HAVE_NEON
14endif
15
16# our source files
17#
18LOCAL_SRC_FILES:= \
19 bitmap.cpp
20
21LOCAL_SHARED_LIBRARIES := \
22 libandroid_runtime \
23 libskia
24
25LOCAL_C_INCLUDES += \
Dima Zavin32276312010-02-04 12:15:09 -080026 frameworks/base/native/include \
Elliott Hughes89269cf2012-05-03 16:39:22 -070027 frameworks/base/core/jni/android/graphics
Dima Zavin32276312010-02-04 12:15:09 -080028
29LOCAL_MODULE:= libjnigraphics
30
31include $(BUILD_SHARED_LIBRARY)
32