blob: 88954f04cd33edd14c810bacce5afd11863ca0f8 [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)
Andreas Gampecad87d72014-11-10 17:13:06 -08009 LOCAL_CFLAGS += -DSK_SOFTWARE_FLOAT
Dima Zavin32276312010-02-04 12:15:09 -080010endif
11
12ifeq ($(ARCH_ARM_HAVE_NEON),true)
Andreas Gampecad87d72014-11-10 17:13:06 -080013 LOCAL_CFLAGS += -D__ARM_HAVE_NEON
Dima Zavin32276312010-02-04 12:15:09 -080014endif
15
16# our source files
17#
18LOCAL_SRC_FILES:= \
Andreas Gampecad87d72014-11-10 17:13:06 -080019 bitmap.cpp
Dima Zavin32276312010-02-04 12:15:09 -080020
21LOCAL_SHARED_LIBRARIES := \
22 libandroid_runtime \
23 libskia
24
25LOCAL_C_INCLUDES += \
Andreas Gampecad87d72014-11-10 17:13:06 -080026 frameworks/base/native/include \
27 frameworks/base/core/jni/android/graphics
Dima Zavin32276312010-02-04 12:15:09 -080028
29LOCAL_MODULE:= libjnigraphics
30
Andreas Gampecad87d72014-11-10 17:13:06 -080031LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
32
Dima Zavin32276312010-02-04 12:15:09 -080033include $(BUILD_SHARED_LIBRARY)
34