1# 2# These flags represent the build-time configuration of OpenSSL for android 3# 4# The value of $(openssl_cflags) was pruned from the Makefile generated 5# by running ./Configure from import_openssl.sh. 6# 7# This script performs minor but required patching for the Android build. 8# 9 10LOCAL_CFLAGS += $(openssl_cflags) 11 12LOCAL_CFLAGS := $(filter-out -DTERMIO, $(LOCAL_CFLAGS)) 13 14ifeq ($(HOST_OS),windows) 15LOCAL_CFLAGS := $(filter-out -DDSO_DLFCN -DHAVE_DLFCN_H,$(LOCAL_CFLAGS)) 16endif 17 18# Directories 19LOCAL_CFLAGS += \ 20 -DOPENSSLDIR="\"/system/lib/ssl\"" \ 21 -DENGINESDIR="\"/system/lib/ssl/engines\"" 22 23# Intentionally excluded http://b/7079965 24LOCAL_CFLAGS := $(filter-out -DZLIB, $(LOCAL_CFLAGS)) 25 26# Debug 27# LOCAL_CFLAGS += -DCIPHER_DEBUG 28 29# Add clang here when it works on host 30# LOCAL_CLANG := true 31