1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5    com_android_server_AlarmManagerService.cpp \
6    com_android_server_AssetAtlasService.cpp \
7    com_android_server_ConsumerIrService.cpp \
8    com_android_server_input_InputApplicationHandle.cpp \
9    com_android_server_input_InputManagerService.cpp \
10    com_android_server_input_InputWindowHandle.cpp \
11    com_android_server_LightsService.cpp \
12    com_android_server_power_PowerManagerService.cpp \
13    com_android_server_SerialService.cpp \
14    com_android_server_SystemServer.cpp \
15    com_android_server_UsbDeviceManager.cpp \
16    com_android_server_UsbHostManager.cpp \
17    com_android_server_VibratorService.cpp \
18    com_android_server_location_GpsLocationProvider.cpp \
19    com_android_server_location_FlpHardwareProvider.cpp \
20    com_android_server_connectivity_Vpn.cpp \
21    onload.cpp
22
23LOCAL_C_INCLUDES += \
24    $(JNI_H_INCLUDE) \
25    frameworks/base/services \
26    frameworks/base/core/jni \
27    frameworks/native/services \
28    external/skia/include/core \
29    libcore/include \
30    libcore/include/libsuspend \
31	$(call include-path-for, libhardware)/hardware \
32	$(call include-path-for, libhardware_legacy)/hardware_legacy \
33
34LOCAL_SHARED_LIBRARIES := \
35    libandroid_runtime \
36    libandroidfw \
37    libbinder \
38    libcutils \
39    liblog \
40    libhardware \
41    libhardware_legacy \
42    libnativehelper \
43    libutils \
44    libui \
45    libinput \
46    libinputservice \
47    libsensorservice \
48    libskia \
49    libgui \
50    libusbhost \
51    libsuspend \
52    libEGL \
53    libGLESv2
54
55LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
56
57ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
58    LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
59endif
60
61LOCAL_MODULE:= libandroid_servers
62
63include $(BUILD_SHARED_LIBRARY)
64