summaryrefslogtreecommitdiffstats
path: root/libsensors/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/Android.mk')
-rw-r--r--libsensors/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsensors/Android.mk b/libsensors/Android.mk
index 8d15195..8bdcd66 100644
--- a/libsensors/Android.mk
+++ b/libsensors/Android.mk
@@ -12,7 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
+ifeq ($(BOARD_USES_OPENSOURCE_SENSORS),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -46,3 +46,4 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
+endif