2010-07-15 06:41:37 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2011-05-18 05:54:42 +00:00
|
|
|
CorrectedGyroSensor.cpp \
|
|
|
|
Fusion.cpp \
|
|
|
|
GravitySensor.cpp \
|
|
|
|
LinearAccelerationSensor.cpp \
|
|
|
|
OrientationSensor.cpp \
|
|
|
|
RotationVectorSensor.cpp \
|
2010-11-12 01:58:51 +00:00
|
|
|
SensorDevice.cpp \
|
2011-05-18 05:54:42 +00:00
|
|
|
SensorFusion.cpp \
|
|
|
|
SensorInterface.cpp \
|
|
|
|
SensorService.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
|
|
|
|
|
2011-03-14 21:02:13 +00:00
|
|
|
|
2010-07-15 06:41:37 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE:= libsensorservice
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|