blob: d84ce42cdf0f1a81186ba8df1befb92ac12f2909 [file] [log] [blame]
Mathias Agopianfc328812010-07-14 23:41:37 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Mathias Agopian787ac1b2012-09-18 18:49:18 -07005 BatteryService.cpp \
Mathias Agopian984826c2011-05-17 22:54:42 -07006 CorrectedGyroSensor.cpp \
7 Fusion.cpp \
8 GravitySensor.cpp \
9 LinearAccelerationSensor.cpp \
10 OrientationSensor.cpp \
11 RotationVectorSensor.cpp \
Mathias Agopianf001c922010-11-11 17:58:51 -080012 SensorDevice.cpp \
Mathias Agopian984826c2011-05-17 22:54:42 -070013 SensorFusion.cpp \
14 SensorInterface.cpp \
Peng Xueb4d6282015-12-10 18:02:41 -080015 SensorService.cpp \
16 SensorEventConnection.cpp \
17 MostRecentEventLogger.cpp \
18 SensorRecord.cpp \
19
Mathias Agopianfc328812010-07-14 23:41:37 -070020
21LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
22
Mathias Agopianb6df7d02013-05-09 14:53:35 -070023LOCAL_CFLAGS += -fvisibility=hidden
24
Mathias Agopianfc328812010-07-14 23:41:37 -070025LOCAL_SHARED_LIBRARIES := \
26 libcutils \
27 libhardware \
Jaikumar Ganesh4342fdf2013-04-08 16:43:12 -070028 libhardware_legacy \
Mathias Agopianfc328812010-07-14 23:41:37 -070029 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070030 liblog \
Mathias Agopianfc328812010-07-14 23:41:37 -070031 libbinder \
32 libui \
33 libgui
34
Mathias Agopianfc328812010-07-14 23:41:37 -070035LOCAL_MODULE:= libsensorservice
36
37include $(BUILD_SHARED_LIBRARY)
Mathias Agopian7ffaa7c2013-07-22 12:20:28 -070038
39#####################################################################
40# build executable
41include $(CLEAR_VARS)
42
43LOCAL_SRC_FILES:= \
44 main_sensorservice.cpp
45
46LOCAL_SHARED_LIBRARIES := \
47 libsensorservice \
48 libbinder \
49 libutils
50
51LOCAL_MODULE_TAGS := optional
52
53LOCAL_MODULE:= sensorservice
54
55include $(BUILD_EXECUTABLE)