blob: f5a5b4da5e807358a7632fdf2f9349af52cd60d0 [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 Brown928e0542011-01-10 11:17:36 -08007 com_android_server_InputApplication.cpp \
8 com_android_server_InputApplicationHandle.cpp \
Jeff Brown46b9ac02010-04-22 18:58:52 -07009 com_android_server_InputManager.cpp \
Jeff Brown928e0542011-01-10 11:17:36 -080010 com_android_server_InputWindow.cpp \
11 com_android_server_InputWindowHandle.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -050012 com_android_server_LightsService.cpp \
Jeff Brown00fa7bd2010-07-02 15:37:36 -070013 com_android_server_PowerManagerService.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080014 com_android_server_SystemServer.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -050015 com_android_server_VibratorService.cpp \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050016 com_android_server_location_GpsLocationProvider.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080017 onload.cpp
18
19LOCAL_C_INCLUDES += \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080020 $(JNI_H_INCLUDE) \
21 frameworks/base/services \
22 frameworks/base/core/jni \
23 external/skia/include/core
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080024
25LOCAL_SHARED_LIBRARIES := \
Jeff Brown46b9ac02010-04-22 18:58:52 -070026 libandroid_runtime \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050027 libcutils \
28 libhardware \
29 libhardware_legacy \
30 libnativehelper \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080031 libsystem_server \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050032 libutils \
33 libui \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080034 libinput \
35 libskia \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050036 libsurfaceflinger_client \
37 libusbhost
Mike Lockwoodda39f0e2010-07-27 18:44:30 -040038
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080039ifeq ($(TARGET_SIMULATOR),true)
40ifeq ($(TARGET_OS),linux)
41ifeq ($(TARGET_ARCH),x86)
42LOCAL_LDLIBS += -lpthread -ldl -lrt
43endif
44endif
45endif
46
47ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050048 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080049endif
50
51LOCAL_MODULE:= libandroid_servers
52
53include $(BUILD_SHARED_LIBRARY)