4342fdf14f
1. Some sensors can wake up the AP. Add wakelocks. 2. Handle backward compatibility for rotation vector heading accuracy. 3. Cleanup auto disabled sensors. 4. Fix race condition between enable and dispatch. Change-Id: I39dddf12e208d83cd288201986ee994312555820
35 lines
595 B
Makefile
35 lines
595 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
BatteryService.cpp \
|
|
CorrectedGyroSensor.cpp \
|
|
Fusion.cpp \
|
|
GravitySensor.cpp \
|
|
LinearAccelerationSensor.cpp \
|
|
OrientationSensor.cpp \
|
|
RotationVectorSensor.cpp \
|
|
SensorDevice.cpp \
|
|
SensorFusion.cpp \
|
|
SensorInterface.cpp \
|
|
SensorService.cpp \
|
|
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libhardware \
|
|
libhardware_legacy \
|
|
libutils \
|
|
liblog \
|
|
libbinder \
|
|
libui \
|
|
libgui
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libsensorservice
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|