diff options
Diffstat (limited to 'libdiskconfig/Android.mk')
-rw-r--r-- | libdiskconfig/Android.mk | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libdiskconfig/Android.mk b/libdiskconfig/Android.mk deleted file mode 100644 index a49ce5825..000000000 --- a/libdiskconfig/Android.mk +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | LOCAL_PATH := $(call my-dir) | ||
2 | include $(CLEAR_VARS) | ||
3 | |||
4 | commonSources := \ | ||
5 | diskconfig.c \ | ||
6 | diskutils.c \ | ||
7 | write_lst.c \ | ||
8 | config_mbr.c | ||
9 | |||
10 | include $(CLEAR_VARS) | ||
11 | LOCAL_SRC_FILES := $(commonSources) | ||
12 | LOCAL_MODULE := libdiskconfig | ||
13 | LOCAL_MODULE_TAGS := optional | ||
14 | LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc | ||
15 | LOCAL_CFLAGS := -Werror | ||
16 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include | ||
17 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include | ||
18 | include $(BUILD_SHARED_LIBRARY) | ||
19 | |||
20 | ifeq ($(HOST_OS),linux) | ||
21 | include $(CLEAR_VARS) | ||
22 | LOCAL_SRC_FILES := $(commonSources) | ||
23 | LOCAL_MODULE := libdiskconfig_host | ||
24 | LOCAL_MODULE_TAGS := optional | ||
25 | LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE | ||
26 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include | ||
27 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include | ||
28 | include $(BUILD_HOST_STATIC_LIBRARY) | ||
29 | endif # HOST_OS == linux | ||