OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). | 5 # GYP for "dm" (Diamond Master, a.k.a Dungeon master, a.k.a GM 2). |
6 { | 6 { |
7 'includes': [ 'apptype_console.gypi' ], | 7 'includes': [ 'apptype_console.gypi' ], |
8 | 8 |
9 'targets': [{ | 9 'targets': [{ |
10 'target_name': 'dm', | 10 'target_name': 'dm', |
11 'type': 'executable', | 11 'type': 'executable', |
12 'includes': [ | 12 'includes': [ |
13 'dm.gypi', | 13 'dm.gypi', |
14 ], | 14 ], |
15 'conditions': [ | 15 'conditions': [ |
16 ['skia_android_framework', { | 16 ['skia_android_framework', { |
17 'libraries': [ | 17 'libraries': [ |
18 'skia_static.a', | 18 'skia_static.a', |
19 '-lhwui', | 19 'hwui_static.a', |
20 ], | |
21 'include_dirs': [ | |
22 '../../../frameworks/base/libs/hwui/', | |
23 ], | 20 ], |
24 'sources': [ | 21 'sources': [ |
25 '../dm/DMSrcSinkAndroid.cpp', | 22 '../dm/DMSrcSinkAndroid.cpp', |
26 ], | 23 ], |
27 'dependencies': [ | 24 'dependencies': [ |
28 'tools.gyp:android_utils', | 25 'tools.gyp:android_utils', |
29 ], | 26 ], |
30 }], | 27 }], |
31 ], | 28 ], |
32 }] | 29 }] |
33 } | 30 } |
OLD | NEW |