libcamera: Don't build on msm8960 (Nexus 4) either

Change-Id: I03cdb0a9750f4f7bce9b0d126b9620cab681a965
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
diff --git a/libcamera/Android.mk b/libcamera/Android.mk
index f73bc7f..79a9e9c 100644
--- a/libcamera/Android.mk
+++ b/libcamera/Android.mk
@@ -1,8 +1,9 @@
-# Exynos and omap4 have their own native camera implementations, see
-# hardware/ti/omap4xxx
+# Exynos, omap4 and msm8960 have their own native camera
+# implementations, see
 # hardware/samsung_slsi/exynos5/libcamera2
-ifneq ($(TARGET_BOARD_PLATFORM),omap4)
-ifneq ($(TARGET_BOARD_PLATFORM),exynos5)
+# hardware/ti/omap4xxx
+# hardware/qcom/camera/QCamera/HAL2/core
+ifeq ($(findstring $(TARGET_BOARD_PLATFORM),omap4 exynos5 msm8960),)
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 LOCAL_SRC_FILES:= \
@@ -41,4 +42,3 @@
 
 include $(BUILD_SHARED_LIBRARY)
 endif
-endif