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:
parent
b29c883fb4
commit
0f1541f1c3
@ -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
|
||||
|
11
gyp/gm.gyp
11
gyp/gm.gyp
@ -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',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user