Cherry-picked from klp-modular-dev Provide an abstract class for system services to extend from, similar to the android.app.Service. This will allow services to receive events in a uniform way, and will allow services to be created and started in the correct order regardless of whether or not a particular service exists. Similar to android.app.Service, services are meant to implement Binder interfaces as inner classes. This prevents services from having incestuous access to each other and makes them use the public API. Change-Id: Iaacfee8d5f080a28d7cc606761f4624673ed390f
64 lines
1.8 KiB
Makefile
64 lines
1.8 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
com_android_server_AlarmManagerService.cpp \
|
|
com_android_server_AssetAtlasService.cpp \
|
|
com_android_server_ConsumerIrService.cpp \
|
|
com_android_server_input_InputApplicationHandle.cpp \
|
|
com_android_server_input_InputManagerService.cpp \
|
|
com_android_server_input_InputWindowHandle.cpp \
|
|
com_android_server_lights_LightsService.cpp \
|
|
com_android_server_power_PowerManagerService.cpp \
|
|
com_android_server_SerialService.cpp \
|
|
com_android_server_SystemServer.cpp \
|
|
com_android_server_UsbDeviceManager.cpp \
|
|
com_android_server_UsbHostManager.cpp \
|
|
com_android_server_VibratorService.cpp \
|
|
com_android_server_location_GpsLocationProvider.cpp \
|
|
com_android_server_location_FlpHardwareProvider.cpp \
|
|
com_android_server_connectivity_Vpn.cpp \
|
|
onload.cpp
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
frameworks/base/services \
|
|
frameworks/base/core/jni \
|
|
frameworks/native/services \
|
|
external/skia/include/core \
|
|
libcore/include \
|
|
libcore/include/libsuspend \
|
|
$(call include-path-for, libhardware)/hardware \
|
|
$(call include-path-for, libhardware_legacy)/hardware_legacy \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libandroid_runtime \
|
|
libandroidfw \
|
|
libbinder \
|
|
libcutils \
|
|
liblog \
|
|
libhardware \
|
|
libhardware_legacy \
|
|
libnativehelper \
|
|
libutils \
|
|
libui \
|
|
libinput \
|
|
libinputservice \
|
|
libsensorservice \
|
|
libskia \
|
|
libgui \
|
|
libusbhost \
|
|
libsuspend \
|
|
libEGL \
|
|
libGLESv2
|
|
|
|
LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
|
|
|
|
ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
|
|
LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
|
|
endif
|
|
|
|
LOCAL_MODULE:= libandroid_servers
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|