summaryrefslogtreecommitdiff
path: root/examples/android/hello-glib/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'examples/android/hello-glib/jni/Android.mk')
-rw-r--r--examples/android/hello-glib/jni/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/android/hello-glib/jni/Android.mk b/examples/android/hello-glib/jni/Android.mk
new file mode 100644
index 00000000..25c73d2d
--- /dev/null
+++ b/examples/android/hello-glib/jni/Android.mk
@@ -0,0 +1,18 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := test-cogl-hello
+LOCAL_SRC_FILES := main.c
+LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM
+LOCAL_STATIC_LIBRARIES := cogl android_native_app_glue gobject gmodule gthread glib-android glib iconv
+LOCAL_ARM_MODE := arm
+LOCAL_CFLAGS := \
+ -DG_LOG_DOMAIN=\"TestCoglHello\" \
+ $(NULL)
+
+include $(BUILD_SHARED_LIBRARY)
+
+$(call import-module,android/native_app_glue)
+$(call import-module,glib)
+$(call import-module,cogl)