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