blob: 7e17fdd58ededf77cc4073a5de2286df273eb6ed [file] [log] [blame]
Mathias Agopian1bf79782010-07-14 23:41:37 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Mathias Agopian671a6ff2010-11-11 17:58:51 -08005 GravitySensor.cpp \
6 LinearAccelerationSensor.cpp \
7 RotationVectorSensor.cpp \
8 SensorService.cpp \
9 SensorInterface.cpp \
10 SensorDevice.cpp \
11 SecondOrderLowPassFilter.cpp
Mathias Agopian1bf79782010-07-14 23:41:37 -070012
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)