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 'bench_timer', | 12 'bench_timer', |
13 'crash_handler.gyp:CrashHandler', | 13 'crash_handler.gyp:CrashHandler', |
14 'etc1.gyp:libetc1', | 14 'etc1.gyp:libetc1', |
15 'flags.gyp:flags', | 15 'flags.gyp:flags', |
16 'jsoncpp.gyp:jsoncpp', | 16 'jsoncpp.gyp:jsoncpp', |
17 'resources.gyp:resources', | 17 'resources.gyp:resources', |
| 18 'sk_tool_utils.gyp:sk_tool_utils', |
18 'skia_lib.gyp:skia_lib', | 19 'skia_lib.gyp:skia_lib', |
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 ], |
(...skipping 21 matching lines...) Expand all Loading... |
59 '../bench/BenchSysTimer_mach.h', | 59 '../bench/BenchSysTimer_mach.h', |
60 '../bench/BenchSysTimer_mach.cpp', | 60 '../bench/BenchSysTimer_mach.cpp', |
61 '../bench/BenchSysTimer_posix.h', | 61 '../bench/BenchSysTimer_posix.h', |
62 '../bench/BenchSysTimer_posix.cpp', | 62 '../bench/BenchSysTimer_posix.cpp', |
63 '../bench/BenchSysTimer_windows.h', | 63 '../bench/BenchSysTimer_windows.h', |
64 '../bench/BenchSysTimer_windows.cpp', | 64 '../bench/BenchSysTimer_windows.cpp', |
65 ], | 65 ], |
66 'include_dirs': [ | 66 'include_dirs': [ |
67 '../src/core', | 67 '../src/core', |
68 '../src/gpu', | 68 '../src/gpu', |
69 '../tools', | |
70 ], | 69 ], |
71 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
72 'include_dirs': ['../bench'], | 71 'include_dirs': ['../bench'], |
73 }, | 72 }, |
74 'dependencies': [ | 73 'dependencies': [ |
75 'skia_lib.gyp:skia_lib', | 74 'skia_lib.gyp:skia_lib', |
76 ], | 75 ], |
77 'conditions': [ | 76 'conditions': [ |
78 [ 'skia_os not in ["mac", "ios"]', { | 77 [ 'skia_os not in ["mac", "ios"]', { |
79 'sources!': [ | 78 'sources!': [ |
(...skipping 23 matching lines...) Expand all Loading... |
103 ['skia_gpu == 1', { | 102 ['skia_gpu == 1', { |
104 'sources': [ | 103 'sources': [ |
105 '../bench/BenchGpuTimer_gl.h', | 104 '../bench/BenchGpuTimer_gl.h', |
106 '../bench/BenchGpuTimer_gl.cpp', | 105 '../bench/BenchGpuTimer_gl.cpp', |
107 ], | 106 ], |
108 }], | 107 }], |
109 ], | 108 ], |
110 } | 109 } |
111 ], | 110 ], |
112 } | 111 } |
OLD | NEW |