summaryrefslogtreecommitdiffstats
path: root/simg2img
diff options
context:
space:
mode:
authorHashBang <hashbang173@gmail.com>2016-01-30 20:20:09 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-02-03 23:05:56 +0100
commited974bb87ab099e5168768b3381dcdf80d83f3c8 (patch)
treed258894dae7a12c3570f1cc346026e7582321e35 /simg2img
parentsort languages by display value (diff)
downloadandroid_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar.gz
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar.bz2
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar.lz
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar.xz
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.tar.zst
android_bootable_recovery-ed974bb87ab099e5168768b3381dcdf80d83f3c8.zip
Diffstat (limited to 'simg2img')
-rw-r--r--simg2img/Android.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/simg2img/Android.mk b/simg2img/Android.mk
new file mode 100644
index 000000000..74755e7db
--- /dev/null
+++ b/simg2img/Android.mk
@@ -0,0 +1,14 @@
+LOCAL_PATH := system/core/libsparse
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := simg2img.c \
+ sparse_crc32.c
+LOCAL_MODULE := simg2img_twrp
+LOCAL_MODULE_STEM := simg2img
+LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+LOCAL_MODULE_TAGS := optional
+LOCAL_SHARED_LIBRARIES := \
+ libsparse \
+ libz
+LOCAL_CFLAGS := -Werror
+include $(BUILD_EXECUTABLE)