| 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 'sources': [ | |
| 12 '../dm/dm_main.cpp', | |
| 13 ], | |
| 14 'conditions': [ | 11 'conditions': [ |
| 15 ['skia_android_framework', { | 12 ['skia_android_framework', { |
| 16 'libraries': [ '-lskia' ], | 13 'libraries': [ '-lskia' ], |
| 17 }], | 14 }], |
| 18 ['skia_poppler_enabled', { | 15 ['skia_poppler_enabled', { |
| 19 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], | 16 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], |
| 20 'defines': [ 'SK_BUILD_POPPLER' ], | 17 'defines': [ 'SK_BUILD_POPPLER' ], |
| 21 'dependencies': [ 'poppler.gyp:*' ], | 18 'dependencies': [ 'poppler.gyp:*' ], |
| 22 }], | 19 }], |
| 23 ], | 20 ], |
| 24 }] | 21 }] |
| 25 } | 22 } |
| OLD | NEW |