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