OSDN Git Service

[REVERTME] Revert "Pass iio provided timestamps without further processing."
[android-x86/hardware-intel-libsensors.git] / Android.mk
index 242b255..1eeb282 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2014 Intel Corporation.
+# Copyright (C) 2014-2015 Intel Corporation.
 #
 
 # IIO sensors HAL module implementation, compiled as hw/iio-sensors-hal.so
@@ -20,6 +20,7 @@ src_files := $(src_path)/entry.c \
             $(src_path)/compass-calibration.c \
             $(src_path)/matrix-ops.c \
             $(src_path)/gyro-calibration.c \
+            $(src_path)/filtering.c \
 
 LOCAL_C_INCLUDES += $(LOCAL_PATH) vendor/intel/hardware/iio-sensors
 LOCAL_MODULE := sensors.$(TARGET_BOARD_PLATFORM)
@@ -35,13 +36,11 @@ LOCAL_SRC_FILES := $(src_files)
 include $(BUILD_SHARED_LIBRARY)
 
 include $(CLEAR_VARS)
-src_path := .
-src_files := $(src_path)/sens.c
 LOCAL_C_INCLUDES += $(LOCAL_PATH) vendor/intel/hardware/iio-sensors
 LOCAL_MODULE := sens
 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" -fvisibility=hidden
 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl
-LOCAL_SRC_FILES := $(src_files)
+LOCAL_SRC_FILES := sens.c
 LOCAL_MODULE_TAGS := eng
 include $(BUILD_EXECUTABLE)
 endif