forked from guardianproject/openssl-android
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathandroid-config.mk
More file actions
27 lines (21 loc) · 733 Bytes
/
android-config.mk
File metadata and controls
27 lines (21 loc) · 733 Bytes
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
#
# These flags represent the build-time configuration of OpenSSL for android
#
# The value of $(openssl_cflags) was pruned from the Makefile generated
# by running ./Configure from import_openssl.sh.
#
# This script performs minor but required patching for the Android build.
#
LOCAL_CFLAGS += $(openssl_cflags)
LOCAL_CFLAGS := $(filter-out -DTERMIO, $(LOCAL_CFLAGS))
ifeq ($(HOST_OS),windows)
LOCAL_CFLAGS := $(filter-out -DDSO_DLFCN -DHAVE_DLFCN_H,$(LOCAL_CFLAGS))
endif
# Directories
LOCAL_CFLAGS += \
-DOPENSSLDIR="\"/system/lib/ssl\"" \
-DENGINESDIR="\"/system/lib/ssl/engines\""
# Intentionally excluded http://b/7079965
LOCAL_CFLAGS := $(filter-out -DZLIB, $(LOCAL_CFLAGS))
# Debug
# LOCAL_CFLAGS += -DCIPHER_DEBUG