Mac does not like empty projects.

git-svn-id: http://skia.googlecode.com/svn/trunk@2438 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bungeman@google.com 2011-10-10 13:47:06 +00:00
parent b29c883fb4
commit 0f1541f1c3
2 changed files with 10 additions and 3 deletions

View File

@ -463,7 +463,7 @@ static bool test_drawing(GM* gm,
} else if (gRec.fBackend == kPDF_Backend) {
generate_pdf(gm, document);
#if CAN_IMAGE_PDF
SkAutoDataUnref data(pdf.copyToData());
SkAutoDataUnref data(document.copyToData());
SkMemoryStream stream(data.data(), data.size());
SkPDFDocumentToBitmap(&stream, bitmap);
#endif

View File

@ -43,9 +43,16 @@
'gpu.gyp:skgr',
'images.gyp:images',
'pdf.gyp:pdf',
'utils.gyp:utils',
'xps.gyp:xps',
'utils.gyp:utils',
],
#mac does not like empty dependency.
'conditions': [
[ 'skia_os == "win"', {
'dependencies': [
'xps.gyp:xps',
],
}],
],
},
],
}