-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
55 lines (44 loc) · 913 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
LOCAL_PATH := $(call my-dir)
###################################
#
# shared library
#
##################################
include $(CLEAR_VARS)
LOCAL_MODULE := png
LOCAL_SRC_FILES := png.c \
pngerror.c \
pngget.c \
pngmem.c \
pngpread.c \
pngread.c \
pngrio.c \
pngrtran.c \
pngrutil.c \
pngset.c \
pngtest.c \
pngtrans.c \
pngwio.c \
pngwrite.c \
pngwtran.c \
pngwutil.c \
arm/arm_init.c \
arm/filter_neon.S \
arm/filter_neon_intrinsics.c \
arm/palette_neon_intrinsics.c
LOCAL_CFLAGS :=
LOCAL_LDFLAGS := -lz
LOCAL_EXPORT_LDLIBS := $(LOCAL_LDFLAGS)
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
include $(BUILD_SHARED_LIBRARY)
###################################
#
# static library
#
##################################
include $(CLEAR_VARS)
LOCAL_MODULE := png_static
LOCAL_MODULE_FILENAME := libpng
LOCAL_LDFLAGS :=
include $(BUILD_STATIC_LIBRARY)