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 '../tools/LsanSuppressions.cpp', | 17 '../tools/LsanSuppressions.cpp', |
18 ], | 18 ], |
19 'includes': [ | 19 'includes': [ |
20 'bench.gypi', | 20 'bench.gypi', |
21 'gmslides.gypi', | 21 'gmslides.gypi', |
22 ], | 22 ], |
23 'include_dirs' : [ | 23 'include_dirs' : [ |
24 '../src/codec', | |
25 '../src/image', | 24 '../src/image', |
26 ], | 25 ], |
27 'dependencies': [ | 26 'dependencies': [ |
28 'flags.gyp:flags_common', | 27 'flags.gyp:flags_common', |
29 'jsoncpp.gyp:jsoncpp', | 28 'jsoncpp.gyp:jsoncpp', |
30 'skia_lib.gyp:skia_lib', | 29 'skia_lib.gyp:skia_lib', |
31 'tools.gyp:crash_handler', | 30 'tools.gyp:crash_handler', |
32 'tools.gyp:proc_stats', | 31 'tools.gyp:proc_stats', |
33 'tools.gyp:thermal_manager', | 32 'tools.gyp:thermal_manager', |
34 'tools.gyp:timer', | 33 'tools.gyp:timer', |
35 ], | 34 ], |
36 'conditions': [ | 35 'conditions': [ |
37 ['skia_android_framework', { | 36 ['skia_android_framework', { |
38 'libraries': [ | 37 'libraries': [ |
39 'skia_static.a', | 38 'skia_static.a', |
40 '-lhwui', | 39 '-lhwui', |
41 ], | 40 ], |
42 'include_dirs': [ | 41 'include_dirs': [ |
43 '../../../frameworks/base/libs/hwui/', | 42 '../../../frameworks/base/libs/hwui/', |
44 ], | 43 ], |
45 'dependencies': [ | 44 'dependencies': [ |
46 'tools.gyp:android_utils', | 45 'tools.gyp:android_utils', |
47 ], | 46 ], |
48 }], | 47 }], |
49 ], | 48 ], |
50 }, | 49 }, |
51 ], | 50 ], |
52 } | 51 } |
OLD | NEW |