blob: 14f91b7590da92fec343f312fda725dc31dfdf16 (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
#
# Android NDK makefile
#
# build - <ndk path>/ndk-build ICONV_SRC=<iconv library src>
# clean - <ndk path>/ndk-build clean
#
MY_LOCAL_PATH := $(call my-dir)
# libiconv
include $(CLEAR_VARS)
LOCAL_PATH := $(ICONV_SRC)
LOCAL_MODULE := libiconv
LOCAL_CFLAGS := \
-Wno-multichar \
-D_ANDROID \
-DLIBDIR="c" \
-DBUILDING_LIBICONV \
-DBUILDING_LIBCHARSET \
-DIN_LIBRARY
LOCAL_SRC_FILES := \
lib/iconv.c \
libcharset/lib/localcharset.c \
lib/relocatable.c
LOCAL_C_INCLUDES := \
$(ICONV_SRC)/include \
$(ICONV_SRC)/libcharset \
$(ICONV_SRC)/libcharset/include
include $(BUILD_SHARED_LIBRARY)
LOCAL_LDLIBS := -llog -lcharset
# libzbarjni
include $(CLEAR_VARS)
LOCAL_PATH := $(MY_LOCAL_PATH)
LOCAL_MODULE := zbarjni
LOCAL_SRC_FILES := ../../java/zbarjni.c \
../../zbar/img_scanner.c \
../../zbar/decoder.c \
../../zbar/image.c \
../../zbar/symbol.c \
../../zbar/convert.c \
../../zbar/config.c \
../../zbar/scanner.c \
../../zbar/error.c \
../../zbar/refcnt.c \
../../zbar/video.c \
../../zbar/video/null.c \
../../zbar/decoder/code128.c \
../../zbar/decoder/code39.c \
../../zbar/decoder/code93.c \
../../zbar/decoder/codabar.c \
../../zbar/decoder/databar.c \
../../zbar/decoder/ean.c \
../../zbar/decoder/i25.c \
../../zbar/decoder/qr_finder.c \
../../zbar/qrcode/bch15_5.c \
../../zbar/qrcode/binarize.c \
../../zbar/qrcode/isaac.c \
../../zbar/qrcode/qrdec.c \
../../zbar/qrcode/qrdectxt.c \
../../zbar/qrcode/rs.c \
../../zbar/qrcode/util.c
LOCAL_C_INCLUDES := ../include \
../zbar \
$(ICONV_SRC)/include
LOCAL_SHARED_LIBRARIES := libiconv
include $(BUILD_SHARED_LIBRARY)
|