blob: 57a3b1569f89649ee73d7748f5b42e557678e2be [file] [log] [blame]
Mathias Agopianfc328812010-07-14 23:41:37 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Mathias Agopian984826c2011-05-17 22:54:42 -07005 CorrectedGyroSensor.cpp \
6 Fusion.cpp \
7 GravitySensor.cpp \
8 LinearAccelerationSensor.cpp \
9 OrientationSensor.cpp \
10 RotationVectorSensor.cpp \
11 SecondOrderLowPassFilter.cpp \
Mathias Agopianf001c922010-11-11 17:58:51 -080012 SensorDevice.cpp \
Mathias Agopian984826c2011-05-17 22:54:42 -070013 SensorFusion.cpp \
14 SensorInterface.cpp \
15 SensorService.cpp \
16
Mathias Agopianfc328812010-07-14 23:41:37 -070017
18LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
19
20# need "-lrt" on Linux simulator to pick up clock_gettime
21ifeq ($(TARGET_SIMULATOR),true)
22 ifeq ($(HOST_OS),linux)
23 LOCAL_LDLIBS += -lrt -lpthread
24 endif
25endif
26
27LOCAL_SHARED_LIBRARIES := \
28 libcutils \
29 libhardware \
30 libutils \
31 libbinder \
32 libui \
33 libgui
34
Iliyan Malchevb1c14902011-03-14 14:02:13 -070035
Mathias Agopianfc328812010-07-14 23:41:37 -070036
37LOCAL_MODULE:= libsensorservice
38
39include $(BUILD_SHARED_LIBRARY)