sf: Clear FrameBuffer only if there are GLES composed layers

Clear FrameBuffer Target only if there are layers to be composed by
GLES. Otherwise, it results unnecessary gl calls and increases power
consumption in full MDP comp use cases.

Change-Id: Ib84c4fe154bb67668e4e8b8ce2f2328c55aed7c6
Use project pathmap

Change-Id: Ib22d852cbb3a65a8ea0bca611d683fe2c4aec84b
sensorservice: Add legacy sensors fusion.

This change allows devices with accelerometer & magnetometer but
without gyroscope to still get virtual sensors such as Gravity,
Linear Acceleration, Orientation & Rotation Vector.

Can be enabled with BOARD_USE_LEGACY_SENSORS_FUSION := true

Change-Id: Ibb90b70845c766ab52c843557446e34649a7d6d9