summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..ac0b872
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,27 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+ifeq ($(TARGET_USE_DISKINSTALLER),true)
+
+LOCAL_SRC_FILES := \
+ installer.c
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/libdiskconfig
+
+LOCAL_CFLAGS := -O2 -g -W -Wall -Werror
+
+LOCAL_MODULE := diskinstaller
+LOCAL_MODULE_TAGS := system_builder
+
+LOCAL_STATIC_LIBRARIES := $(TARGET_DISK_CONFIG_LIB)
+LOCAL_SYSTEM_SHARED_LIBRARIES := \
+ libdiskconfig \
+ libcutils \
+ liblog \
+ libc
+
+include $(BUILD_EXECUTABLE)
+
+include $(call first-makefiles-under,$(LOCAL_PATH))
+endif
+