skia2/gyp/dm.gyp
tomhudson eebc39ad5a Add HWUI Sink to DM on Android Framework builds
Allows "hwui" as a --config argument to dm, drawing through the Android
Framework's HWUI backend.

R=djsollen@google.com,mtklein@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/943393002
2015-02-23 12:18:05 -08:00

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:*' ],
}],
],
}]
}