blob: 2f48edfb48e57d3e97dedb4b1cb52fbe809be470 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 com_android_server_AlarmManagerService.cpp \
6 com_android_server_BatteryService.cpp \
7 com_android_server_HardwareService.cpp \
8 com_android_server_KeyInputQueue.cpp \
9 com_android_server_SensorService.cpp \
10 com_android_server_SystemServer.cpp \
11 onload.cpp
12
13LOCAL_C_INCLUDES += \
14 $(JNI_H_INCLUDE)
15
16LOCAL_SHARED_LIBRARIES := \
17 libcutils \
18 libhardware \
19 libhardware_legacy \
20 libnativehelper \
21 libsystem_server \
22 libutils \
23 libui
24
25ifeq ($(TARGET_SIMULATOR),true)
26ifeq ($(TARGET_OS),linux)
27ifeq ($(TARGET_ARCH),x86)
28LOCAL_LDLIBS += -lpthread -ldl -lrt
29endif
30endif
31endif
32
33ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
34 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
35endif
36
37LOCAL_MODULE:= libandroid_servers
38
39include $(BUILD_SHARED_LIBRARY)
40