1LOCAL_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_input_InputApplicationHandle.cpp \
8    com_android_server_input_InputManagerService.cpp \
9    com_android_server_input_InputWindowHandle.cpp \
10    com_android_server_LightsService.cpp \
11    com_android_server_power_PowerManagerService.cpp \
12    com_android_server_SerialService.cpp \
13    com_android_server_SystemServer.cpp \
14    com_android_server_UsbDeviceManager.cpp \
15    com_android_server_UsbHostManager.cpp \
16    com_android_server_VibratorService.cpp \
17    com_android_server_location_GpsLocationProvider.cpp \
18    com_android_server_connectivity_Vpn.cpp \
19    onload.cpp
20
21LOCAL_C_INCLUDES += \
22    $(JNI_H_INCLUDE) \
23    frameworks/base/services \
24    frameworks/base/core/jni \
25    external/skia/include/core \
26    libcore/include \
27    libcore/include/libsuspend \
28	$(call include-path-for, libhardware)/hardware \
29	$(call include-path-for, libhardware_legacy)/hardware_legacy \
30
31LOCAL_SHARED_LIBRARIES := \
32    libandroid_runtime \
33    libandroidfw \
34    libcutils \
35    libhardware \
36    libhardware_legacy \
37    libnativehelper \
38    libsystem_server \
39    libutils \
40    libui \
41    libinput \
42    libskia \
43    libgui \
44    libusbhost \
45    libsuspend
46
47ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
48    LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
49endif
50
51LOCAL_MODULE:= libandroid_servers
52
53include $(BUILD_SHARED_LIBRARY)
54