From 612c5fdabe925c35403653b170287ffb5bcb854b Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 2 Sep 2014 23:20:57 +0200 Subject: recover change of Android.mk for creating the base64 files --- jni/Android.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'jni') diff --git a/jni/Android.mk b/jni/Android.mk index 6b25558..06cf936 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -16,6 +16,16 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) +$(LOCAL_PATH)/iodine/src/base64u.c: $(LOCAL_PATH)/iodine/src/base64.c $(LOCAL_PATH)/iodine/src/base64u.h + @echo Making $@ + @echo '/* No use in editing, produced by Makefile! */' > $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@ + +$(LOCAL_PATH)/iodine/src/base64u.h: $(LOCAL_PATH)/iodine/src/base64.h + @echo Making $@ + @echo '/* No use in editing, produced by Makefile! */' > $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@ + LOCAL_MODULE := iodine-client LOCAL_LDLIBS := -lz -llog LOCAL_CFLAGS := -Wall -- cgit v1.2.1