RM6785: vndk: Exclude graphics common interface on lineage

 * already defined in hardware/lineage/compat

Change-Id: I040dafbd0389c1e0d8794f549565732611f11c35
diff --git a/vndk/Android.mk b/vndk/Android.mk
index 47c9940..95ea78f 100644
--- a/vndk/Android.mk
+++ b/vndk/Android.mk
@@ -45,6 +45,7 @@
 LOCAL_REQUIRED_MODULES := android.hardware.graphics.common-V2-ndk_platform
 include $(BUILD_PREBUILT)
 
+ifeq ($(LINEAGE_BUILD),)
 include $(CLEAR_VARS)
 LOCAL_MODULE := android.hardware.graphics.common-V2-ndk_platform
 LOCAL_SHARED_LIBRARIES := android.hardware.graphics.common-V2-ndk
@@ -52,3 +53,4 @@
 LOCAL_MODULE_TAGS := optional
 LOCAL_VENDOR_MODULE := true
 include $(BUILD_SHARED_LIBRARY)
+endif