Android.mk revision ca4f2e838c144bd7e51e8f58cbaa40793c580dc4
1BASE_PATH := $(call my-dir)
2LOCAL_PATH:= $(call my-dir)
3
4include $(CLEAR_VARS)
5
6# 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 += \
26    frameworks/base/native/include \
27    frameworks/base/core/jni/android/graphics
28
29LOCAL_MODULE:= libjnigraphics
30
31LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
32
33# TODO: This is to work around b/19059885. Remove after root cause is fixed
34LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
35
36include $(BUILD_SHARED_LIBRARY)
37
38