summaryrefslogtreecommitdiff
path: root/snappy/Android.mk
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-05-03 10:20:54 +0200
committerArne Schwabe <arne@rfc2549.org>2013-05-03 10:20:54 +0200
commit240d3a0cbdc46e4ed08d1015a2d4f1ca52bbdd55 (patch)
tree638fc6d01acc724a90a25eb3e069eef826919ee7 /snappy/Android.mk
parent0106121c24783a83ec4c816e660abed212c92fd9 (diff)
Add snappy library. In preparation for upcoming snappy support of OpenVPN
Diffstat (limited to 'snappy/Android.mk')
-rw-r--r--snappy/Android.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/snappy/Android.mk b/snappy/Android.mk
new file mode 100644
index 00000000..cdd26003
--- /dev/null
+++ b/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)
+