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 file to build performance testbench. | 5 # GYP file to build performance testbench. |
6 # | 6 # |
7 { | 7 { |
8 'includes': [ | 8 'includes': [ |
9 'apptype_console.gypi', | 9 'apptype_console.gypi', |
10 ], | 10 ], |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'nanobench', | 13 'target_name': 'nanobench', |
14 'type': 'executable', | 14 'type': 'executable', |
15 'sources': [ | 15 'sources': [ |
16 '../gm/gm.cpp', | 16 '../gm/gm.cpp', |
17 ], | 17 ], |
18 'includes': [ | 18 'includes': [ |
19 'bench.gypi', | 19 'bench.gypi', |
20 'gmslides.gypi', | 20 'gmslides.gypi', |
21 ], | 21 ], |
| 22 'include_dirs' : [ |
| 23 '../src/image', |
| 24 ], |
22 'dependencies': [ | 25 'dependencies': [ |
23 'flags.gyp:flags_common', | 26 'flags.gyp:flags_common', |
24 'jsoncpp.gyp:jsoncpp', | 27 'jsoncpp.gyp:jsoncpp', |
25 'skia_lib.gyp:skia_lib', | 28 'skia_lib.gyp:skia_lib', |
26 'tools.gyp:crash_handler', | 29 'tools.gyp:crash_handler', |
27 'tools.gyp:proc_stats', | 30 'tools.gyp:proc_stats', |
28 'tools.gyp:thermal_manager', | 31 'tools.gyp:thermal_manager', |
29 'tools.gyp:timer', | 32 'tools.gyp:timer', |
30 ], | 33 ], |
31 'conditions': [ | 34 'conditions': [ |
32 ['skia_android_framework', { | 35 ['skia_android_framework', { |
33 'libraries': [ | 36 'libraries': [ |
34 'skia_static.a', | 37 'skia_static.a', |
35 '-lhwui', | 38 '-lhwui', |
36 ], | 39 ], |
37 'include_dirs': [ | 40 'include_dirs': [ |
38 '../../../frameworks/base/libs/hwui/', | 41 '../../../frameworks/base/libs/hwui/', |
39 ], | 42 ], |
40 'dependencies': [ | 43 'dependencies': [ |
41 'tools.gyp:android_utils', | 44 'tools.gyp:android_utils', |
42 ], | 45 ], |
43 }], | 46 }], |
44 ], | 47 ], |
45 }, | 48 }, |
46 ], | 49 ], |
47 } | 50 } |
OLD | NEW |