blob: 4f24ddc68a1bb01262a634820f0f6075d35a5fa2 [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 \
Mathias Agopianb6df7d02013-05-09 14:53:35 -070015 SensorService.cpp
Mathias Agopianfc328812010-07-14 23:41:37 -070016
17LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
18
Mathias Agopianb6df7d02013-05-09 14:53:35 -070019LOCAL_CFLAGS += -fvisibility=hidden
20
Mathias Agopianfc328812010-07-14 23:41:37 -070021LOCAL_SHARED_LIBRARIES := \
22 libcutils \
23 libhardware \
Jaikumar Ganesh4342fdf2013-04-08 16:43:12 -070024 libhardware_legacy \
Mathias Agopianfc328812010-07-14 23:41:37 -070025 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070026 liblog \
Mathias Agopianfc328812010-07-14 23:41:37 -070027 libbinder \
28 libui \
29 libgui
30
Mathias Agopianfc328812010-07-14 23:41:37 -070031LOCAL_MODULE:= libsensorservice
32
33include $(BUILD_SHARED_LIBRARY)
Mathias Agopian7ffaa7c2013-07-22 12:20:28 -070034
35#####################################################################
36# build executable
37include $(CLEAR_VARS)
38
39LOCAL_SRC_FILES:= \
40 main_sensorservice.cpp
41
42LOCAL_SHARED_LIBRARIES := \
43 libsensorservice \
44 libbinder \
45 libutils
46
47LOCAL_MODULE_TAGS := optional
48
49LOCAL_MODULE:= sensorservice
50
51include $(BUILD_EXECUTABLE)