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 \ |
| 7 | com_android_server_HardwareService.cpp \ |
| 8 | com_android_server_KeyInputQueue.cpp \ |
| 9 | com_android_server_SensorService.cpp \ |
| 10 | com_android_server_SystemServer.cpp \ |
| 11 | onload.cpp |
| 12 | |
| 13 | LOCAL_C_INCLUDES += \ |
| 14 | $(JNI_H_INCLUDE) |
| 15 | |
| 16 | LOCAL_SHARED_LIBRARIES := \ |
| 17 | libcutils \ |
| 18 | libhardware \ |
| 19 | libhardware_legacy \ |
| 20 | libnativehelper \ |
| 21 | libsystem_server \ |
| 22 | libutils \ |
| 23 | libui |
| 24 | |
| 25 | ifeq ($(TARGET_SIMULATOR),true) |
| 26 | ifeq ($(TARGET_OS),linux) |
| 27 | ifeq ($(TARGET_ARCH),x86) |
| 28 | LOCAL_LDLIBS += -lpthread -ldl -lrt |
| 29 | endif |
| 30 | endif |
| 31 | endif |
| 32 | |
| 33 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
| 34 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
| 35 | endif |
| 36 | |
| 37 | LOCAL_MODULE:= libandroid_servers |
| 38 | |
| 39 | include $(BUILD_SHARED_LIBRARY) |
| 40 | |