Fix up dependencies further for RS compatibility library.
Removed cutils dependency from rsdCore.cpp.
Removed system/grapics.h dependency by bringing in the only enum we use.
Change-Id: I0de6c0c2e049c78cc20516cfa2035291da2a0f04
diff --git a/driver/rsdAllocation.cpp b/driver/rsdAllocation.cpp
index 2daafbe..5bdf6b7 100644
--- a/driver/rsdAllocation.cpp
+++ b/driver/rsdAllocation.cpp
@@ -23,11 +23,11 @@
#include "system/window.h"
#include "ui/Rect.h"
#include "ui/GraphicBufferMapper.h"
-#else
-#include "system/graphics.h"
#endif
-#ifndef RS_COMPATIBILITY_LIB
+#ifdef RS_COMPATIBILITY_LIB
+#include "rsCompatibilityLib.h"
+#else
#include "rsdFrameBufferObj.h"
#include "gui/GLConsumer.h"
#include "gui/CpuConsumer.h"