blob: 4f24ddc68a1bb01262a634820f0f6075d35a5fa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
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_CFLAGS += -fvisibility=hidden
LOCAL_SHARED_LIBRARIES := \
libcutils \
libhardware \
libhardware_legacy \
libutils \
liblog \
libbinder \
libui \
libgui
LOCAL_MODULE:= libsensorservice
include $(BUILD_SHARED_LIBRARY)
#####################################################################
# 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)
|