share/png: add Android specific makefiles to the png library
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 19 Feb 2014 19:49:29 +0000 (14:49 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 7 Mar 2014 18:30:22 +0000 (13:30 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

share/png/Android.mk [new file with mode: 0644]
share/png/Application.mk [new file with mode: 0644]

diff --git a/share/png/Android.mk b/share/png/Android.mk
new file mode 100644 (file)
index 0000000..e110418
--- /dev/null
@@ -0,0 +1,25 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE    := png
+LOCAL_SRC_FILES :=\
+       png.c \
+       pngerror.c \
+       pngget.c \
+       pngmem.c \
+       pngpread.c \
+       pngread.c \
+       pngrio.c \
+       pngrtran.c \
+       pngrutil.c \
+       pngset.c \
+       pngtrans.c \
+       pngwio.c \
+       pngwrite.c \
+       pngwtran.c \
+       pngwutil.c
+
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
+
+#include $(BUILD_SHARED_LIBRARY)
+include $(BUILD_STATIC_LIBRARY)
diff --git a/share/png/Application.mk b/share/png/Application.mk
new file mode 100644 (file)
index 0000000..1a2cc05
--- /dev/null
@@ -0,0 +1,2 @@
+APP_OPTIM := release
+APP_MODULES := png