Android.mk revision eb4d628b69831d533f14c09fd63400f75e69ba76
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5	BatteryService.cpp \
6	CorrectedGyroSensor.cpp \
7    Fusion.cpp \
8    GravitySensor.cpp \
9    LinearAccelerationSensor.cpp \
10    OrientationSensor.cpp \
11    RotationVectorSensor.cpp \
12    SensorDevice.cpp \
13    SensorFusion.cpp \
14    SensorInterface.cpp \
15    SensorService.cpp \
16    SensorEventConnection.cpp \
17    MostRecentEventLogger.cpp \
18    SensorRecord.cpp \
19
20
21LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
22
23LOCAL_CFLAGS += -fvisibility=hidden
24
25LOCAL_SHARED_LIBRARIES := \
26	libcutils \
27	libhardware \
28	libhardware_legacy \
29	libutils \
30	liblog \
31	libbinder \
32	libui \
33	libgui
34
35LOCAL_MODULE:= libsensorservice
36
37include $(BUILD_SHARED_LIBRARY)
38
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)
56