c2574f3657
Reason for revert: breaking iOS build. Original issue's description: > XPS, DM: add SkDocument::CreateXPS > > - SkDocument::CreateXPS() function added, returns NULL on non-Windows OS. > > - DM: (Windows only) an XPSSink is added, fails on non-Windows OS > > - DM: Common code for PDFSink::draw and XPSSink::draw are factored into > draw_skdocument static function. > > - SkDocument_XPS (Windows only) implementation of SkDocument via > SkXPSDevice. > > - SkDocument_XPS_None (non-Windows) returns NULL for > SkDocument::CreateXPS(). > > - gyp/xps.gyp refactored. > > - SkXPSDevice::drawTextOnPath removed (see http://crrev.com/925343003 ) > > - SkXPSDevice::drawPath supports conics via SkAutoConicToQuads. > > NOPRESUBMIT=true > > Committed: https://skia.googlesource.com/skia/+/00d39bcbfc8394a9b48b86b04ab06ec19091fa43 TBR=reed@google.com,bungeman@google.com,mtklein@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/978443002
36 lines
1010 B
Python
36 lines
1010 B
Python
# GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2).
|
|
{
|
|
'includes': [ 'apptype_console.gypi' ],
|
|
|
|
'targets': [{
|
|
'target_name': 'dm',
|
|
'type': 'executable',
|
|
'includes': [
|
|
'dm.gypi',
|
|
],
|
|
'conditions': [
|
|
['skia_android_framework', {
|
|
'libraries': [
|
|
'-lskia',
|
|
'-landroid',
|
|
'-lgui',
|
|
'-lhwui',
|
|
'-lutils',
|
|
],
|
|
'include_dirs': [
|
|
'../../../frameworks/base/libs/hwui/',
|
|
'../../../frameworks/native/include/',
|
|
],
|
|
'sources': [
|
|
'../dm/DMSrcSinkAndroid.cpp',
|
|
],
|
|
}],
|
|
['skia_poppler_enabled', {
|
|
'sources': [ '../src/utils/SkPDFRasterizer.cpp' ],
|
|
'defines': [ 'SK_BUILD_POPPLER' ],
|
|
'dependencies': [ 'poppler.gyp:*' ],
|
|
}],
|
|
],
|
|
}]
|
|
}
|