OLD | NEW |
| (Empty) |
1 local_c_flags := | |
2 | |
3 local_c_includes := $(log_c_includes) | |
4 | |
5 local_additional_dependencies := $(LOCAL_PATH)/android-config.mk $(LOCAL_PATH)/C
rypto.mk | |
6 | |
7 include $(LOCAL_PATH)/Crypto-config.mk | |
8 | |
9 ####################################### | |
10 # target static library | |
11 include $(CLEAR_VARS) | |
12 include $(LOCAL_PATH)/android-config.mk | |
13 | |
14 LOCAL_SHARED_LIBRARIES := $(log_shared_libraries) | |
15 | |
16 ifneq (,$(TARGET_BUILD_APPS)) | |
17 LOCAL_SDK_VERSION := 9 | |
18 endif | |
19 | |
20 LOCAL_SRC_FILES += $(target_src_files) | |
21 LOCAL_CFLAGS += $(target_c_flags) | |
22 LOCAL_C_INCLUDES += $(target_c_includes) | |
23 LOCAL_MODULE_TAGS := optional | |
24 LOCAL_MODULE:= libcrypto_static | |
25 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
26 include $(BUILD_STATIC_LIBRARY) | |
27 | |
28 ####################################### | |
29 # target shared library | |
30 include $(CLEAR_VARS) | |
31 include $(LOCAL_PATH)/android-config.mk | |
32 | |
33 LOCAL_SHARED_LIBRARIES := $(log_shared_libraries) | |
34 | |
35 ifneq (,$(TARGET_BUILD_APPS)) | |
36 LOCAL_SDK_VERSION := 9 | |
37 endif | |
38 LOCAL_LDFLAGS += -ldl | |
39 | |
40 LOCAL_SRC_FILES += $(target_src_files) | |
41 LOCAL_CFLAGS += $(target_c_flags) | |
42 LOCAL_C_INCLUDES += $(target_c_includes) | |
43 LOCAL_MODULE_TAGS := optional | |
44 LOCAL_MODULE:= libcrypto | |
45 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
46 include $(BUILD_SHARED_LIBRARY) | |
47 | |
48 ####################################### | |
49 # host shared library | |
50 include $(CLEAR_VARS) | |
51 include $(LOCAL_PATH)/android-config.mk | |
52 LOCAL_SHARED_LIBRARIES := $(log_shared_libraries) | |
53 LOCAL_SRC_FILES += $(host_src_files) | |
54 LOCAL_CFLAGS += $(host_c_flags) -DPURIFY | |
55 LOCAL_C_INCLUDES += $(host_c_includes) | |
56 LOCAL_LDLIBS += -ldl | |
57 LOCAL_MODULE_TAGS := optional | |
58 LOCAL_MODULE:= libcrypto | |
59 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
60 include $(BUILD_HOST_SHARED_LIBRARY) | |
61 | |
62 ######################################## | |
63 # host static library, which is used by some SDK tools. | |
64 | |
65 include $(CLEAR_VARS) | |
66 include $(LOCAL_PATH)/android-config.mk | |
67 LOCAL_SHARED_LIBRARIES := $(log_shared_libraries) | |
68 LOCAL_SRC_FILES += $(host_src_files) | |
69 LOCAL_CFLAGS += $(host_c_flags) -DPURIFY | |
70 LOCAL_C_INCLUDES += $(host_c_includes) | |
71 LOCAL_LDLIBS += -ldl | |
72 LOCAL_MODULE_TAGS := optional | |
73 LOCAL_MODULE:= libcrypto_static | |
74 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
75 include $(BUILD_HOST_STATIC_LIBRARY) | |
OLD | NEW |