wfd-commonsys: Guard against non-QSSI_SUPPORTED_PLATFORMS
Change-Id: If1ff58d17f923fd6f0c4906620d38ca0d36cd193
diff --git a/Android.mk b/Android.mk
index 83d40c0..3f061b1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,5 +1,7 @@
LOCAL_PATH := $(call my-dir)
+ifneq ($(filter $(QSSI_SUPPORTED_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
+
QMAA_DISABLES_WFD := false
ifeq ($(TARGET_USES_QMAA),true)
ifneq ($(TARGET_USES_QMAA_OVERRIDE_WFD),true)
@@ -23,3 +25,5 @@
endif #QMAA_DISABLES_WFD
endif #TARGET_HAS_LOW_RAM
endif #WFD_DISABLE_PLATFORM_LIST
+
+endif