2009-05-13 15:58:43 +00:00
|
|
|
BUILD_LIBSYSUTILS := false
|
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
|
|
BUILD_LIBSYSUTILS := true
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BUILD_LIBSYSUTILS),true)
|
|
|
|
|
2009-05-06 18:14:21 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
src/SocketListener.cpp \
|
|
|
|
src/FrameworkListener.cpp \
|
|
|
|
src/NetlinkListener.cpp \
|
|
|
|
src/NetlinkEvent.cpp \
|
|
|
|
src/FrameworkCommand.cpp \
|
2009-05-08 18:15:53 +00:00
|
|
|
src/SocketClient.cpp \
|
2009-05-14 21:58:45 +00:00
|
|
|
src/ServiceManager.cpp \
|
2009-05-06 18:14:21 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE:= libsysutils
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
|
|
|
|
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils
|
|
|
|
|
2009-05-13 14:23:50 +00:00
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
|
|
LOCAL_LDLIBS += -lpthread
|
|
|
|
endif
|
|
|
|
|
2009-05-06 18:14:21 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2009-05-13 15:58:43 +00:00
|
|
|
|
|
|
|
endif
|