OSDN Git Service

Rename iio-sensor-hal to sensor.gmin
[android-x86/hardware-intel-libsensors.git] / Android.mk
1 #
2 # Copyright (C) 2014 Intel Corporation.
3 #
4
5 # IIO sensors HAL module implementation, compiled as hw/iio-sensors-hal.so
6
7 LOCAL_PATH := $(call my-dir)
8
9 include $(CLEAR_VARS)
10
11 src_path := .
12 src_files := $(src_path)/entry.c \
13              $(src_path)/enumeration.c \
14              $(src_path)/control.c \
15              $(src_path)/description.c \
16              $(src_path)/utils.c \
17              $(src_path)/transform.c \
18
19 LOCAL_C_INCLUDES += $(LOCAL_PATH) vendor/intel/hardware/iio-sensors
20 LOCAL_MODULE := sensors.gmin
21 LOCAL_MODULE_OWNER := intel
22 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
23 LOCAL_MODULE_TAGS := optional
24 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" -fvisibility=hidden
25 LOCAL_LDFLAGS := -Wl,--gc-sections
26 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl
27 LOCAL_PRELINK_MODULE := false
28 LOCAL_SRC_FILES := $(src_files)
29
30 include $(BUILD_SHARED_LIBRARY)
31