blob: d10f54fbb7446f2b7786f74c828a106f9eb70115 [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 \
Jeff Brown46b9ac02010-04-22 18:58:52 -07007 com_android_server_InputManager.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -05008 com_android_server_LightsService.cpp \
Jeff Brown00fa7bd2010-07-02 15:37:36 -07009 com_android_server_PowerManagerService.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080010 com_android_server_SystemServer.cpp \
Mike Lockwoodda39f0e2010-07-27 18:44:30 -040011 com_android_server_UsbObserver.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -050012 com_android_server_VibratorService.cpp \
Mike Lockwood00b74272010-03-26 10:41:48 -040013 com_android_server_location_GpsLocationProvider.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080014 onload.cpp
15
16LOCAL_C_INCLUDES += \
17 $(JNI_H_INCLUDE)
18
19LOCAL_SHARED_LIBRARIES := \
Jeff Brown46b9ac02010-04-22 18:58:52 -070020 libandroid_runtime \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080021 libcutils \
22 libhardware \
23 libhardware_legacy \
24 libnativehelper \
25 libsystem_server \
26 libutils \
Joe Onoratob08a1af2010-10-11 19:28:58 -070027 libui \
28 libsurfaceflinger_client
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080029
Mike Lockwoodda39f0e2010-07-27 18:44:30 -040030LOCAL_STATIC_LIBRARIES := libusbhost
31
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080032ifeq ($(TARGET_SIMULATOR),true)
33ifeq ($(TARGET_OS),linux)
34ifeq ($(TARGET_ARCH),x86)
35LOCAL_LDLIBS += -lpthread -ldl -lrt
36endif
37endif
38endif
39
40ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
41 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
42endif
43
44LOCAL_MODULE:= libandroid_servers
45
46include $(BUILD_SHARED_LIBRARY)
47