OLD | NEW |
1 # GYP file to build performance testbench. | 1 # GYP file to build performance testbench. |
2 # | 2 # |
3 { | 3 { |
4 'includes': [ | 4 'includes': [ |
5 'apptype_console.gypi', | 5 'apptype_console.gypi', |
6 ], | 6 ], |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'bench', | 9 'target_name': 'bench', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'dependencies': [ | 11 'dependencies': [ |
12 'etc1.gyp:libetc1', | 12 'etc1.gyp:libetc1', |
13 'flags.gyp:flags', | 13 'flags.gyp:flags', |
14 'jsoncpp.gyp:jsoncpp', | 14 'jsoncpp.gyp:jsoncpp', |
15 'skia_lib.gyp:skia_lib', | 15 'skia_lib.gyp:skia_lib', |
16 'tools.gyp:crash_handler', | 16 'tools.gyp:crash_handler', |
17 'tools.gyp:resources', | 17 'tools.gyp:resources', |
| 18 'tools.gyp:sk_tool_utils', |
18 'tools.gyp:timer', | 19 'tools.gyp:timer', |
19 ], | 20 ], |
20 'sources': [ | 21 'sources': [ |
21 '../bench/BenchLogger.cpp', | 22 '../bench/BenchLogger.cpp', |
22 '../bench/BenchLogger.h', | 23 '../bench/BenchLogger.h', |
23 '../bench/GMBench.cpp', | 24 '../bench/GMBench.cpp', |
24 '../bench/GMBench.h', | 25 '../bench/GMBench.h', |
25 '../bench/ResultsWriter.cpp', | 26 '../bench/ResultsWriter.cpp', |
26 '../bench/benchmain.cpp', | 27 '../bench/benchmain.cpp', |
27 '../tools/sk_tool_utils.cpp', | |
28 ], | 28 ], |
29 'conditions': [ | 29 'conditions': [ |
30 ['skia_gpu == 1', | 30 ['skia_gpu == 1', |
31 { | 31 { |
32 'include_dirs' : [ | 32 'include_dirs' : [ |
33 '../src/gpu', | 33 '../src/gpu', |
34 ], | 34 ], |
35 'dependencies': [ | 35 'dependencies': [ |
36 'gputest.gyp:skgputest', | 36 'gputest.gyp:skgputest', |
37 ], | 37 ], |
38 }, | 38 }, |
39 ], | 39 ], |
40 ['skia_android_framework == 1', | 40 ['skia_android_framework == 1', |
41 { | 41 { |
42 'libraries': [ | 42 'libraries': [ |
43 '-lskia', | 43 '-lskia', |
44 ], | 44 ], |
45 }, | 45 }, |
46 ], | 46 ], |
47 ], | 47 ], |
48 'includes': [ | 48 'includes': [ |
49 'bench.gypi', | 49 'bench.gypi', |
50 'gmslides.gypi', | 50 'gmslides.gypi', |
51 ], | 51 ], |
52 }, | 52 }, |
53 ], | 53 ], |
54 } | 54 } |
OLD | NEW |