2010-07-15 06:41:37 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2010-11-12 01:58:51 +00:00
|
|
|
GravitySensor.cpp \
|
|
|
|
LinearAccelerationSensor.cpp \
|
|
|
|
RotationVectorSensor.cpp \
|
|
|
|
SensorService.cpp \
|
|
|
|
SensorInterface.cpp \
|
|
|
|
SensorDevice.cpp \
|
|
|
|
SecondOrderLowPassFilter.cpp
|
2010-07-15 06:41:37 +00:00
|
|
|
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
|
|
|
|
|
|
|
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
|
|
ifeq ($(HOST_OS),linux)
|
|
|
|
LOCAL_LDLIBS += -lrt -lpthread
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libhardware \
|
|
|
|
libutils \
|
|
|
|
libbinder \
|
|
|
|
libui \
|
|
|
|
libgui
|
|
|
|
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libsensorservice
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|