diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-06-26 14:28:31 +0100 |
---|---|---|
committer | Sami Tolvanen <samitolvanen@google.com> | 2015-09-25 13:06:07 +0100 |
commit | c54a33db7505976a3530aa76ebd5602f12923c4d (patch) | |
tree | cf56942b160fa5b443a332cfd86c3814ba4e1f76 /libfec/test/Android.mk | |
parent | 8ed1c5101b2081784dcece041cf47f765896ef58 (diff) | |
download | extras-c54a33db7505976a3530aa76ebd5602f12923c4d.tar.gz |
Error correction: Add libfec to read encoded data
Add libfec to read files or partitions with error-correcting codes
appended to them. Uses verity metadata to speed up I/O and improve
error correction effectiveness.
Bug: 21893453
Change-Id: I94b95058b084418019fc96595bb6055df36e2c2b
Diffstat (limited to 'libfec/test/Android.mk')
-rw-r--r-- | libfec/test/Android.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libfec/test/Android.mk b/libfec/test/Android.mk new file mode 100644 index 00000000..4b38310f --- /dev/null +++ b/libfec/test/Android.mk @@ -0,0 +1,28 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_SANITIZE := integer +LOCAL_MODULE := fec_test_read +LOCAL_SRC_FILES := test_read.cpp +LOCAL_MODULE_TAGS := optional +LOCAL_STATIC_LIBRARIES := \ + libfec_host \ + libfec_rs_host \ + libcrypto_static \ + libext4_utils_host \ + libsquashfs_utils_host \ + libbase +LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE +include $(BUILD_HOST_EXECUTABLE) + +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_SANITIZE := integer +LOCAL_MODULE := fec_test_rs +LOCAL_SRC_FILES := test_rs.c +LOCAL_MODULE_TAGS := optional +LOCAL_STATIC_LIBRARIES := libfec_rs_host +LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE +LOCAL_C_INCLUDES += external/fec +include $(BUILD_HOST_EXECUTABLE) |