blob: f33920d6e48e9f9184a9e039ee362989a2c5e226 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 com_android_server_AlarmManagerService.cpp \
6 com_android_server_BatteryService.cpp \
Jeff Brown928e0542011-01-10 11:17:36 -08007 com_android_server_InputApplication.cpp \
8 com_android_server_InputApplicationHandle.cpp \
Jeff Brown46b9ac02010-04-22 18:58:52 -07009 com_android_server_InputManager.cpp \
Jeff Brown928e0542011-01-10 11:17:36 -080010 com_android_server_InputWindow.cpp \
11 com_android_server_InputWindowHandle.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -050012 com_android_server_LightsService.cpp \
Jeff Brown00fa7bd2010-07-02 15:37:36 -070013 com_android_server_PowerManagerService.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080014 com_android_server_SystemServer.cpp \
Mike Lockwood46d0adf2011-05-26 10:27:39 -040015 com_android_server_UsbDeviceManager.cpp \
16 com_android_server_UsbHostManager.cpp \
Mike Lockwood3a322132009-11-24 00:30:52 -050017 com_android_server_VibratorService.cpp \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050018 com_android_server_location_GpsLocationProvider.cpp \
Chia-chi Yehff3bdca2011-05-23 17:26:46 -070019 com_android_server_connectivity_Vpn.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080020 onload.cpp
21
22LOCAL_C_INCLUDES += \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080023 $(JNI_H_INCLUDE) \
24 frameworks/base/services \
25 frameworks/base/core/jni \
26 external/skia/include/core
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080027
28LOCAL_SHARED_LIBRARIES := \
Jeff Brown46b9ac02010-04-22 18:58:52 -070029 libandroid_runtime \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050030 libcutils \
31 libhardware \
32 libhardware_legacy \
33 libnativehelper \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080034 libsystem_server \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050035 libutils \
36 libui \
Jeff Brownb4ff35d2011-01-02 16:37:43 -080037 libinput \
38 libskia \
Mathias Agopian696257c2011-03-25 18:42:40 -070039 libgui \
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050040 libusbhost
Mike Lockwoodda39f0e2010-07-27 18:44:30 -040041
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080042ifeq ($(TARGET_SIMULATOR),true)
43ifeq ($(TARGET_OS),linux)
44ifeq ($(TARGET_ARCH),x86)
45LOCAL_LDLIBS += -lpthread -ldl -lrt
46endif
47endif
48endif
49
50ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
Mike Lockwoodda03aaa2010-12-29 08:32:32 -050051 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080052endif
53
54LOCAL_MODULE:= libandroid_servers
55
56include $(BUILD_SHARED_LIBRARY)