| 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)/S
sl.mk | |
| 6 | |
| 7 include $(LOCAL_PATH)/Ssl-config.mk | |
| 8 | |
| 9 ####################################### | |
| 10 # target static library | |
| 11 include $(CLEAR_VARS) | |
| 12 include $(LOCAL_PATH)/android-config.mk | |
| 13 | |
| 14 ifneq (,$(TARGET_BUILD_APPS)) | |
| 15 LOCAL_SDK_VERSION := 9 | |
| 16 endif | |
| 17 | |
| 18 LOCAL_SRC_FILES += $(target_src_files) | |
| 19 LOCAL_CFLAGS += $(target_c_flags) | |
| 20 LOCAL_C_INCLUDES += $(target_c_includes) | |
| 21 LOCAL_SHARED_LIBRARIES = $(log_shared_libraries) | |
| 22 LOCAL_MODULE_TAGS := optional | |
| 23 LOCAL_MODULE:= libssl_static | |
| 24 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
| 25 include $(BUILD_STATIC_LIBRARY) | |
| 26 | |
| 27 ####################################### | |
| 28 # target shared library | |
| 29 include $(CLEAR_VARS) | |
| 30 include $(LOCAL_PATH)/android-config.mk | |
| 31 | |
| 32 ifneq (,$(TARGET_BUILD_APPS)) | |
| 33 LOCAL_SDK_VERSION := 9 | |
| 34 endif | |
| 35 | |
| 36 LOCAL_SRC_FILES += $(target_src_files) | |
| 37 LOCAL_CFLAGS += $(target_c_flags) | |
| 38 LOCAL_C_INCLUDES += $(target_c_includes) | |
| 39 LOCAL_SHARED_LIBRARIES += libcrypto $(log_shared_libraries) | |
| 40 LOCAL_MODULE_TAGS := optional | |
| 41 LOCAL_MODULE:= libssl | |
| 42 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
| 43 include $(BUILD_SHARED_LIBRARY) | |
| 44 | |
| 45 ####################################### | |
| 46 # host shared library | |
| 47 include $(CLEAR_VARS) | |
| 48 include $(LOCAL_PATH)/android-config.mk | |
| 49 LOCAL_SRC_FILES += $(host_src_files) | |
| 50 LOCAL_CFLAGS += $(host_c_flags) | |
| 51 LOCAL_C_INCLUDES += $(host_c_includes) | |
| 52 LOCAL_SHARED_LIBRARIES += libcrypto $(log_shared_libraries) | |
| 53 LOCAL_MODULE_TAGS := optional | |
| 54 LOCAL_MODULE:= libssl | |
| 55 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
| 56 include $(BUILD_HOST_SHARED_LIBRARY) | |
| 57 | |
| 58 ####################################### | |
| 59 # ssltest | |
| 60 include $(CLEAR_VARS) | |
| 61 include $(LOCAL_PATH)/android-config.mk | |
| 62 LOCAL_SRC_FILES:= ssl/ssltest.c | |
| 63 LOCAL_C_INCLUDES += $(host_c_includes) | |
| 64 LOCAL_SHARED_LIBRARIES := libssl libcrypto $(log_shared_libraries) | |
| 65 LOCAL_MODULE:= ssltest | |
| 66 LOCAL_MODULE_TAGS := optional | |
| 67 LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) | |
| 68 include $(BUILD_EXECUTABLE) | |
| OLD | NEW |