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', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 '../bench/SkBenchmark.cpp', | 98 '../bench/SkBenchmark.cpp', |
99 '../bench/SkBenchmark.h', | 99 '../bench/SkBenchmark.h', |
100 '../bench/benchmain.cpp', | 100 '../bench/benchmain.cpp', |
101 ], | 101 ], |
102 'conditions': [ | 102 'conditions': [ |
103 ['skia_gpu == 1', | 103 ['skia_gpu == 1', |
104 { | 104 { |
105 'include_dirs' : [ | 105 'include_dirs' : [ |
106 '../src/gpu', | 106 '../src/gpu', |
107 ], | 107 ], |
| 108 'dependencies': [ |
| 109 'gputest.gyp:skgputest', |
| 110 ], |
108 }, | 111 }, |
109 ], | 112 ], |
110 ], | 113 ], |
111 }, | 114 }, |
112 { | 115 { |
113 'target_name' : 'bench_timer', | 116 'target_name' : 'bench_timer', |
114 'type': 'static_library', | 117 'type': 'static_library', |
115 'sources': [ | 118 'sources': [ |
116 '../bench/BenchTimer.h', | 119 '../bench/BenchTimer.h', |
117 '../bench/BenchTimer.cpp', | 120 '../bench/BenchTimer.cpp', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 ['skia_gpu == 1', { | 161 ['skia_gpu == 1', { |
159 'sources': [ | 162 'sources': [ |
160 '../bench/BenchGpuTimer_gl.h', | 163 '../bench/BenchGpuTimer_gl.h', |
161 '../bench/BenchGpuTimer_gl.cpp', | 164 '../bench/BenchGpuTimer_gl.cpp', |
162 ], | 165 ], |
163 }], | 166 }], |
164 ], | 167 ], |
165 } | 168 } |
166 ], | 169 ], |
167 } | 170 } |
OLD | NEW |