| OLD | NEW |
| 1 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). | 1 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). |
| 2 { | 2 { |
| 3 'includes': [ 'apptype_console.gypi' ], | 3 'includes': [ 'apptype_console.gypi' ], |
| 4 | 4 |
| 5 'targets': [{ | 5 'targets': [{ |
| 6 'target_name': 'dm', | 6 'target_name': 'dm', |
| 7 'type': 'executable', | 7 'type': 'executable', |
| 8 'includes': [ | 8 'includes': [ |
| 9 'dm.gypi', | 9 'dm.gypi', |
| 10 ], | 10 ], |
| 11 'dependencies': ['xps.gyp:xps',], | |
| 12 'conditions': [ | 11 'conditions': [ |
| 13 ['skia_android_framework', { | 12 ['skia_android_framework', { |
| 14 'libraries': [ | 13 'libraries': [ |
| 15 '-lskia', | 14 '-lskia', |
| 16 '-landroid', | 15 '-landroid', |
| 17 '-lgui', | 16 '-lgui', |
| 18 '-lhwui', | 17 '-lhwui', |
| 19 '-lutils', | 18 '-lutils', |
| 20 ], | 19 ], |
| 21 'include_dirs': [ | 20 'include_dirs': [ |
| 22 '../../../frameworks/base/libs/hwui/', | 21 '../../../frameworks/base/libs/hwui/', |
| 23 '../../../frameworks/native/include/', | 22 '../../../frameworks/native/include/', |
| 24 ], | 23 ], |
| 25 'sources': [ | 24 'sources': [ |
| 26 '../dm/DMSrcSinkAndroid.cpp', | 25 '../dm/DMSrcSinkAndroid.cpp', |
| 27 ], | 26 ], |
| 28 }], | 27 }], |
| 29 ['skia_poppler_enabled', { | 28 ['skia_poppler_enabled', { |
| 30 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], | 29 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], |
| 31 'defines': [ 'SK_BUILD_POPPLER' ], | 30 'defines': [ 'SK_BUILD_POPPLER' ], |
| 32 'dependencies': [ 'poppler.gyp:*' ], | 31 'dependencies': [ 'poppler.gyp:*' ], |
| 33 }], | 32 }], |
| 34 ], | 33 ], |
| 35 }] | 34 }] |
| 36 } | 35 } |
| OLD | NEW |