950fe8f8d4
The libskia target exports all of its public includes directories so redefining them here is redundant. Also this cleans up and makes it obvious where the framework is making using of private Skia headers. Change-Id: Ie7ecc9ddd3df780bed6b9af54ba58ca58274e043
33 lines
551 B
Makefile
33 lines
551 B
Makefile
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 += \
|
|
frameworks/base/native/include \
|
|
frameworks/base/core/jni/android/graphics
|
|
|
|
LOCAL_MODULE:= libjnigraphics
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|