blob: ba3e6e5bf0d5a61860b66c384220926eb4f6d18c [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 \
Mathias Agopianf001c922010-11-11 17:58:51 -080011 SensorDevice.cpp \
Mathias Agopian984826c2011-05-17 22:54:42 -070012 SensorFusion.cpp \
13 SensorInterface.cpp \
14 SensorService.cpp \
15
Mathias Agopianfc328812010-07-14 23:41:37 -070016
17LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
18
19# need "-lrt" on Linux simulator to pick up clock_gettime
20ifeq ($(TARGET_SIMULATOR),true)
21 ifeq ($(HOST_OS),linux)
22 LOCAL_LDLIBS += -lrt -lpthread
23 endif
24endif
25
26LOCAL_SHARED_LIBRARIES := \
27 libcutils \
28 libhardware \
29 libutils \
30 libbinder \
31 libui \
32 libgui
33
Iliyan Malchevb1c14902011-03-14 14:02:13 -070034
Mathias Agopianfc328812010-07-14 23:41:37 -070035
36LOCAL_MODULE:= libsensorservice
37
38include $(BUILD_SHARED_LIBRARY)