OSDN Git Service

Add USE_INTEL_SENSOR_HAL flag
authorQiming Shi <qiming.shi@intel.com>
Wed, 4 Jun 2014 08:24:45 +0000 (16:24 +0800)
committersridhar uyyala <sridhar.uyyala@intel.com>
Wed, 30 Jul 2014 17:48:11 +0000 (10:48 -0700)
Change-Id: I1cfcfb0768d5538a3de571c9e5c512933aa4fbc5
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Android.mk

index b0fb079..8d4f8b0 100644 (file)
@@ -4,6 +4,8 @@
 
 # IIO sensors HAL module implementation, compiled as hw/iio-sensors-hal.so
 
+ifeq ($(USE_INTEL_SENSOR_HAL),true)
+
 LOCAL_PATH := $(call my-dir)
 
 include $(CLEAR_VARS)
@@ -43,3 +45,4 @@ LOCAL_SHARED_LIBRARIES := liblog libcutils libdl
 LOCAL_SRC_FILES := $(src_files)
 LOCAL_MODULE_TAGS := eng
 include $(BUILD_EXECUTABLE)
+endif