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 'conditions': [ | 11 'conditions': [ |
12 ['skia_android_framework', { | 12 ['skia_android_framework', { |
13 'libraries': [ '-lskia' ], | 13 'libraries': [ |
| 14 '-lskia', |
| 15 '-landroid', |
| 16 '-lgui', |
| 17 '-lhwui', |
| 18 '-lutils', |
| 19 ], |
| 20 'include_dirs': [ |
| 21 '../../../frameworks/base/libs/hwui/', |
| 22 '../../../frameworks/native/include/', |
| 23 ], |
| 24 'sources': [ |
| 25 '../dm/DMSrcSinkAndroid.cpp', |
| 26 ], |
14 }], | 27 }], |
15 ['skia_poppler_enabled', { | 28 ['skia_poppler_enabled', { |
16 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], | 29 'sources': [ '../src/utils/SkPDFRasterizer.cpp' ], |
17 'defines': [ 'SK_BUILD_POPPLER' ], | 30 'defines': [ 'SK_BUILD_POPPLER' ], |
18 'dependencies': [ 'poppler.gyp:*' ], | 31 'dependencies': [ 'poppler.gyp:*' ], |
19 }], | 32 }], |
20 ], | 33 ], |
21 }] | 34 }] |
22 } | 35 } |
OLD | NEW |