Merge "Remove superfluous OpenSSL include paths."

This commit is contained in:
Kenny Root 2015-01-23 01:05:47 +00:00 committed by Gerrit Code Review
commit 2697029971
4 changed files with 6 additions and 4 deletions

View file

@ -22,7 +22,6 @@ common_src_files := \
common_c_includes := \
system/extras/ext4_utils \
system/extras/f2fs_utils \
external/openssl/include \
external/scrypt/lib/crypto \
frameworks/native/include \
system/security/keystore \

View file

@ -36,6 +36,7 @@
#include <string.h>
#include <sys/mount.h>
#include <openssl/evp.h>
#include <openssl/sha.h>
#include <errno.h>
#include <ext4.h>
#include <linux/kdev_t.h>

View file

@ -27,7 +27,6 @@
*/
#include <cutils/properties.h>
#include <openssl/sha.h>
/* The current cryptfs version */
#define CURRENT_MAJOR_VERSION 1
@ -84,6 +83,10 @@
/* __le32 and __le16 defined in system/extras/ext4_utils/ext4_utils.h */
#define __le8 unsigned char
#if !defined(SHA256_DIGEST_LENGTH)
#define SHA256_DIGEST_LENGTH 32
#endif
struct crypt_mnt_ftr {
__le32 magic; /* See above */
__le16 major_version;

View file

@ -5,8 +5,7 @@ include $(CLEAR_VARS)
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_C_INCLUDES := \
system/core/fs_mgr/include \
external/openssl/include \
system/core/fs_mgr/include
LOCAL_SHARED_LIBRARIES := \
liblog \