2010-07-15 06:41:37 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
2012-09-19 01:49:18 +00:00
|
|
|
BatteryService.cpp \
|
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 \
|
2013-05-09 21:53:35 +00:00
|
|
|
SensorService.cpp
|
2010-07-15 06:41:37 +00:00
|
|
|
|
|
|
|
LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
|
|
|
|
|
2013-05-09 21:53:35 +00:00
|
|
|
LOCAL_CFLAGS += -fvisibility=hidden
|
|
|
|
|
2010-07-15 06:41:37 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libcutils \
|
|
|
|
libhardware \
|
2013-04-08 23:43:12 +00:00
|
|
|
libhardware_legacy \
|
2010-07-15 06:41:37 +00:00
|
|
|
libutils \
|
2013-04-10 04:55:39 +00:00
|
|
|
liblog \
|
2010-07-15 06:41:37 +00:00
|
|
|
libbinder \
|
|
|
|
libui \
|
|
|
|
libgui
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libsensorservice
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2013-07-22 19:20:28 +00:00
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# build executable
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
main_sensorservice.cpp
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libsensorservice \
|
|
|
|
libbinder \
|
|
|
|
libutils
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_MODULE:= sensorservice
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|