File: Android.mk

package info (click to toggle)
android-platform-system-core 21-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,624 kB
  • ctags: 11,983
  • sloc: ansic: 70,139; cpp: 14,766; asm: 1,774; sh: 875; yacc: 137; python: 131; makefile: 120; lex: 103; java: 79
file content (48 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
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
LOCAL_PATH:= $(call my-dir)

# build host static library
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	centraldir.c \
	zipfile.c

LOCAL_STATIC_LIBRARIES := \
	libunz

LOCAL_MODULE:= libzipfile

LOCAL_C_INCLUDES += external/zlib

include $(BUILD_HOST_STATIC_LIBRARY)

# build device static library
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	centraldir.c \
	zipfile.c

LOCAL_STATIC_LIBRARIES := \
	libunz

LOCAL_MODULE:= libzipfile

LOCAL_C_INCLUDES += external/zlib

include $(BUILD_STATIC_LIBRARY)


# build test_zipfile
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	test_zipfile.c

LOCAL_STATIC_LIBRARIES := libzipfile libunz

LOCAL_MODULE := test_zipfile

LOCAL_C_INCLUDES += external/zlib

include $(BUILD_HOST_EXECUTABLE)