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