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