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 'dependencies': [ | 22 'dependencies': [ |
23 'flags.gyp:flags_common', | 23 'flags.gyp:flags_common', |
24 'jsoncpp.gyp:jsoncpp', | 24 'jsoncpp.gyp:jsoncpp', |
25 'skia_lib.gyp:skia_lib', | 25 'skia_lib.gyp:skia_lib', |
26 'tools.gyp:crash_handler', | 26 'tools.gyp:crash_handler', |
27 'tools.gyp:proc_stats', | 27 'tools.gyp:proc_stats', |
28 'tools.gyp:timer', | 28 'tools.gyp:timer', |
| 29 'tools.gyp:thermal_manager', |
29 ], | 30 ], |
30 'conditions': [ | 31 'conditions': [ |
31 ['skia_android_framework', { | 32 ['skia_android_framework', { |
32 'libraries': [ | 33 'libraries': [ |
33 '-lskia', | 34 '-lskia', |
34 '-landroid', | 35 '-landroid', |
35 '-lhwui', | 36 '-lhwui', |
36 '-lutils', | 37 '-lutils', |
37 ], | 38 ], |
38 'include_dirs': [ | 39 'include_dirs': [ |
39 '../../../frameworks/base/libs/hwui/', | 40 '../../../frameworks/base/libs/hwui/', |
40 ], | 41 ], |
41 'dependencies': [ | 42 'dependencies': [ |
42 'tools.gyp:android_utils', | 43 'tools.gyp:android_utils', |
43 ], | 44 ], |
44 }], | 45 }], |
45 ], | 46 ], |
46 }, | 47 }, |
47 ], | 48 ], |
48 } | 49 } |
OLD | NEW |