summaryrefslogtreecommitdiffstats
path: root/libsysutils/Android.mk
blob: 3b1f6183f14ad27b662b2d792afb94ac8c3dc330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ifneq ($(BUILD_TINY_ANDROID),true)
BUILD_LIBSYSUTILS := false
ifneq ($(TARGET_SIMULATOR),true)
    BUILD_LIBSYSUTILS := true
endif

ifeq ($(BUILD_LIBSYSUTILS),true)

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    \
                  src/SocketClient.cpp        \
                  src/ServiceManager.cpp      \

LOCAL_MODULE:= libsysutils

LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 

LOCAL_CFLAGS := 

LOCAL_SHARED_LIBRARIES := libcutils

ifeq ($(TARGET_SIMULATOR),true)
  LOCAL_LDLIBS += -lpthread
endif

include $(BUILD_SHARED_LIBRARY)

endif
endif