am 8d6da447: merge from open-source master

Merge commit '8d6da4478c27c1b65629a4c2966e7382e3f45fb1'

* commit '8d6da4478c27c1b65629a4c2966e7382e3f45fb1':
  Build the host version of libdiskconfig
This commit is contained in:
The Android Open Source Project 2010-07-12 15:44:00 -07:00 committed by Android Git Automerger
commit 41b92c20f8
1 changed files with 12 additions and 3 deletions

View File

@ -3,17 +3,26 @@ include $(CLEAR_VARS)
ifneq ($(TARGET_SIMULATOR),true)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
commonSources := \
diskconfig.c \
diskutils.c \
write_lst.c \
config_mbr.c
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(commonSources)
LOCAL_MODULE := libdiskconfig
LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(commonSources)
LOCAL_MODULE := libdiskconfig_host
LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils
LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE
include $(BUILD_HOST_STATIC_LIBRARY)
endif # ! TARGET_SIMULATOR