Mathias Agopian | 1bf7978 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
| 5 | SensorService.cpp |
| 6 | |
| 7 | LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\" |
| 8 | |
| 9 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 10 | ifeq ($(TARGET_SIMULATOR),true) |
| 11 | ifeq ($(HOST_OS),linux) |
| 12 | LOCAL_LDLIBS += -lrt -lpthread |
| 13 | endif |
| 14 | endif |
| 15 | |
| 16 | LOCAL_SHARED_LIBRARIES := \ |
| 17 | libcutils \ |
| 18 | libhardware \ |
| 19 | libutils \ |
| 20 | libbinder \ |
| 21 | libui \ |
| 22 | libgui |
| 23 | |
| 24 | LOCAL_PRELINK_MODULE := false |
| 25 | |
| 26 | LOCAL_MODULE:= libsensorservice |
| 27 | |
| 28 | include $(BUILD_SHARED_LIBRARY) |