epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build various tools. |
| 2 | # |
| 3 | # To build on Linux: |
| 4 | # ./gyp_skia tools.gyp && make tools |
| 5 | # |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 6 | { |
| 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 9 | ], |
| 10 | 'targets': [ |
| 11 | { |
| 12 | # Build all executable targets defined below. |
| 13 | 'target_name': 'tools', |
| 14 | 'type': 'none', |
| 15 | 'dependencies': [ |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 16 | 'bbh_shootout', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 17 | 'bench_pictures', |
commit-bot@chromium.org | 15ac322 | 2014-01-13 12:03:47 +0000 | [diff] [blame] | 18 | 'bench_record', |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 19 | 'bench_playback', |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 20 | 'create_test_font', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 21 | 'dump_record', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 22 | 'filter', |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 23 | 'gpuveto', |
commit-bot@chromium.org | 5ccdf01 | 2014-01-02 18:51:38 +0000 | [diff] [blame] | 24 | 'lua_app', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 25 | 'lua_pictures', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 26 | 'pinspect', |
| 27 | 'render_pdfs', |
| 28 | 'render_pictures', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 29 | 'skdiff', |
commit-bot@chromium.org | 5ccdf01 | 2014-01-02 18:51:38 +0000 | [diff] [blame] | 30 | 'skhello', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 31 | 'skpdiff', |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 32 | 'skpinfo', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 33 | 'skpmaker', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | 'skimage', |
halcanary@google.com | fed3037 | 2013-10-04 12:46:45 +0000 | [diff] [blame] | 35 | 'test_image_decoder', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 36 | ], |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 37 | 'conditions': [ |
| 38 | ['skia_shared_lib', |
| 39 | { |
| 40 | 'dependencies': [ |
| 41 | 'sklua', # This can only be built if skia is built as a shared library |
| 42 | ], |
| 43 | }, |
| 44 | ], |
| 45 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 46 | }, |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 47 | { # This would go in gm.gyp, but it's also used by skimage below. |
| 48 | 'target_name': 'gm_expectations', |
| 49 | 'type': 'static_library', |
| 50 | 'include_dirs' : [ '../src/utils/' ], |
| 51 | 'sources': [ |
| 52 | '../gm/gm_expectations.cpp', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 53 | ], |
| 54 | 'dependencies': [ |
| 55 | 'jsoncpp.gyp:jsoncpp', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 56 | 'sk_tool_utils', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 57 | 'skia_lib.gyp:skia_lib', |
| 58 | ], |
| 59 | 'direct_dependent_settings': { |
| 60 | 'include_dirs': [ '../gm/' ], |
| 61 | }, |
| 62 | }, |
| 63 | { |
| 64 | 'target_name': 'crash_handler', |
| 65 | 'type': 'static_library', |
| 66 | 'sources': [ '../tools/CrashHandler.cpp' ], |
| 67 | 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
| 68 | 'direct_dependent_settings': { |
| 69 | 'include_dirs': [ '../tools' ], |
| 70 | }, |
| 71 | 'all_dependent_settings': { |
| 72 | 'msvs_settings': { |
| 73 | 'VCLinkerTool': { |
| 74 | 'AdditionalDependencies': [ 'Dbghelp.lib' ], |
| 75 | } |
| 76 | }, |
| 77 | } |
| 78 | }, |
| 79 | { |
| 80 | 'target_name': 'resources', |
| 81 | 'type': 'static_library', |
| 82 | 'sources': [ '../tools/Resources.cpp' ], |
| 83 | 'dependencies': [ |
| 84 | 'flags.gyp:flags', |
| 85 | 'skia_lib.gyp:skia_lib', |
| 86 | ], |
| 87 | 'direct_dependent_settings': { |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 88 | 'include_dirs': [ '../tools', ], |
| 89 | }, |
| 90 | }, |
| 91 | { |
| 92 | 'target_name': 'sk_tool_utils', |
| 93 | 'type': 'static_library', |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 94 | 'sources': [ |
| 95 | '../tools/sk_tool_utils.cpp', |
| 96 | '../tools/sk_tool_utils_font.cpp', |
| 97 | ], |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 98 | 'dependencies': [ |
| 99 | 'skia_lib.gyp:skia_lib', |
| 100 | ], |
| 101 | 'direct_dependent_settings': { |
| 102 | 'include_dirs': [ '../tools', ], |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 103 | }, |
| 104 | }, |
| 105 | { |
| 106 | 'target_name' : 'timer', |
| 107 | 'type': 'static_library', |
| 108 | 'sources': [ |
| 109 | '../tools/timer/Timer.cpp', |
| 110 | '../tools/timer/TimerData.cpp', |
| 111 | ], |
| 112 | 'include_dirs': [ |
| 113 | '../src/core', |
| 114 | '../src/gpu', |
| 115 | ], |
| 116 | 'direct_dependent_settings': { |
| 117 | 'include_dirs': ['../tools/timer'], |
| 118 | }, |
| 119 | 'dependencies': [ |
| 120 | 'skia_lib.gyp:skia_lib', |
| 121 | 'jsoncpp.gyp:jsoncpp', |
| 122 | ], |
| 123 | 'conditions': [ |
| 124 | ['skia_gpu == 1', { |
| 125 | 'sources': [ '../tools/timer/GpuTimer.cpp' ], |
| 126 | }], |
| 127 | [ 'skia_os in ["mac", "ios"]', { |
| 128 | 'sources': [ '../tools/timer/SysTimer_mach.cpp' ], |
| 129 | }], |
| 130 | [ 'skia_os == "win"', { |
| 131 | 'sources': [ '../tools/timer/SysTimer_windows.cpp' ], |
| 132 | }], |
| 133 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "chromeos"]', { |
| 134 | 'sources': [ '../tools/timer/SysTimer_posix.cpp' ], |
| 135 | }], |
| 136 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 137 | 'link_settings': { 'libraries': [ '-lrt' ] }, |
| 138 | }], |
| 139 | ], |
| 140 | }, |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 141 | { |
| 142 | 'target_name': 'skdiff', |
| 143 | 'type': 'executable', |
| 144 | 'sources': [ |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 145 | '../tools/skdiff.cpp', |
| 146 | '../tools/skdiff.h', |
| 147 | '../tools/skdiff_html.cpp', |
| 148 | '../tools/skdiff_html.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 149 | '../tools/skdiff_main.cpp', |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 150 | '../tools/skdiff_utils.cpp', |
| 151 | '../tools/skdiff_utils.h', |
| 152 | ], |
| 153 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 154 | 'skia_lib.gyp:skia_lib', |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 155 | ], |
| 156 | }, |
| 157 | { |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 158 | 'target_name': 'skpdiff', |
| 159 | 'type': 'executable', |
| 160 | 'sources': [ |
| 161 | '../tools/skpdiff/skpdiff_main.cpp', |
| 162 | '../tools/skpdiff/SkDiffContext.cpp', |
| 163 | '../tools/skpdiff/SkImageDiffer.cpp', |
| 164 | '../tools/skpdiff/SkPMetric.cpp', |
| 165 | '../tools/skpdiff/skpdiff_util.cpp', |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 166 | ], |
| 167 | 'include_dirs': [ |
djsollen@google.com | efc51b7 | 2013-11-12 18:29:17 +0000 | [diff] [blame] | 168 | '../src/core/', # needed for SkTLList.h |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 169 | ], |
| 170 | 'dependencies': [ |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 171 | 'flags.gyp:flags', |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 172 | 'skia_lib.gyp:skia_lib', |
| 173 | ], |
| 174 | 'cflags': [ |
| 175 | '-O3', |
| 176 | ], |
| 177 | 'conditions': [ |
| 178 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 179 | 'link_settings': { |
| 180 | 'libraries': [ |
| 181 | '-lrt', |
| 182 | ], |
| 183 | }, |
| 184 | }], |
| 185 | ['skia_opencl', { |
| 186 | 'sources': [ |
| 187 | '../tools/skpdiff/SkCLImageDiffer.cpp', |
| 188 | '../tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp', |
| 189 | ], |
| 190 | 'conditions': [ |
| 191 | [ 'skia_os == "mac"', { |
| 192 | 'link_settings': { |
| 193 | 'libraries': [ |
| 194 | '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework', |
| 195 | ] |
| 196 | } |
| 197 | }, { |
| 198 | 'link_settings': { |
| 199 | 'libraries': [ |
| 200 | '-lOpenCL', |
| 201 | ], |
| 202 | }, |
| 203 | }], |
| 204 | ], |
| 205 | }, { # !skia_opencl |
| 206 | 'sources': [ |
| 207 | '../tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp', |
| 208 | ], |
| 209 | }], |
| 210 | ], |
| 211 | }, |
| 212 | { |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 213 | 'target_name': 'skpmaker', |
| 214 | 'type': 'executable', |
| 215 | 'sources': [ |
| 216 | '../tools/skpmaker.cpp', |
| 217 | ], |
| 218 | 'include_dirs': [ |
| 219 | '../src/core', |
| 220 | ], |
| 221 | 'dependencies': [ |
| 222 | 'flags.gyp:flags', |
| 223 | 'skia_lib.gyp:skia_lib', |
| 224 | ], |
| 225 | }, |
| 226 | { |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 227 | 'target_name': 'skimagediff', |
| 228 | 'type': 'executable', |
| 229 | 'sources': [ |
| 230 | '../tools/skdiff.cpp', |
| 231 | '../tools/skdiff.h', |
| 232 | '../tools/skdiff_html.cpp', |
| 233 | '../tools/skdiff_html.h', |
| 234 | '../tools/skdiff_image.cpp', |
| 235 | '../tools/skdiff_utils.cpp', |
| 236 | '../tools/skdiff_utils.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 237 | ], |
| 238 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 239 | 'skia_lib.gyp:skia_lib', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 240 | ], |
| 241 | }, |
| 242 | { |
| 243 | 'target_name': 'skhello', |
| 244 | 'type': 'executable', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 245 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 246 | 'skia_lib.gyp:skia_lib', |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 247 | ], |
| 248 | 'conditions': [ |
| 249 | [ 'skia_os == "nacl"', { |
| 250 | 'sources': [ |
| 251 | '../platform_tools/nacl/src/nacl_hello.cpp', |
| 252 | ], |
| 253 | }, { |
| 254 | 'sources': [ |
| 255 | '../tools/skhello.cpp', |
| 256 | ], |
| 257 | 'dependencies': [ |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 258 | 'flags.gyp:flags', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 259 | 'pdf.gyp:pdf', |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 260 | ], |
| 261 | }], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 262 | ], |
| 263 | }, |
| 264 | { |
| 265 | 'target_name': 'skimage', |
| 266 | 'type': 'executable', |
| 267 | 'sources': [ |
| 268 | '../tools/skimage_main.cpp', |
| 269 | ], |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 270 | 'include_dirs': [ |
| 271 | # For SkBitmapHasher.h |
| 272 | '../src/utils/', |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 273 | '../tools/', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 274 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 275 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 276 | 'gm_expectations', |
scroggo@google.com | b41ff95 | 2013-04-11 15:53:35 +0000 | [diff] [blame] | 277 | 'flags.gyp:flags', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 278 | 'jsoncpp.gyp:jsoncpp', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 279 | 'skia_lib.gyp:skia_lib', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 280 | ], |
| 281 | }, |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 282 | { |
| 283 | 'target_name': 'skpinfo', |
| 284 | 'type': 'executable', |
| 285 | 'sources': [ |
| 286 | '../tools/skpinfo.cpp', |
| 287 | ], |
| 288 | 'include_dirs': [ |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 289 | '../src/core/', |
| 290 | ], |
| 291 | 'dependencies': [ |
| 292 | 'flags.gyp:flags', |
| 293 | 'skia_lib.gyp:skia_lib', |
| 294 | ], |
| 295 | }, |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 296 | { |
| 297 | 'target_name': 'gpuveto', |
| 298 | 'type': 'executable', |
| 299 | 'sources': [ |
| 300 | '../tools/gpuveto.cpp', |
| 301 | '../tools/LazyDecodeBitmap.cpp', |
| 302 | ], |
| 303 | 'include_dirs': [ |
| 304 | '../src/core/', |
| 305 | '../src/images', |
| 306 | '../src/lazy', |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 307 | ], |
| 308 | 'dependencies': [ |
| 309 | 'flags.gyp:flags', |
| 310 | 'skia_lib.gyp:skia_lib', |
| 311 | ], |
| 312 | }, |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 313 | { |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 314 | 'target_name': 'lua_app', |
| 315 | 'type': 'executable', |
| 316 | 'sources': [ |
| 317 | '../tools/lua/lua_app.cpp', |
| 318 | '../src/utils/SkLua.cpp', |
| 319 | ], |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 320 | 'include_dirs': [ |
| 321 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 322 | '../src/gpu/', |
| 323 | '../src/core/', |
| 324 | ], |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 325 | 'dependencies': [ |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 326 | 'effects.gyp:effects', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 327 | 'images.gyp:images', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 328 | 'lua.gyp:lua', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 329 | 'pdf.gyp:pdf', |
| 330 | 'ports.gyp:ports', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 331 | 'skia_lib.gyp:skia_lib', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 332 | ], |
| 333 | }, |
| 334 | { |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 335 | 'target_name': 'lua_pictures', |
| 336 | 'type': 'executable', |
| 337 | 'sources': [ |
| 338 | '../tools/lua/lua_pictures.cpp', |
| 339 | '../src/utils/SkLuaCanvas.cpp', |
reed@google.com | 74ce6f0 | 2013-05-22 15:13:18 +0000 | [diff] [blame] | 340 | '../src/utils/SkLua.cpp', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 341 | ], |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 342 | 'include_dirs': [ |
| 343 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 344 | '../src/gpu/', |
| 345 | '../src/core/', |
| 346 | ], |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 347 | 'dependencies': [ |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 348 | 'effects.gyp:effects', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 349 | 'flags.gyp:flags', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 350 | 'images.gyp:images', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 351 | 'lua.gyp:lua', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 352 | 'tools.gyp:picture_renderer', |
| 353 | 'tools.gyp:picture_utils', |
mike@reedtribe.org | fb85824 | 2013-06-08 16:39:44 +0000 | [diff] [blame] | 354 | 'pdf.gyp:pdf', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 355 | 'ports.gyp:ports', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 356 | 'skia_lib.gyp:skia_lib', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 357 | ], |
| 358 | }, |
| 359 | { |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 360 | 'target_name': 'render_pictures', |
| 361 | 'type': 'executable', |
| 362 | 'sources': [ |
| 363 | '../tools/render_pictures_main.cpp', |
keyar@chromium.org | a2333d9 | 2012-07-16 17:29:16 +0000 | [diff] [blame] | 364 | ], |
| 365 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 366 | '../src/core', |
| 367 | '../src/images', |
| 368 | '../src/lazy', |
keyar@chromium.org | a2333d9 | 2012-07-16 17:29:16 +0000 | [diff] [blame] | 369 | '../src/pipe/utils/', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 370 | ], |
| 371 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 372 | 'flags.gyp:flags', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 373 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 374 | 'tools.gyp:picture_renderer', |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 375 | 'tools.gyp:picture_utils', |
| 376 | ], |
| 377 | }, |
| 378 | { |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 379 | 'target_name': 'bench_pictures', |
| 380 | 'type': 'executable', |
| 381 | 'sources': [ |
tfarina | f168b86 | 2014-06-19 12:32:29 -0700 | [diff] [blame] | 382 | '../bench/BenchLogger.cpp', |
| 383 | '../bench/BenchLogger.h', |
commit-bot@chromium.org | 37c772a | 2014-05-29 17:10:24 +0000 | [diff] [blame] | 384 | '../bench/ResultsWriter.cpp', |
| 385 | '../tools/PictureBenchmark.cpp', |
| 386 | '../tools/PictureResultsWriter.h', |
keyar@chromium.org | cf6c44c | 2012-07-09 19:37:40 +0000 | [diff] [blame] | 387 | '../tools/bench_pictures_main.cpp', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 388 | ], |
| 389 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 390 | '../src/core/', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 391 | '../bench', |
scroggo@google.com | cc69020 | 2013-03-04 19:56:21 +0000 | [diff] [blame] | 392 | '../src/lazy/', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 393 | ], |
| 394 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 395 | 'timer', |
| 396 | 'crash_handler', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 397 | 'flags.gyp:flags', |
commit-bot@chromium.org | 37c772a | 2014-05-29 17:10:24 +0000 | [diff] [blame] | 398 | 'jsoncpp.gyp:jsoncpp', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 399 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 400 | 'tools.gyp:picture_renderer', |
mtklein | 30e6e2a | 2014-06-18 11:44:15 -0700 | [diff] [blame] | 401 | 'tools.gyp:picture_utils', |
scroggo@google.com | 9a41252 | 2012-09-07 15:21:18 +0000 | [diff] [blame] | 402 | ], |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 403 | }, |
| 404 | { |
commit-bot@chromium.org | 15ac322 | 2014-01-13 12:03:47 +0000 | [diff] [blame] | 405 | 'target_name': 'bench_record', |
| 406 | 'type': 'executable', |
commit-bot@chromium.org | 16182f7 | 2014-03-28 16:08:18 +0000 | [diff] [blame] | 407 | 'sources': [ |
| 408 | '../tools/bench_record.cpp', |
| 409 | '../tools/LazyDecodeBitmap.cpp', |
| 410 | ], |
| 411 | 'include_dirs': [ |
| 412 | '../src/core/', |
| 413 | '../src/images', |
| 414 | '../src/lazy', |
| 415 | ], |
commit-bot@chromium.org | 15ac322 | 2014-01-13 12:03:47 +0000 | [diff] [blame] | 416 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 417 | 'timer', |
commit-bot@chromium.org | 15ac322 | 2014-01-13 12:03:47 +0000 | [diff] [blame] | 418 | 'flags.gyp:flags', |
| 419 | 'skia_lib.gyp:skia_lib', |
| 420 | ], |
| 421 | }, |
| 422 | { |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 423 | 'target_name': 'bench_playback', |
| 424 | 'type': 'executable', |
| 425 | 'sources': [ |
| 426 | '../tools/bench_playback.cpp', |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 427 | ], |
| 428 | 'include_dirs': [ |
| 429 | '../src/core/', |
| 430 | '../src/images', |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 431 | ], |
| 432 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 433 | 'timer', |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 434 | 'flags.gyp:flags', |
| 435 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | ba73d28 | 2014-04-11 15:53:39 +0000 | [diff] [blame] | 436 | ], |
| 437 | }, |
| 438 | { |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 439 | 'target_name': 'dump_record', |
| 440 | 'type': 'executable', |
| 441 | 'sources': [ |
| 442 | '../tools/dump_record.cpp', |
commit-bot@chromium.org | 85fd193 | 2014-05-15 16:10:37 +0000 | [diff] [blame] | 443 | '../tools/DumpRecord.cpp', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 444 | '../tools/LazyDecodeBitmap.cpp', |
| 445 | ], |
| 446 | 'include_dirs': [ |
| 447 | '../src/core/', |
| 448 | '../src/images', |
| 449 | '../src/lazy', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 450 | ], |
| 451 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 452 | 'timer', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 453 | 'flags.gyp:flags', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 454 | 'skia_lib.gyp:skia_lib', |
| 455 | ], |
| 456 | }, |
| 457 | { |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 458 | 'target_name': 'picture_renderer', |
| 459 | 'type': 'static_library', |
| 460 | 'sources': [ |
commit-bot@chromium.org | 90c0fbd | 2014-05-09 03:18:41 +0000 | [diff] [blame] | 461 | '../tools/image_expectations.h', |
| 462 | '../tools/image_expectations.cpp', |
commit-bot@chromium.org | 56799e2 | 2013-07-16 18:21:46 +0000 | [diff] [blame] | 463 | '../tools/LazyDecodeBitmap.cpp', |
scroggo@google.com | 4a26d9d | 2012-11-07 18:01:46 +0000 | [diff] [blame] | 464 | '../tools/PictureRenderer.h', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 465 | '../tools/PictureRenderer.cpp', |
scroggo@google.com | 161e1ba | 2013-03-04 16:41:06 +0000 | [diff] [blame] | 466 | '../tools/PictureRenderingFlags.h', |
| 467 | '../tools/PictureRenderingFlags.cpp', |
scroggo@google.com | 4a26d9d | 2012-11-07 18:01:46 +0000 | [diff] [blame] | 468 | '../tools/CopyTilesRenderer.h', |
| 469 | '../tools/CopyTilesRenderer.cpp', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 470 | '../src/pipe/utils/SamplePipeControllers.h', |
| 471 | '../src/pipe/utils/SamplePipeControllers.cpp', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 472 | ], |
| 473 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 474 | '../src/core', |
| 475 | '../src/images', |
| 476 | '../src/lazy', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 477 | '../src/pipe/utils/', |
| 478 | '../src/utils/', |
| 479 | ], |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 480 | 'direct_dependent_settings': { |
| 481 | 'include_dirs': [ |
commit-bot@chromium.org | 90c0fbd | 2014-05-09 03:18:41 +0000 | [diff] [blame] | 482 | # needed for JSON headers used within image_expectations.h |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 483 | '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 484 | '../third_party/externals/jsoncpp/include/', |
| 485 | ], |
| 486 | }, |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 487 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 488 | 'flags.gyp:flags', |
| 489 | 'jsoncpp.gyp:jsoncpp', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 490 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 491 | 'tools.gyp:picture_utils', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 492 | ], |
robertphillips@google.com | fe1b536 | 2013-02-07 19:45:46 +0000 | [diff] [blame] | 493 | 'conditions': [ |
| 494 | ['skia_gpu == 1', |
| 495 | { |
| 496 | 'include_dirs' : [ |
| 497 | '../src/gpu', |
| 498 | ], |
robertphillips@google.com | 94d8f1e | 2013-12-18 17:25:33 +0000 | [diff] [blame] | 499 | 'dependencies': [ |
| 500 | 'gputest.gyp:skgputest', |
| 501 | ], |
robertphillips@google.com | fe1b536 | 2013-02-07 19:45:46 +0000 | [diff] [blame] | 502 | }, |
| 503 | ], |
| 504 | ], |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 505 | }, |
| 506 | { |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 507 | 'target_name': 'render_pdfs', |
| 508 | 'type': 'executable', |
| 509 | 'sources': [ |
| 510 | '../tools/render_pdfs_main.cpp', |
| 511 | '../tools/PdfRenderer.cpp', |
| 512 | '../tools/PdfRenderer.h', |
| 513 | ], |
| 514 | 'include_dirs': [ |
| 515 | '../src/pipe/utils/', |
| 516 | '../src/utils/', |
| 517 | ], |
| 518 | 'dependencies': [ |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 519 | 'pdf.gyp:pdf', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 520 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 521 | 'tools.gyp:picture_utils', |
| 522 | ], |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 523 | 'conditions': [ |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 524 | ['skia_win_debuggers_path and skia_os == "win"', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 525 | { |
| 526 | 'dependencies': [ |
| 527 | 'tools.gyp:win_dbghelp', |
| 528 | ], |
| 529 | }, |
| 530 | ], |
| 531 | # VS static libraries don't have a linker option. We must set a global |
| 532 | # project linker option, or add it to each executable. |
| 533 | ['skia_win_debuggers_path and skia_os == "win" and ' |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 534 | 'skia_arch_width == 64', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 535 | { |
| 536 | 'msvs_settings': { |
| 537 | 'VCLinkerTool': { |
| 538 | 'AdditionalDependencies': [ |
| 539 | '<(skia_win_debuggers_path)/x64/DbgHelp.lib', |
| 540 | ], |
| 541 | }, |
| 542 | }, |
| 543 | }, |
| 544 | ], |
| 545 | ['skia_win_debuggers_path and skia_os == "win" and ' |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 546 | 'skia_arch_width == 32', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 547 | { |
| 548 | 'msvs_settings': { |
| 549 | 'VCLinkerTool': { |
| 550 | 'AdditionalDependencies': [ |
| 551 | '<(skia_win_debuggers_path)/DbgHelp.lib', |
| 552 | ], |
| 553 | }, |
| 554 | }, |
| 555 | }, |
| 556 | ], |
| 557 | ], |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 558 | }, |
| 559 | { |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 560 | 'target_name': 'picture_utils', |
| 561 | 'type': 'static_library', |
| 562 | 'sources': [ |
| 563 | '../tools/picture_utils.cpp', |
borenet@google.com | e21795e | 2012-09-14 14:34:28 +0000 | [diff] [blame] | 564 | '../tools/picture_utils.h', |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 565 | ], |
| 566 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 567 | 'skia_lib.gyp:skia_lib', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 568 | ], |
reed@google.com | e52d291 | 2013-05-15 20:01:07 +0000 | [diff] [blame] | 569 | 'direct_dependent_settings': { |
| 570 | 'include_dirs': [ |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 571 | '../tools/', |
reed@google.com | e52d291 | 2013-05-15 20:01:07 +0000 | [diff] [blame] | 572 | ], |
| 573 | }, |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 574 | }, |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 575 | { |
| 576 | 'target_name': 'pinspect', |
| 577 | 'type': 'executable', |
| 578 | 'sources': [ |
| 579 | '../tools/pinspect.cpp', |
| 580 | ], |
| 581 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 582 | 'flags.gyp:flags', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 583 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | 826ec81 | 2013-06-12 18:28:36 +0000 | [diff] [blame] | 584 | 'tools.gyp:picture_renderer', |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 585 | ], |
| 586 | }, |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 587 | { |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 588 | 'target_name': 'bbh_shootout', |
| 589 | 'type': 'executable', |
| 590 | 'include_dirs': [ |
| 591 | '../bench', |
| 592 | '../tools/' |
| 593 | ], |
| 594 | 'sources': [ |
| 595 | '../tools/bbh_shootout.cpp', |
| 596 | |
| 597 | # Bench code: |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 598 | ], |
| 599 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 600 | 'timer', |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 601 | 'flags.gyp:flags', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 602 | 'skia_lib.gyp:skia_lib', |
| 603 | 'tools.gyp:picture_renderer', |
| 604 | 'tools.gyp:picture_utils', |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 605 | ], |
| 606 | }, |
| 607 | { |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 608 | 'target_name': 'filter', |
| 609 | 'type': 'executable', |
| 610 | 'include_dirs' : [ |
| 611 | '../src/core', |
fmalita@google.com | 4df1673 | 2013-06-13 21:25:45 +0000 | [diff] [blame] | 612 | '../src/utils/debugger', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 613 | ], |
| 614 | 'sources': [ |
| 615 | '../tools/filtermain.cpp', |
fmalita@google.com | 86681b3 | 2013-06-13 20:59:14 +0000 | [diff] [blame] | 616 | '../src/utils/debugger/SkDrawCommand.h', |
| 617 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 618 | '../src/utils/debugger/SkDebugCanvas.h', |
| 619 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 620 | '../src/utils/debugger/SkObjectParser.h', |
| 621 | '../src/utils/debugger/SkObjectParser.cpp', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 622 | ], |
| 623 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 624 | 'skia_lib.gyp:skia_lib', |
djsollen@google.com | a09e883 | 2012-11-13 18:50:33 +0000 | [diff] [blame] | 625 | 'tools.gyp:picture_utils', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 626 | ], |
| 627 | }, |
halcanary@google.com | fed3037 | 2013-10-04 12:46:45 +0000 | [diff] [blame] | 628 | { |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 629 | 'target_name': 'create_test_font', |
| 630 | 'type': 'executable', |
| 631 | 'sources': [ |
| 632 | '../tools/create_test_font.cpp', |
| 633 | ], |
| 634 | 'include_dirs': [ |
| 635 | '../src/core', |
| 636 | ], |
| 637 | 'dependencies': [ |
| 638 | 'flags.gyp:flags', |
| 639 | 'skia_lib.gyp:skia_lib', |
| 640 | ], |
| 641 | }, |
| 642 | { |
halcanary@google.com | fed3037 | 2013-10-04 12:46:45 +0000 | [diff] [blame] | 643 | 'target_name': 'test_image_decoder', |
| 644 | 'type': 'executable', |
| 645 | 'sources': [ |
| 646 | '../tools/test_image_decoder.cpp', |
| 647 | ], |
| 648 | 'dependencies': [ |
| 649 | 'skia_lib.gyp:skia_lib', |
| 650 | ], |
| 651 | }, |
edisonn@google.com | 8819d1a | 2013-03-08 18:43:35 +0000 | [diff] [blame] | 652 | ], |
| 653 | 'conditions': [ |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 654 | ['skia_shared_lib', |
| 655 | { |
| 656 | 'targets': [ |
| 657 | { |
| 658 | 'target_name': 'sklua', |
| 659 | 'product_name': 'skia', |
| 660 | 'product_prefix': '', |
| 661 | 'product_dir': '<(PRODUCT_DIR)/', |
| 662 | 'type': 'shared_library', |
| 663 | 'sources': [ |
| 664 | '../src/utils/SkLuaCanvas.cpp', |
| 665 | '../src/utils/SkLua.cpp', |
| 666 | ], |
| 667 | 'include_dirs': [ |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 668 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 669 | '../src/gpu/', |
| 670 | '../src/core/', |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 671 | '../third_party/lua/src/', |
| 672 | ], |
| 673 | 'dependencies': [ |
| 674 | 'lua.gyp:lua', |
| 675 | 'pdf.gyp:pdf', |
| 676 | 'skia_lib.gyp:skia_lib', |
| 677 | ], |
| 678 | 'conditions': [ |
| 679 | ['skia_os != "win"', |
| 680 | { |
| 681 | 'ldflags': [ |
| 682 | '-Wl,-rpath,\$$ORIGIN,--enable-new-dtags', |
| 683 | ], |
| 684 | }, |
| 685 | ], |
| 686 | ], |
| 687 | }, |
| 688 | ], |
| 689 | }, |
| 690 | ], |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 691 | ['skia_win_debuggers_path and skia_os == "win"', |
edisonn@google.com | 8819d1a | 2013-03-08 18:43:35 +0000 | [diff] [blame] | 692 | { |
| 693 | 'targets': [ |
| 694 | { |
| 695 | 'target_name': 'win_dbghelp', |
| 696 | 'type': 'static_library', |
| 697 | 'defines': [ |
| 698 | 'SK_CDB_PATH="<(skia_win_debuggers_path)"', |
| 699 | ], |
| 700 | 'sources': [ |
| 701 | '../tools/win_dbghelp.h', |
| 702 | '../tools/win_dbghelp.cpp', |
| 703 | ], |
| 704 | }, |
| 705 | ], |
| 706 | }, |
| 707 | ], |
bungeman@google.com | 07a69f8 | 2013-04-02 14:12:38 +0000 | [diff] [blame] | 708 | ['skia_os == "win"', |
| 709 | { |
| 710 | 'targets': [ |
| 711 | { |
| 712 | 'target_name': 'win_lcid', |
| 713 | 'type': 'executable', |
| 714 | 'sources': [ |
| 715 | '../tools/win_lcid.cpp', |
| 716 | ], |
| 717 | }, |
| 718 | ], |
| 719 | }, |
| 720 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 721 | ], |
| 722 | } |