diff options
Diffstat (limited to 'sensors/Android.mk')
-rw-r--r-- | sensors/Android.mk | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sensors/Android.mk b/sensors/Android.mk index 131c4f7..477ef81 100644 --- a/sensors/Android.mk +++ b/sensors/Android.mk @@ -16,6 +16,7 @@ # LOCAL_PATH := $(call my-dir) +PIRANHA_SENSORS_PATH := $(LOCAL_PATH) include $(CLEAR_VARS) @@ -45,7 +46,7 @@ endif include $(BUILD_SHARED_LIBRARY) -LOCAL_PATH := $(LOCAL_PATH)/geomagneticd +LOCAL_PATH := $(PIRANHA_SENSORS_PATH)/geomagneticd include $(CLEAR_VARS) @@ -59,3 +60,20 @@ LOCAL_MODULE := geomagneticd LOCAL_MODULE_TAGS := optional include $(BUILD_EXECUTABLE) + +LOCAL_PATH := $(PIRANHA_SENSORS_PATH)/orientationd + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + input.c \ + vector.c \ + orientationd.c + +LOCAL_SHARED_LIBRARIES := libutils libcutils liblog +LOCAL_PRELINK_MODULE := false + +LOCAL_MODULE := orientationd +LOCAL_MODULE_TAGS := optional + +include $(BUILD_EXECUTABLE) |