b5228ac076
Bug: http://b/19059885 Change-Id: I15f70b434b1d450e5b62ca7c204c628e2dc9edcc (cherry picked from commit 2e84bc6948bb24ec67bf289ee1d0ed937a0fd4ff)
39 lines
777 B
Makefile
39 lines
777 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 \
|
|
frameworks/base/libs/hwui
|
|
|
|
LOCAL_MODULE:= libjnigraphics
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
# TODO: This is to work around b/19059885. Remove after root cause is fixed
|
|
LOCAL_LDFLAGS_arm := -Wl,--hash-style=both
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|