summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskconfig')
-rw-r--r--libdiskconfig/Android.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdiskconfig/Android.mk b/libdiskconfig/Android.mk
index ef08bec19..c887955ea 100644
--- a/libdiskconfig/Android.mk
+++ b/libdiskconfig/Android.mk
@@ -3,7 +3,6 @@ include $(CLEAR_VARS)
3 3
4ifneq ($(TARGET_SIMULATOR),true) 4ifneq ($(TARGET_SIMULATOR),true)
5 5
6
7commonSources := \ 6commonSources := \
8 diskconfig.c \ 7 diskconfig.c \
9 diskutils.c \ 8 diskutils.c \
@@ -16,13 +15,13 @@ LOCAL_MODULE := libdiskconfig
16LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc 15LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc
17include $(BUILD_SHARED_LIBRARY) 16include $(BUILD_SHARED_LIBRARY)
18 17
18ifeq ($(HOST_OS),linux)
19include $(CLEAR_VARS) 19include $(CLEAR_VARS)
20LOCAL_SRC_FILES := $(commonSources) 20LOCAL_SRC_FILES := $(commonSources)
21LOCAL_MODULE := libdiskconfig_host 21LOCAL_MODULE := libdiskconfig_host
22LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils 22LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils
23LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE 23LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE
24include $(BUILD_HOST_STATIC_LIBRARY) 24include $(BUILD_HOST_STATIC_LIBRARY)
25 25endif # HOST_OS == linux
26
27 26
28endif # ! TARGET_SIMULATOR 27endif # ! TARGET_SIMULATOR