summaryrefslogtreecommitdiffstats
path: root/libcrecovery/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libcrecovery/Android.mk')
-rw-r--r--libcrecovery/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/libcrecovery/Android.mk b/libcrecovery/Android.mk
new file mode 100644
index 000000000..8434d519d
--- /dev/null
+++ b/libcrecovery/Android.mk
@@ -0,0 +1,17 @@
+LOCAL_PATH := $(call my-dir)
+
+ifneq ($(TARGET_SIMULATOR),true)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := system.c popen.c
+LOCAL_MODULE := libcrecovery
+LOCAL_MODULE_TAGS := eng
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := system.c popen.c
+LOCAL_MODULE := libcrecovery
+LOCAL_MODULE_TAGS := eng
+include $(BUILD_SHARED_LIBRARY)
+
+endif