blob: 9458f282c594df395db529b608bb65fb6bd8e93e [file] [log] [blame]
BASE_PATH := $(call my-dir)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PRELINK_MODULE := false
# 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/core/jni/android/graphics \
dalvik/libnativehelper/include/nativehelper
LOCAL_MODULE:= libjnigraphics
include $(BUILD_SHARED_LIBRARY)