Updating sensor plugin loader and cmake files 93/36693/1
authorRamasamy <ram.kannan@samsung.com>
Thu, 12 Mar 2015 03:32:45 +0000 (09:02 +0530)
committerRamasamy <ram.kannan@samsung.com>
Thu, 12 Mar 2015 03:32:49 +0000 (09:02 +0530)
- Adding sensor_fusion module to sensor plugin loader.
- Adding fusion folder to master cmake file.

Change-Id: I3ef1329b6c79d2123c458645c2fa6f9532a67988

sensor_plugins.xml.in
src/CMakeLists.txt

index eb469c1..9fde9d6 100755 (executable)
@@ -16,6 +16,7 @@
                <MODULE path = "/usr/lib/sensord/libproxi_sensor.so"/>
                <MODULE path = "/usr/lib/sensord/liblight_sensor.so"/>
                <MODULE path = "/usr/lib/sensord/libpressure_sensor.so"/>
+               <MODULE path = "/usr/lib/sensord/libfusion_sensor.so"/>
                <MODULE path = "/usr/lib/sensord/liborientation_sensor.so"/>
                <MODULE path = "/usr/lib/sensord/libgravity_sensor.so"/>
                <MODULE path = "/usr/lib/sensord/liblinear_accel_sensor.so"/>
index 3b0b245..556256a 100755 (executable)
@@ -58,6 +58,9 @@ ENDIF()
 IF("${SENSOR_FUSION_ENABLE}" STREQUAL "1")
 add_subdirectory(sensor_fusion)
 ENDIF()
+IF("${FUSION}" STREQUAL "ON")
+add_subdirectory(fusion)
+ENDIF()
 IF("${ORIENTATION_ENABLE}" STREQUAL "1")
 add_subdirectory(orientation)
 ENDIF()