Provide the option to enable debug information during tar backups
Change-Id: Ibdb060d334c8f799a283f1bcef4a369d5555c975
This commit is contained in:
@@ -25,6 +25,10 @@ ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TW_LIBTAR_DEBUG),true)
|
||||
LOCAL_CFLAGS += -DTW_LIBTAR_DEBUG
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
# Build static library
|
||||
@@ -52,4 +56,8 @@ ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TW_LIBTAR_DEBUG),true)
|
||||
LOCAL_CFLAGS += -DTW_LIBTAR_DEBUG
|
||||
endif
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef TW_LIBTAR_DEBUG
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EXT4_CRYPT
|
||||
#include "ext4crypt_tar.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user