blob: dd2b32d8deb8096bb170d8923012c2bacd7156d5 [file] [log] [blame]
San Mehatdf6c1b92009-05-13 08:58:43 -07001BUILD_LIBSYSUTILS := false
2ifneq ($(TARGET_SIMULATOR),true)
3 BUILD_LIBSYSUTILS := true
4endif
5
6ifeq ($(BUILD_LIBSYSUTILS),true)
7
San Mehat168415b2009-05-06 11:14:21 -07008LOCAL_PATH:= $(call my-dir)
9
10include $(CLEAR_VARS)
11
12LOCAL_SRC_FILES:= \
San Mehat168415b2009-05-06 11:14:21 -070013 src/SocketListener.cpp \
14 src/FrameworkListener.cpp \
15 src/NetlinkListener.cpp \
16 src/NetlinkEvent.cpp \
17 src/FrameworkCommand.cpp \
San Mehatfa644ff2009-05-08 11:15:53 -070018 src/SocketClient.cpp \
San Mehatc41d1c82009-05-14 14:58:45 -070019 src/ServiceManager.cpp \
San Mehat168415b2009-05-06 11:14:21 -070020
21LOCAL_MODULE:= libsysutils
22
23LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
24
25LOCAL_CFLAGS :=
26
27LOCAL_SHARED_LIBRARIES := libcutils
28
Andy McFadden6fc287b2009-05-13 07:23:50 -070029ifeq ($(TARGET_SIMULATOR),true)
30 LOCAL_LDLIBS += -lpthread
31endif
32
San Mehat168415b2009-05-06 11:14:21 -070033include $(BUILD_SHARED_LIBRARY)
San Mehatdf6c1b92009-05-13 08:58:43 -070034
35endif