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 | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 7 | com_android_server_InputManager.cpp \ |
Mike Lockwood | 3a32213 | 2009-11-24 00:30:52 -0500 | [diff] [blame] | 8 | com_android_server_LightsService.cpp \ |
Jeff Brown | 00fa7bd | 2010-07-02 15:37:36 -0700 | [diff] [blame] | 9 | com_android_server_PowerManagerService.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 10 | com_android_server_SystemServer.cpp \ |
Mike Lockwood | da39f0e | 2010-07-27 18:44:30 -0400 | [diff] [blame] | 11 | com_android_server_UsbObserver.cpp \ |
Mike Lockwood | 3a32213 | 2009-11-24 00:30:52 -0500 | [diff] [blame] | 12 | com_android_server_VibratorService.cpp \ |
Mike Lockwood | 00b7427 | 2010-03-26 10:41:48 -0400 | [diff] [blame] | 13 | com_android_server_location_GpsLocationProvider.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | onload.cpp |
| 15 | |
| 16 | LOCAL_C_INCLUDES += \ |
| 17 | $(JNI_H_INCLUDE) |
| 18 | |
| 19 | LOCAL_SHARED_LIBRARIES := \ |
Jeff Brown | 46b9ac0 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 20 | libandroid_runtime \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 21 | libcutils \ |
| 22 | libhardware \ |
| 23 | libhardware_legacy \ |
| 24 | libnativehelper \ |
| 25 | libsystem_server \ |
| 26 | libutils \ |
Joe Onorato | b08a1af | 2010-10-11 19:28:58 -0700 | [diff] [blame] | 27 | libui \ |
| 28 | libsurfaceflinger_client |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 29 | |
Mike Lockwood | da39f0e | 2010-07-27 18:44:30 -0400 | [diff] [blame] | 30 | LOCAL_STATIC_LIBRARIES := libusbhost |
| 31 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 32 | ifeq ($(TARGET_SIMULATOR),true) |
| 33 | ifeq ($(TARGET_OS),linux) |
| 34 | ifeq ($(TARGET_ARCH),x86) |
| 35 | LOCAL_LDLIBS += -lpthread -ldl -lrt |
| 36 | endif |
| 37 | endif |
| 38 | endif |
| 39 | |
| 40 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
| 41 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
| 42 | endif |
| 43 | |
| 44 | LOCAL_MODULE:= libandroid_servers |
| 45 | |
| 46 | include $(BUILD_SHARED_LIBRARY) |
| 47 | |