-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.mk
67 lines (44 loc) · 1.39 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright 2005 The Android Open Source Project
#
# Android.mk for adb
#
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := libdmverity_hashgen.c
LOCAL_CFLAGS := -Wall -DPARALLEL_HASH
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..\
external/openssl/include
#LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_MODULE := libdmverity_hashgen
LOCAL_STATIC_LIBRARIES := libc libcrypto_static_dmverity
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := dm_verity_hash
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -D__NO_UI_PRINT
LOCAL_CFLAGS += -D__USE_DM_VERITY -g
LOCAL_SRC_FILES := dm_verity_hash.c
LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
LOCAL_STATIC_LIBRARIES := \
libc \
libstdc++ \
libext4_utils_static \
libmtdutils \
libdmverity_hashgen \
libmincrypt
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := libdmverity_hashgen.c
LOCAL_CFLAGS := -Wall
LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. \
external/openssl/include
#LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_MODULE := libdmverity_hashgen_host
include $(BUILD_HOST_STATIC_LIBRARY)
# include $(CLEAR_VARS)
# LOCAL_SRC_FILES := libdmverity_hashgen.c img_dm_verity.c
# LOCAL_MODULE := img_dm_verity
# LOCAL_STATIC_LIBRARIES := libmincrypt libsparse_host libz
# include $(BUILD_HOST_EXECUTABLE)