hwc: Featurize framework changes
These flags were added to the core HWC header and break pure AOSP
builds.
Change-Id: I0d2f2071ce3fd6a9a0dc848b08098895b669c94e
diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp
index a2ccb12..e812c01 100644
--- a/libhwcomposer/hwc.cpp
+++ b/libhwcomposer/hwc.cpp
@@ -252,6 +252,7 @@
ALOGD_IF (VSYNC_DEBUG, "VSYNC state changed to %s",
(enable)?"ENABLED":"DISABLED");
break;
+#ifdef QCOM_BSP
case HWC_EVENT_ORIENTATION:
if(dpy == HWC_DISPLAY_PRIMARY) {
// store the primary display orientation
@@ -260,6 +261,7 @@
ctx->deviceOrientation = enable;
}
break;
+#endif
default:
ret = -EINVAL;
}