The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 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 \ |
Jeff Brown | 928e054 | 2011-01-10 11:17:36 -0800 | [diff] [blame] | 7 | com_android_server_InputApplication.cpp \ |
| 8 | com_android_server_InputApplicationHandle.cpp \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 9 | com_android_server_InputManager.cpp \ |
Jeff Brown | 928e054 | 2011-01-10 11:17:36 -0800 | [diff] [blame] | 10 | com_android_server_InputWindow.cpp \ |
| 11 | com_android_server_InputWindowHandle.cpp \ |
Mike Lockwood | 3a32213 | 2009-11-24 00:30:52 -0500 | [diff] [blame] | 12 | com_android_server_LightsService.cpp \ |
Jeff Brown | 00fa7bd | 2010-07-02 15:37:36 -0700 | [diff] [blame] | 13 | com_android_server_PowerManagerService.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | com_android_server_SystemServer.cpp \ |
Mike Lockwood | 46d0adf | 2011-05-26 10:27:39 -0400 | [diff] [blame] | 15 | com_android_server_UsbDeviceManager.cpp \ |
| 16 | com_android_server_UsbHostManager.cpp \ |
Mike Lockwood | 3a32213 | 2009-11-24 00:30:52 -0500 | [diff] [blame] | 17 | com_android_server_VibratorService.cpp \ |
Mike Lockwood | da03aaa | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 18 | com_android_server_location_GpsLocationProvider.cpp \ |
Chia-chi Yeh | ff3bdca | 2011-05-23 17:26:46 -0700 | [diff] [blame] | 19 | com_android_server_connectivity_Vpn.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 20 | onload.cpp |
| 21 | |
| 22 | LOCAL_C_INCLUDES += \ |
Jeff Brown | b4ff35d | 2011-01-02 16:37:43 -0800 | [diff] [blame] | 23 | $(JNI_H_INCLUDE) \ |
| 24 | frameworks/base/services \ |
| 25 | frameworks/base/core/jni \ |
| 26 | external/skia/include/core |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | |
| 28 | LOCAL_SHARED_LIBRARIES := \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 29 | libandroid_runtime \ |
Mike Lockwood | da03aaa | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 30 | libcutils \ |
| 31 | libhardware \ |
| 32 | libhardware_legacy \ |
| 33 | libnativehelper \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 34 | libsystem_server \ |
Mike Lockwood | da03aaa | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 35 | libutils \ |
| 36 | libui \ |
Jeff Brown | b4ff35d | 2011-01-02 16:37:43 -0800 | [diff] [blame] | 37 | libinput \ |
| 38 | libskia \ |
Mathias Agopian | 696257c | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 39 | libgui \ |
Mike Lockwood | da03aaa | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 40 | libusbhost |
Mike Lockwood | da39f0e | 2010-07-27 18:44:30 -0400 | [diff] [blame] | 41 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 42 | ifeq ($(TARGET_SIMULATOR),true) |
| 43 | ifeq ($(TARGET_OS),linux) |
| 44 | ifeq ($(TARGET_ARCH),x86) |
| 45 | LOCAL_LDLIBS += -lpthread -ldl -lrt |
| 46 | endif |
| 47 | endif |
| 48 | endif |
| 49 | |
| 50 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
Mike Lockwood | da03aaa | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 51 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 52 | endif |
| 53 | |
| 54 | LOCAL_MODULE:= libandroid_servers |
| 55 | |
| 56 | include $(BUILD_SHARED_LIBRARY) |