summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsensors/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsensors/Android.mk b/libsensors/Android.mk
index 228bfe7..8add1e7 100644
--- a/libsensors/Android.mk
+++ b/libsensors/Android.mk
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+ifneq ($(TARGET_PROVIDES_LIBSENSORS),true)
+
LOCAL_PATH := $(call my-dir)
ifneq ($(TARGET_SIMULATOR),true)
@@ -48,3 +50,5 @@ LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)
endif
+
+endif