Android.mk revision 984826cc158193e61e3a00359ef4f6699c7d748a
1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 CorrectedGyroSensor.cpp \ 6 Fusion.cpp \ 7 GravitySensor.cpp \ 8 LinearAccelerationSensor.cpp \ 9 OrientationSensor.cpp \ 10 RotationVectorSensor.cpp \ 11 SecondOrderLowPassFilter.cpp \ 12 SensorDevice.cpp \ 13 SensorFusion.cpp \ 14 SensorInterface.cpp \ 15 SensorService.cpp \ 16 17 18LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\" 19 20# need "-lrt" on Linux simulator to pick up clock_gettime 21ifeq ($(TARGET_SIMULATOR),true) 22 ifeq ($(HOST_OS),linux) 23 LOCAL_LDLIBS += -lrt -lpthread 24 endif 25endif 26 27LOCAL_SHARED_LIBRARIES := \ 28 libcutils \ 29 libhardware \ 30 libutils \ 31 libbinder \ 32 libui \ 33 libgui 34 35 36 37LOCAL_MODULE:= libsensorservice 38 39include $(BUILD_SHARED_LIBRARY) 40