1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES:= \ 5 com_android_server_AlarmManagerService.cpp \ 6 com_android_server_BatteryService.cpp \ 7 com_android_server_InputApplicationHandle.cpp \ 8 com_android_server_InputManager.cpp \ 9 com_android_server_InputWindowHandle.cpp \ 10 com_android_server_LightsService.cpp \ 11 com_android_server_PowerManagerService.cpp \ 12 com_android_server_SystemServer.cpp \ 13 com_android_server_UsbDeviceManager.cpp \ 14 com_android_server_UsbHostManager.cpp \ 15 com_android_server_VibratorService.cpp \ 16 com_android_server_location_GpsLocationProvider.cpp \ 17 com_android_server_connectivity_Vpn.cpp \ 18 onload.cpp 19 20 LOCAL_C_INCLUDES += \ 21 $(JNI_H_INCLUDE) \ 22 frameworks/base/services \ 23 frameworks/base/core/jni \ 24 external/skia/include/core 25 26 LOCAL_SHARED_LIBRARIES := \ 27 libandroid_runtime \ 28 libcutils \ 29 libhardware \ 30 libhardware_legacy \ 31 libnativehelper \ 32 libsystem_server \ 33 libutils \ 34 libui \ 35 libinput \ 36 libskia \ 37 libgui \ 38 libusbhost 39 40 ifeq ($(WITH_MALLOC_LEAK_CHECK),true) 41 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK 42 endif 43 44 LOCAL_MODULE:= libandroid_servers 45 46 include $(BUILD_SHARED_LIBRARY) 47