summaryrefslogtreecommitdiffstats
path: root/libdiskconfig/Android.mk
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-03-10 12:46:00 -0800
committerSan Mehat <san@google.com>2010-03-10 15:19:06 -0800
commita6391f1006b961ca89d1c79a826375380684a4de (patch)
tree50f5a2b2179d52cf24cb6ad09c4842d0404610e2 /libdiskconfig/Android.mk
parent732799eca9f2767996bc423503937c4c935bb630 (diff)
downloadsystem_core-a6391f1006b961ca89d1c79a826375380684a4de.zip
system_core-a6391f1006b961ca89d1c79a826375380684a4de.tar.gz
system_core-a6391f1006b961ca89d1c79a826375380684a4de.tar.bz2
system: libdiskconfig: Add libdiskconfig
Change-Id: Ie7a7b5d8016dec60cdfb17228c3f519789c98564 Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'libdiskconfig/Android.mk')
-rw-r--r--libdiskconfig/Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/libdiskconfig/Android.mk b/libdiskconfig/Android.mk
new file mode 100644
index 0000000..f264103
--- /dev/null
+++ b/libdiskconfig/Android.mk
@@ -0,0 +1,20 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+ifneq ($(TARGET_SIMULATOR),true)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ diskconfig.c \
+ diskutils.c \
+ write_lst.c \
+ config_mbr.c
+
+LOCAL_MODULE := libdiskconfig
+LOCAL_PRELINK_MODULE := false
+LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc
+
+include $(BUILD_SHARED_LIBRARY)
+
+endif # ! TARGET_SIMULATOR