1fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias AgopianLOCAL_PATH:= $(call my-dir)
2fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopianinclude $(CLEAR_VARS)
3fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian
4fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias AgopianLOCAL_SRC_FILES:= \
5787ac1b388f144f5e6dd38f8b807866a5256dafcMathias Agopian	BatteryService.cpp \
6984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian	CorrectedGyroSensor.cpp \
7984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    Fusion.cpp \
8984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    GravitySensor.cpp \
9984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    LinearAccelerationSensor.cpp \
10984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    OrientationSensor.cpp \
11984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    RotationVectorSensor.cpp \
12f001c92436b4a66eb7687286325ced7f10c9f917Mathias Agopian    SensorDevice.cpp \
13984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    SensorFusion.cpp \
14984826cc158193e61e3a00359ef4f6699c7d748aMathias Agopian    SensorInterface.cpp \
15b6df7d0e4c2117ca476662bd52b6745b3d8a305fMathias Agopian    SensorService.cpp
16fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian
17fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias AgopianLOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
18fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian
19b6df7d0e4c2117ca476662bd52b6745b3d8a305fMathias AgopianLOCAL_CFLAGS += -fvisibility=hidden
20b6df7d0e4c2117ca476662bd52b6745b3d8a305fMathias Agopian
21fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias AgopianLOCAL_SHARED_LIBRARIES := \
22fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libcutils \
23fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libhardware \
244342fdf14ffb792a36c1de25ad14b745df628da2Jaikumar Ganesh	libhardware_legacy \
25fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libutils \
268a0cb4ee0b6c351de82987efb472fa38dfaf608aYing Wang	liblog \
27fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libbinder \
28fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libui \
29fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian	libgui
30fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian
31fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias AgopianLOCAL_MODULE:= libsensorservice
32fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopian
33fc32881fcc68640d008c7515cdd1bcd866f72cd5Mathias Agopianinclude $(BUILD_SHARED_LIBRARY)
347ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
357ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian#####################################################################
367ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian# build executable
377ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopianinclude $(CLEAR_VARS)
387ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
397ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias AgopianLOCAL_SRC_FILES:= \
407ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian	main_sensorservice.cpp
417ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
427ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias AgopianLOCAL_SHARED_LIBRARIES := \
437ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian	libsensorservice \
447ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian	libbinder \
457ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian	libutils
467ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
477ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias AgopianLOCAL_MODULE_TAGS := optional
487ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
497ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias AgopianLOCAL_MODULE:= sensorservice
507ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopian
517ffaa7c60d51cc0eb731158de2ac3df9c50cc0b4Mathias Agopianinclude $(BUILD_EXECUTABLE)
52