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_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 21 LOCAL_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 31 LOCAL_SHARED_LIBRARIES := \ 32 libandroid_runtime \ 33 libandroidfw \ 34 libcutils \ 35 liblog \ 36 libhardware \ 37 libhardware_legacy \ 38 libnativehelper \ 39 libsystem_server \ 40 libutils \ 41 libui \ 42 libinput \ 43 libskia \ 44 libgui \ 45 libusbhost \ 46 libsuspend 47 48 ifeq ($(WITH_MALLOC_LEAK_CHECK),true) 49 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK 50 endif 51 52 LOCAL_MODULE:= libandroid_servers 53 54 include $(BUILD_SHARED_LIBRARY) 55