Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Mathias Agopian | 984826c | 2011-05-17 22:54:42 -0700 | [diff] [blame] | 5 | CorrectedGyroSensor.cpp \ |
| 6 | Fusion.cpp \ |
| 7 | GravitySensor.cpp \ |
| 8 | LinearAccelerationSensor.cpp \ |
| 9 | OrientationSensor.cpp \ |
| 10 | RotationVectorSensor.cpp \ |
Mathias Agopian | f001c92 | 2010-11-11 17:58:51 -0800 | [diff] [blame] | 11 | SensorDevice.cpp \ |
Mathias Agopian | 984826c | 2011-05-17 22:54:42 -0700 | [diff] [blame] | 12 | SensorFusion.cpp \ |
| 13 | SensorInterface.cpp \ |
| 14 | SensorService.cpp \ |
| 15 | |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 16 | |
| 17 | LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\" |
| 18 | |
| 19 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 20 | ifeq ($(TARGET_SIMULATOR),true) |
| 21 | ifeq ($(HOST_OS),linux) |
| 22 | LOCAL_LDLIBS += -lrt -lpthread |
| 23 | endif |
| 24 | endif |
| 25 | |
| 26 | LOCAL_SHARED_LIBRARIES := \ |
| 27 | libcutils \ |
| 28 | libhardware \ |
| 29 | libutils \ |
| 30 | libbinder \ |
| 31 | libui \ |
| 32 | libgui |
| 33 | |
Iliyan Malchev | b1c1490 | 2011-03-14 14:02:13 -0700 | [diff] [blame] | 34 | |
Mathias Agopian | fc32881 | 2010-07-14 23:41:37 -0700 | [diff] [blame] | 35 | |
| 36 | LOCAL_MODULE:= libsensorservice |
| 37 | |
| 38 | include $(BUILD_SHARED_LIBRARY) |