summaryrefslogtreecommitdiff
path: root/app/snappy/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'app/snappy/Android.mk')
-rw-r--r--app/snappy/Android.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/snappy/Android.mk b/app/snappy/Android.mk
new file mode 100644
index 00000000..cdd26003
--- /dev/null
+++ b/app/snappy/Android.mk
@@ -0,0 +1,35 @@
+
+LOCAL_PATH:= $(call my-dir)
+
+
+common_SRC_FILES:= \
+ snappy-c.cc \
+ snappy-sinksource.cc \
+ snappy-stubs-internal.cc \
+ snappy.cc
+
+common_C_INCLUDES += $(LOCAL_PATH)/ $(LOCAL_PATH)/conf
+
+# static library
+# =====================================================
+
+include $(CLEAR_VARS)
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_SRC_FILES:= $(common_SRC_FILES)
+LOCAL_C_INCLUDES:= $(common_C_INCLUDES)
+LOCAL_MODULE := snappy-static
+LOCAL_PRELINK_MODULE:= false
+LOCAL_MODULE_TAGS := optional
+include $(BUILD_STATIC_LIBRARY)
+
+# dynamic library
+# =====================================================
+
+# include $(CLEAR_VARS)
+# LOCAL_SRC_FILES:= $(common_SRC_FILES)
+# LOCAL_C_INCLUDES:= $(common_C_INCLUDES)
+# LOCAL_MODULE := liblzo
+# LOCAL_PRELINK_MODULE:= false
+# LOCAL_MODULE_TAGS := optional
+# include $(BUILD_SHARED_LIBRARY)
+