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 'skia_lib.gyp:skia_lib', | 12 'skia_lib.gyp:skia_lib', |
13 'bench_timer', | 13 'bench_timer', |
14 'flags.gyp:flags', | 14 'flags.gyp:flags', |
15 'jsoncpp.gyp:jsoncpp', | 15 'jsoncpp.gyp:jsoncpp', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 '../bench/SkBenchLogger.cpp', | 18 '../bench/SkBenchLogger.cpp', |
19 '../bench/SkBenchLogger.h', | 19 '../bench/SkBenchLogger.h', |
20 '../bench/SkGMBench.cpp', | 20 '../bench/SkGMBench.cpp', |
21 '../bench/SkGMBench.h', | 21 '../bench/SkGMBench.h', |
22 '../bench/benchmain.cpp', | 22 '../bench/benchmain.cpp', |
| 23 '../tools/sk_tool_utils.cpp', |
23 ], | 24 ], |
24 'conditions': [ | 25 'conditions': [ |
25 ['skia_gpu == 1', | 26 ['skia_gpu == 1', |
26 { | 27 { |
27 'include_dirs' : [ | 28 'include_dirs' : [ |
28 '../src/gpu', | 29 '../src/gpu', |
29 ], | 30 ], |
30 'dependencies': [ | 31 'dependencies': [ |
31 'gputest.gyp:skgputest', | 32 'gputest.gyp:skgputest', |
32 ], | 33 ], |
(...skipping 14 matching lines...) Expand all Loading... |
47 '../bench/BenchSysTimer_mach.h', | 48 '../bench/BenchSysTimer_mach.h', |
48 '../bench/BenchSysTimer_mach.cpp', | 49 '../bench/BenchSysTimer_mach.cpp', |
49 '../bench/BenchSysTimer_posix.h', | 50 '../bench/BenchSysTimer_posix.h', |
50 '../bench/BenchSysTimer_posix.cpp', | 51 '../bench/BenchSysTimer_posix.cpp', |
51 '../bench/BenchSysTimer_windows.h', | 52 '../bench/BenchSysTimer_windows.h', |
52 '../bench/BenchSysTimer_windows.cpp', | 53 '../bench/BenchSysTimer_windows.cpp', |
53 ], | 54 ], |
54 'include_dirs': [ | 55 'include_dirs': [ |
55 '../src/core', | 56 '../src/core', |
56 '../src/gpu', | 57 '../src/gpu', |
| 58 '../tools', |
57 ], | 59 ], |
58 'dependencies': [ | 60 'dependencies': [ |
59 'skia_lib.gyp:skia_lib', | 61 'skia_lib.gyp:skia_lib', |
60 ], | 62 ], |
61 'conditions': [ | 63 'conditions': [ |
62 [ 'skia_os not in ["mac", "ios"]', { | 64 [ 'skia_os not in ["mac", "ios"]', { |
63 'sources!': [ | 65 'sources!': [ |
64 '../bench/BenchSysTimer_mach.h', | 66 '../bench/BenchSysTimer_mach.h', |
65 '../bench/BenchSysTimer_mach.cpp', | 67 '../bench/BenchSysTimer_mach.cpp', |
66 ], | 68 ], |
(...skipping 20 matching lines...) Expand all Loading... |
87 ['skia_gpu == 1', { | 89 ['skia_gpu == 1', { |
88 'sources': [ | 90 'sources': [ |
89 '../bench/BenchGpuTimer_gl.h', | 91 '../bench/BenchGpuTimer_gl.h', |
90 '../bench/BenchGpuTimer_gl.cpp', | 92 '../bench/BenchGpuTimer_gl.cpp', |
91 ], | 93 ], |
92 }], | 94 }], |
93 ], | 95 ], |
94 } | 96 } |
95 ], | 97 ], |
96 } | 98 } |
OLD | NEW |