summaryrefslogtreecommitdiffstats
path: root/crypto-sources.mk
blob: 6583ff24c9c8dc27ede0834c7cbdb39ca4b7bb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/sources.mk
include $(LOCAL_PATH)/sources.mk

LOCAL_CFLAGS += -I$(LOCAL_PATH)/src/include -I$(LOCAL_PATH)/src/crypto -Wno-unused-parameter -std=gnu11
# Do not add in the architecture-specific files if we don't want to build assembly
ifeq (,$(filter -DOPENSSL_NO_ASM,$(LOCAL_CFLAGS)))
LOCAL_SRC_FILES_x86 = $(linux_x86_sources)
LOCAL_SRC_FILES_x86_64 = $(linux_x86_64_sources)
LOCAL_SRC_FILES_arm = $(linux_arm_sources)
LOCAL_SRC_FILES_arm64 = $(linux_aarch64_sources)
endif
LOCAL_SRC_FILES += $(crypto_sources)