remove dependency of libqcomui on libskia

Said dependency was being used to generate a PNG image in a dump() call.
Commenting out for now.

Change-Id: I4710d017534f44e76e1417a21fc919c056fff448
Signed-off-by: Gohulan Balachandran <gohulanb@codeaurora.org>
This commit is contained in:
Gohulan Balachandran 2012-07-10 02:00:31 -06:00
parent a6f47452bd
commit 2d968bf0cc
2 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,7 @@ LOCAL_SHARED_LIBRARIES := \
libutils \
libcutils \
libui \
libEGL \
libskia
libEGL
LOCAL_C_INCLUDES := $(TOP)/hardware/qcom/display/libgralloc \
$(TOP)/frameworks/native/services/surfaceflinger \

View File

@ -36,8 +36,10 @@
#include <errno.h>
#include <EGL/eglext.h>
#include <sys/stat.h>
#if 0
#include <SkBitmap.h>
#include <SkImageEncoder.h>
#endif
#include <Transform.h>
#include <EGL/egl.h>
@ -726,6 +728,7 @@ void dumpLayer(int moduleCompositionType, int listFlags, size_t layerIndex,
}
if ((sfdump_counter_png <= sfdump_countlimit_png) && hnd->base) {
#if 0
bool bResult = false;
char sfdumpfile_name[256];
SkBitmap *tempSkBmp = new SkBitmap();
@ -763,6 +766,7 @@ void dumpLayer(int moduleCompositionType, int listFlags, size_t layerIndex,
pixelformatstr);
}
delete tempSkBmp; // Calls SkBitmap::freePixels() internally.
#endif
}
if ((sfdump_counter_raw <= sfdump_countlimit_raw) && hnd->base) {