Android.mk revision 3301542828febc768e1df42892cfac4992c35474
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5	CorrectedGyroSensor.cpp \
6    Fusion.cpp \
7    GravitySensor.cpp \
8    LinearAccelerationSensor.cpp \
9    OrientationSensor.cpp \
10    RotationVectorSensor.cpp \
11    SensorDevice.cpp \
12    SensorFusion.cpp \
13    SensorInterface.cpp \
14    SensorService.cpp \
15
16
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
34
35
36LOCAL_MODULE:= libsensorservice
37
38include $(BUILD_SHARED_LIBRARY)
39